Visual Servoing Platform
version 3.6.1 under development (2024-10-15)
|
Classes | |
class | vpDirection |
struct | vpContour |
Typedefs | |
typedef enum VISP_NAMESPACE_NAME::vpGammaMethod | vpGammaMethod |
typedef enum VISP_NAMESPACE_NAME::vpGammaColorHandling | vpGammaColorHandling |
Enumerations | |
enum | vpDirectionType { NORTH , NORTH_EAST , EAST , SOUTH_EAST , SOUTH , SOUTH_WEST , WEST , NORTH_WEST , LAST_DIRECTION } |
enum | vpContourType { CONTOUR_OUTER , CONTOUR_HOLE } |
enum | vpContourRetrievalType { CONTOUR_RETR_TREE , CONTOUR_RETR_LIST , CONTOUR_RETR_EXTERNAL } |
enum | RETINEX_LEVEL { RETINEX_UNIFORM = 0 , RETINEX_LOW = 1 , RETINEX_HIGH = 2 } |
enum | vpAutoThresholdMethod { AUTO_THRESHOLD_HUANG , AUTO_THRESHOLD_INTERMODES , AUTO_THRESHOLD_ISODATA , AUTO_THRESHOLD_MEAN , AUTO_THRESHOLD_OTSU , AUTO_THRESHOLD_TRIANGLE } |
enum | vpGammaMethod { GAMMA_MANUAL = 0 , GAMMA_LOG_BASED = 1 , GAMMA_NONLINEAR_BASED = 2 , GAMMA_CDF_BASED = 3 , GAMMA_CLASSIFICATION_BASED = 4 , GAMMA_SPATIAL_VARIANT_BASED = 5 , GAMMA_METHOD_COUNT = 6 } |
enum | vpGammaColorHandling { GAMMA_RGB = 0 , GAMMA_HSV = 1 , GAMMA_COLOR_HANDLING_COUNT = 2 } |
Functions | |
VISP_EXPORT void | eigen2visp (const Eigen::MatrixXd &src, vpMatrix &dst) |
VISP_EXPORT void | eigen2visp (const Eigen::MatrixXd &src, vpHomogeneousMatrix &dst) |
template<typename Type > | |
void | eigen2visp (const Eigen::Quaternion< Type > &src, vpQuaternionVector &dst) |
template<typename Type > | |
void | eigen2visp (const Eigen::AngleAxis< Type > &src, vpThetaUVector &dst) |
VISP_EXPORT void | eigen2visp (const Eigen::VectorXd &src, vpColVector &dst) |
VISP_EXPORT void | eigen2visp (const Eigen::RowVectorXd &src, vpRowVector &dst) |
template<typename Derived > | |
void | visp2eigen (const vpMatrix &src, Eigen::MatrixBase< Derived > &dst) |
template<typename Derived > | |
void | visp2eigen (const vpHomogeneousMatrix &src, Eigen::MatrixBase< Derived > &dst) |
template<typename Type > | |
void | visp2eigen (const vpQuaternionVector &src, Eigen::Quaternion< Type > &dst) |
template<typename Type > | |
void | visp2eigen (const vpThetaUVector &src, Eigen::AngleAxis< Type > &dst) |
VISP_EXPORT void | visp2eigen (const vpColVector &src, Eigen::VectorXd &dst) |
VISP_EXPORT void | visp2eigen (const vpRowVector &src, Eigen::RowVectorXd &dst) |
VISP_EXPORT void | drawContours (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const std::vector< std::vector< VISP_NAMESPACE_ADDRESSING vpImagePoint > > &contours, unsigned char grayValue=255) |
VISP_EXPORT void | drawContours (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, const std::vector< std::vector< VISP_NAMESPACE_ADDRESSING vpImagePoint > > &contours, const VISP_NAMESPACE_ADDRESSING vpColor &color) |
VISP_EXPORT void | findContours (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I_original, vpContour &contours, std::vector< std::vector< VISP_NAMESPACE_ADDRESSING vpImagePoint > > &contourPts, const vpContourRetrievalType &retrievalMode=CONTOUR_RETR_TREE) |
VISP_EXPORT std::string | vpGammaMethodList (const std::string &pref="<", const std::string &sep=" , ", const std::string &suf=">") |
VISP_EXPORT std::string | vpGammaMethodToString (const vpGammaMethod &type) |
VISP_EXPORT vpGammaMethod | vpGammaMethodFromString (const std::string &name) |
VISP_EXPORT std::string | vpGammaColorHandlingList (const std::string &pref="<", const std::string &sep=" , ", const std::string &suf=">") |
VISP_EXPORT std::string | vpGammaColorHandlingToString (const vpGammaColorHandling &type) |
VISP_EXPORT vpGammaColorHandling | vpGammaColorHandlingFromString (const std::string &name) |
VISP_EXPORT void | adjust (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, double alpha, double beta) |
VISP_EXPORT void | adjust (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I1, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I2, double alpha, double beta) |
VISP_EXPORT void | adjust (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, const double alpha, double beta) |
VISP_EXPORT void | adjust (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2, double alpha, double beta) |
VISP_EXPORT void | clahe (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I1, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I2, int blockRadius=150, int bins=256, float slope=3.0f, bool fast=true) |
VISP_EXPORT void | clahe (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2, int blockRadius=150, int bins=256, float slope=3.0f, bool fast=true) |
VISP_EXPORT void | equalizeHistogram (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const VISP_NAMESPACE_ADDRESSING vpImage< bool > *p_mask=nullptr) |
VISP_EXPORT void | equalizeHistogram (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I1, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I2, const VISP_NAMESPACE_ADDRESSING vpImage< bool > *p_mask=nullptr) |
VISP_EXPORT void | equalizeHistogram (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, bool useHSV=false) |
VISP_EXPORT void | equalizeHistogram (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2, bool useHSV=false) |
VISP_EXPORT void | gammaCorrection (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const float &gamma, const vpGammaMethod &method=GAMMA_MANUAL, const VISP_NAMESPACE_ADDRESSING vpImage< bool > *p_mask=nullptr) |
VISP_EXPORT void | gammaCorrection (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I1, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I2, const float &gamma, const vpGammaMethod &method=GAMMA_MANUAL, const VISP_NAMESPACE_ADDRESSING vpImage< bool > *p_mask=nullptr) |
VISP_EXPORT void | gammaCorrection (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, const float &gamma, const vpGammaColorHandling &colorHandling=GAMMA_RGB, const vpGammaMethod &method=GAMMA_MANUAL, const VISP_NAMESPACE_ADDRESSING vpImage< bool > *p_mask=nullptr) |
VISP_EXPORT void | gammaCorrection (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2, const float &gamma, const vpGammaColorHandling &colorHandling=GAMMA_RGB, const vpGammaMethod &method=GAMMA_MANUAL, const VISP_NAMESPACE_ADDRESSING vpImage< bool > *p_mask=nullptr) |
VISP_EXPORT void | retinex (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, int scale=240, int scaleDiv=3, int level=RETINEX_UNIFORM, double dynamic=1.2, int kernelSize=-1) |
VISP_EXPORT void | retinex (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2, int scale=240, int scaleDiv=3, int level=RETINEX_UNIFORM, double dynamic=1.2, int kernelSize=-1) |
VISP_EXPORT void | stretchContrast (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I) |
VISP_EXPORT void | stretchContrast (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I1, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I2) |
VISP_EXPORT void | stretchContrast (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I) |
VISP_EXPORT void | stretchContrast (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2) |
VISP_EXPORT void | stretchContrastHSV (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I) |
VISP_EXPORT void | stretchContrastHSV (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I1, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I2) |
VISP_EXPORT void | unsharpMask (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, float sigma, double weight=0.6) |
VISP_EXPORT void | unsharpMask (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &Ires, float sigma, double weight=0.6) |
VISP_EXPORT void | unsharpMask (VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, float sigma, double weight=0.6) |
VISP_EXPORT void | unsharpMask (const VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &I, VISP_NAMESPACE_ADDRESSING vpImage< VISP_NAMESPACE_ADDRESSING vpRGBa > &Ires, float sigma, double weight=0.6) |
VISP_EXPORT void | connectedComponents (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, VISP_NAMESPACE_ADDRESSING vpImage< int > &labels, int &nbComponents, const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType &connexity=VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4) |
VISP_EXPORT void | fillHoles (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I) |
VISP_EXPORT void | floodFill (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const VISP_NAMESPACE_ADDRESSING vpImagePoint &seedPoint, const unsigned char oldValue, const unsigned char newValue, const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType &connexity=VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4) |
VISP_EXPORT void | reconstruct (const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &marker, const VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &mask, VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &h_kp1, const VISP_NAMESPACE_ADDRESSING vpImageMorphology::vpConnexityType &connexity=VISP_NAMESPACE_ADDRESSING vpImageMorphology::CONNEXITY_4) |
VISP_EXPORT unsigned char | autoThreshold (VISP_NAMESPACE_ADDRESSING vpImage< unsigned char > &I, const vpAutoThresholdMethod &method, const unsigned char backgroundValue=0, const unsigned char foregroundValue=255) |
int | fastRound (float value) |
void | clipHistogram (const std::vector< int > &hist, std::vector< int > &clippedHist, int limit) |
void | createHistogram (int blockRadius, int bins, int blockXCenter, int blockYCenter, const vpImage< unsigned char > &I, std::vector< int > &hist) |
std::vector< float > | createTransfer (const std::vector< int > &hist, int limit, std::vector< int > &cdfs) |
float | transferValue (int v, std::vector< int > &clippedHist) |
float | transferValue (int v, const std::vector< int > &hist, std::vector< int > &clippedHist, int limit) |
bool | checkClaheInputs (const int &blockRadius, const int &bins, const unsigned int &width, const unsigned int &height) |
void | clahe (const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2, int blockRadius, int bins, float slope, bool fast) |
void | clahe (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2, int blockRadius, int bins, float slope, bool fast) |
void | getNeighbors (const vpImage< unsigned char > &I, std::queue< vpImagePoint > &listOfNeighbors, unsigned int i, unsigned int j, const vpImageMorphology::vpConnexityType &connexity) |
void | visitNeighbors (vpImage< unsigned char > &I_copy, std::queue< vpImagePoint > &listOfNeighbors, vpImage< int > &labels, int current_label, const vpImageMorphology::vpConnexityType &connexity) |
void | connectedComponents (const vpImage< unsigned char > &I, vpImage< int > &labels, int &nbComponents, const vpImageMorphology::vpConnexityType &connexity) |
bool | fromTo (const vpImagePoint &from, const vpImagePoint &to, vpDirection &direction) |
bool | crossesEastBorder (const vpImage< int > &I, bool checked[8], const vpImagePoint &point) |
void | addContourPoint (vpImage< int > &I, vpContour *border, const vpImagePoint &point, bool checked[8], int nbd) |
void | followBorder (vpImage< int > &I, const vpImagePoint &ij, vpImagePoint &i2j2, vpContour *border, int nbd) |
bool | isOuterBorderStart (const vpImage< int > &I, unsigned int i, unsigned int j) |
bool | isHoleBorderStart (const vpImage< int > &I, unsigned int i, unsigned int j) |
void | getContoursList (const vpContour &root, int level, vpContour &contour_list) |
void | drawContours (vpImage< unsigned char > &I, const std::vector< std::vector< vpImagePoint > > &contours, unsigned char grayValue) |
void | drawContours (vpImage< vpRGBa > &I, const std::vector< std::vector< vpImagePoint > > &contours, const vpColor &color) |
void | findContours (const vpImage< unsigned char > &I_original, vpContour &contours, std::vector< std::vector< vpImagePoint > > &contourPts, const vpContourRetrievalType &retrievalMode) |
void | floodFill (vpImage< unsigned char > &I, const vpImagePoint &seedPoint, const unsigned char oldValue, const unsigned char newValue, const vpImageMorphology::vpConnexityType &connexity) |
void | adjust (vpImage< unsigned char > &I, double alpha, double beta) |
void | adjust (const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2, double alpha, double beta) |
void | adjust (vpImage< vpRGBa > &I, double alpha, double beta) |
void | adjust (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2, double alpha, double beta) |
void | equalizeHistogram (vpImage< unsigned char > &I, const vpImage< bool > *p_mask) |
void | equalizeHistogram (const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2, const vpImage< bool > *p_mask) |
void | equalizeHistogram (vpImage< vpRGBa > &I, bool useHSV) |
void | equalizeHistogram (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2, bool useHSV) |
void | gammaCorrectionLogMethod (vpImage< unsigned char > &I, const vpImage< bool > *p_mask) |
void | gammaCorrectionNonLinearMethod (vpImage< unsigned char > &I, const vpImage< bool > *p_mask) |
void | gammaCorrectionClassBasedMethod (vpImage< unsigned char > &I, const vpImage< bool > *p_mask) |
void | gammaCorrectionProbBasedMethod (vpImage< unsigned char > &I, const vpImage< bool > *p_mask) |
void | gammaCorrectionSpatialBased (vpImage< unsigned char > &I, const vpImage< bool > *p_mask) |
void | gammaCorrectionSpatialBased (vpImage< vpRGBa > &I, const vpImage< bool > *p_mask) |
void | gammaCorrection (vpImage< unsigned char > &I, const float &gamma, const vpGammaMethod &method, const vpImage< bool > *p_mask) |
void | gammaCorrection (const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2, const float &gamma, const vpGammaMethod &method, const vpImage< bool > *p_mask) |
void | gammaCorrection (vpImage< vpRGBa > &I, const float &gamma, const vpGammaColorHandling &colorHandling, const vpGammaMethod &method, const vpImage< bool > *p_mask) |
void | gammaCorrection (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2, const float &gamma, const vpGammaColorHandling &colorHandling, const vpGammaMethod &method, const vpImage< bool > *p_mask) |
void | stretchContrast (vpImage< unsigned char > &I) |
void | stretchContrast (const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2) |
void | stretchContrast (vpImage< vpRGBa > &I) |
void | stretchContrast (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2) |
void | stretchContrastHSV (vpImage< vpRGBa > &I) |
void | stretchContrastHSV (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2) |
void | unsharpMask (vpImage< unsigned char > &I, float sigma, double weight) |
void | unsharpMask (const vpImage< unsigned char > &I, vpImage< unsigned char > &Ires, float sigma, double weight) |
void | unsharpMask (vpImage< vpRGBa > &I, float sigma, double weight) |
void | unsharpMask (const vpImage< vpRGBa > &I, vpImage< vpRGBa > &Ires, float sigma, double weight) |
void | fillHoles (vpImage< unsigned char > &I) |
void | reconstruct (const vpImage< unsigned char > &marker, const vpImage< unsigned char > &mask, vpImage< unsigned char > &h_kp1, const vpImageMorphology::vpConnexityType &connexity) |
std::vector< double > | retinexScalesDistribution (int scaleDiv, int level, int scale) |
void | MSRCR (vpImage< vpRGBa > &I, int v_scale, int scaleDiv, int level, double dynamic, int v_kernelSize) |
void | retinex (vpImage< vpRGBa > &I, int scale, int scaleDiv, int level, const double dynamic, int kernelSize) |
void | retinex (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2, int scale, int scaleDiv, int level, double dynamic, int kernelSize) |
bool | isBimodal (const std::vector< float > &hist_float) |
int | computeThresholdHuang (const vpHistogram &hist) |
int | computeThresholdIntermodes (const vpHistogram &hist) |
int | computeThresholdIsoData (const vpHistogram &hist, unsigned int imageSize) |
int | computeThresholdMean (const vpHistogram &hist, unsigned int imageSize) |
int | computeThresholdOtsu (const vpHistogram &hist, unsigned int imageSize) |
int | computeThresholdTriangle (vpHistogram &hist) |
unsigned char | autoThreshold (vpImage< unsigned char > &I, const vpAutoThresholdMethod &method, const unsigned char backgroundValue, const unsigned char foregroundValue) |
How to handle color images when applying Gamma Correction.
Gamma Correction automatic methods.
Retinex level that allows to specifies distribution of the Gaussian blurring kernel sizes for scale division values > 2.
Enumerator | |
---|---|
RETINEX_UNIFORM | Tends to treat all image intensities similarly. |
RETINEX_LOW | Enhances dark regions of the image. |
RETINEX_HIGH | Enhances the bright regions of the image. |
Definition at line 57 of file vpImgproc.h.
Automatic thresholding method.
Enumerator | |
---|---|
AUTO_THRESHOLD_HUANG | Huang L.-K. and Wang M.-J.J. (1995) "Image Thresholding by Minimizing the Measures of Fuzziness" Pattern Recognition, 28(1): 41-51 [21] |
AUTO_THRESHOLD_INTERMODES | Prewitt, JMS & Mendelsohn, ML (1966), "The analysis of cell images", Annals of the New York Academy of Sciences 128: 1035-1053 [44] |
AUTO_THRESHOLD_ISODATA | Ridler, TW & Calvard, S (1978), "Picture thresholding using an iterative selection method", IEEE Transactions on Systems, Man and Cybernetics 8: 630-632 [45], |
AUTO_THRESHOLD_MEAN | Glasbey, CA (1993), "An analysis of histogram-based thresholding algorithms", CVGIP: Graphical Models and Image Processing 55: 532-537 [17] |
AUTO_THRESHOLD_OTSU | Otsu, N (1979), "A threshold selection method from gray-level histograms", IEEE Trans. Sys., Man., Cyber. 9: 62-66, doi:10.1109/TSMC.1979.4310076 [42] |
AUTO_THRESHOLD_TRIANGLE | Zack GW, Rogers WE, Latt SA (1977), "Automatic measurement of sister chromatid exchange frequency", J. Histochem. Cytochem. 25 (7): 741–53, PMID 70454 [53] |
Definition at line 67 of file vpImgproc.h.
Type of contour retrieval.
Definition at line 198 of file vpContours.h.
Type of contour.
Enumerator | |
---|---|
CONTOUR_OUTER | Outer contour. |
CONTOUR_HOLE | Hole contour. |
Definition at line 189 of file vpContours.h.
Possible directions to find a contour.
Definition at line 83 of file vpContours.h.
How to handle color images when applying Gamma Correction.
Definition at line 148 of file vpImgproc.h.
Gamma Correction automatic methods.
Definition at line 99 of file vpImgproc.h.
void VISP_NAMESPACE_NAME::addContourPoint | ( | vpImage< int > & | I, |
vpContour * | border, | ||
const vpImagePoint & | point, | ||
bool | checked[8], | ||
int | nbd | ||
) |
Definition at line 138 of file vpContours.cpp.
References crossesEastBorder(), vpImagePoint::get_i(), vpImagePoint::get_j(), and VISP_NAMESPACE_NAME::vpContour::m_points.
Referenced by followBorder().
void VISP_NAMESPACE_NAME::adjust | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
double | alpha, | ||
double | beta | ||
) |
Definition at line 194 of file vpImgproc.cpp.
References adjust().
void VISP_NAMESPACE_NAME::adjust | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
double | alpha, | ||
double | beta | ||
) |
Definition at line 218 of file vpImgproc.cpp.
References adjust().
void VISP_NAMESPACE_NAME::adjust | ( | vpImage< unsigned char > & | I, |
double | alpha, | ||
double | beta | ||
) |
Definition at line 181 of file vpImgproc.cpp.
References vpImage< Type >::performLut().
Definition at line 202 of file vpImgproc.cpp.
References vpRGBa::A, vpRGBa::B, vpRGBa::G, vpImage< Type >::performLut(), and vpRGBa::R.
unsigned char VISP_NAMESPACE_NAME::autoThreshold | ( | vpImage< unsigned char > & | I, |
const vpAutoThresholdMethod & | method, | ||
const unsigned char | backgroundValue, | ||
const unsigned char | foregroundValue | ||
) |
Definition at line 381 of file vpThreshold.cpp.
References AUTO_THRESHOLD_HUANG, AUTO_THRESHOLD_INTERMODES, AUTO_THRESHOLD_ISODATA, AUTO_THRESHOLD_MEAN, AUTO_THRESHOLD_OTSU, AUTO_THRESHOLD_TRIANGLE, vpImageTools::binarise(), computeThresholdHuang(), computeThresholdIntermodes(), computeThresholdIsoData(), computeThresholdMean(), computeThresholdOtsu(), computeThresholdTriangle(), and vpImage< Type >::getSize().
bool VISP_NAMESPACE_NAME::checkClaheInputs | ( | const int & | blockRadius, |
const int & | bins, | ||
const unsigned int & | width, | ||
const unsigned int & | height | ||
) |
Definition at line 206 of file vpCLAHE.cpp.
Referenced by clahe().
void VISP_NAMESPACE_NAME::clahe | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
int | blockRadius, | ||
int | bins, | ||
float | slope, | ||
bool | fast | ||
) |
Definition at line 229 of file vpCLAHE.cpp.
References checkClaheInputs(), createHistogram(), createTransfer(), fastRound(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpImage< Type >::resize(), and transferValue().
void VISP_NAMESPACE_NAME::clahe | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
int | blockRadius, | ||
int | bins, | ||
float | slope, | ||
bool | fast | ||
) |
Definition at line 423 of file vpCLAHE.cpp.
References vpImage< Type >::bitmap, clahe(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpImage< Type >::resize(), and vpImageConvert::split().
void VISP_NAMESPACE_NAME::clipHistogram | ( | const std::vector< int > & | hist, |
std::vector< int > & | clippedHist, | ||
int | limit | ||
) |
Definition at line 87 of file vpCLAHE.cpp.
Referenced by createTransfer(), and transferValue().
int VISP_NAMESPACE_NAME::computeThresholdHuang | ( | const vpHistogram & | hist | ) |
Definition at line 64 of file vpThreshold.cpp.
References vpHistogram::getSize(), and vpMath::round().
Referenced by autoThreshold().
int VISP_NAMESPACE_NAME::computeThresholdIntermodes | ( | const vpHistogram & | hist | ) |
Definition at line 136 of file vpThreshold.cpp.
References vpHistogram::getSize(), and isBimodal().
Referenced by autoThreshold().
int VISP_NAMESPACE_NAME::computeThresholdIsoData | ( | const vpHistogram & | hist, |
unsigned int | imageSize | ||
) |
Definition at line 201 of file vpThreshold.cpp.
References vpHistogram::getSize(), and vpMath::round().
Referenced by autoThreshold().
int VISP_NAMESPACE_NAME::computeThresholdMean | ( | const vpHistogram & | hist, |
unsigned int | imageSize | ||
) |
Definition at line 239 of file vpThreshold.cpp.
References vpHistogram::getSize().
Referenced by autoThreshold().
int VISP_NAMESPACE_NAME::computeThresholdOtsu | ( | const vpHistogram & | hist, |
unsigned int | imageSize | ||
) |
Definition at line 253 of file vpThreshold.cpp.
References vpHistogram::getSize(), and vpMath::nul().
Referenced by autoThreshold().
int VISP_NAMESPACE_NAME::computeThresholdTriangle | ( | vpHistogram & | hist | ) |
Definition at line 305 of file vpThreshold.cpp.
References vpHistogram::getSize(), and vpHistogram::set().
Referenced by autoThreshold().
void VISP_NAMESPACE_NAME::connectedComponents | ( | const vpImage< unsigned char > & | I, |
vpImage< int > & | labels, | ||
int & | nbComponents, | ||
const vpImageMorphology::vpConnexityType & | connexity | ||
) |
Definition at line 105 of file vpConnectedComponents.cpp.
References vpImage< Type >::getHeight(), getNeighbors(), vpImage< Type >::getSize(), vpImage< Type >::getWidth(), vpImage< Type >::resize(), and visitNeighbors().
void VISP_NAMESPACE_NAME::createHistogram | ( | int | blockRadius, |
int | bins, | ||
int | blockXCenter, | ||
int | blockYCenter, | ||
const vpImage< unsigned char > & | I, | ||
std::vector< int > & | hist | ||
) |
Definition at line 119 of file vpCLAHE.cpp.
References fastRound(), vpImage< Type >::getHeight(), and vpImage< Type >::getWidth().
Referenced by clahe().
std::vector<float> VISP_NAMESPACE_NAME::createTransfer | ( | const std::vector< int > & | hist, |
int | limit, | ||
std::vector< int > & | cdfs | ||
) |
bool VISP_NAMESPACE_NAME::crossesEastBorder | ( | const vpImage< int > & | I, |
bool | checked[8], | ||
const vpImagePoint & | point | ||
) |
Definition at line 119 of file vpContours.cpp.
References fromTo(), vpImagePoint::get_i(), vpImagePoint::get_j(), vpImage< Type >::getWidth(), and VISP_NAMESPACE_NAME::vpDirection::m_direction.
Referenced by addContourPoint().
void VISP_NAMESPACE_NAME::drawContours | ( | vpImage< unsigned char > & | I, |
const std::vector< std::vector< vpImagePoint > > & | contours, | ||
unsigned char | grayValue | ||
) |
Definition at line 258 of file vpContours.cpp.
References vpImage< Type >::getSize().
void VISP_NAMESPACE_NAME::drawContours | ( | vpImage< vpRGBa > & | I, |
const std::vector< std::vector< vpImagePoint > > & | contours, | ||
const vpColor & | color | ||
) |
Definition at line 275 of file vpContours.cpp.
References vpRGBa::B, vpRGBa::G, vpImage< Type >::getSize(), and vpRGBa::R.
void VISP_NAMESPACE_NAME::eigen2visp | ( | const Eigen::AngleAxis< Type > & | src, |
vpThetaUVector & | dst | ||
) |
Definition at line 58 of file vpEigenConversion.h.
References vpThetaUVector::buildFrom().
void VISP_NAMESPACE_NAME::eigen2visp | ( | const Eigen::MatrixXd & | src, |
vpHomogeneousMatrix & | dst | ||
) |
Definition at line 47 of file vpEigenConversion.cpp.
References vpArray2D< Type >::data, and vpException::dimensionError.
void VISP_NAMESPACE_NAME::eigen2visp | ( | const Eigen::MatrixXd & | src, |
vpMatrix & | dst | ||
) |
Definition at line 40 of file vpEigenConversion.cpp.
References vpArray2D< Type >::data, and vpArray2D< Type >::resize().
void VISP_NAMESPACE_NAME::eigen2visp | ( | const Eigen::Quaternion< Type > & | src, |
vpQuaternionVector & | dst | ||
) |
Definition at line 52 of file vpEigenConversion.h.
References vpQuaternionVector::buildFrom().
void VISP_NAMESPACE_NAME::eigen2visp | ( | const Eigen::RowVectorXd & | src, |
vpRowVector & | dst | ||
) |
Definition at line 71 of file vpEigenConversion.cpp.
References vpRowVector::resize().
void VISP_NAMESPACE_NAME::eigen2visp | ( | const Eigen::VectorXd & | src, |
vpColVector & | dst | ||
) |
Definition at line 57 of file vpEigenConversion.cpp.
References vpColVector::resize().
void VISP_NAMESPACE_NAME::equalizeHistogram | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
const vpImage< bool > * | p_mask | ||
) |
Definition at line 232 of file vpImgproc.cpp.
References vpHistogram::equalize(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and vpHistogram::setMask().
void VISP_NAMESPACE_NAME::equalizeHistogram | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
bool | useHSV | ||
) |
Definition at line 307 of file vpImgproc.cpp.
References equalizeHistogram().
void VISP_NAMESPACE_NAME::equalizeHistogram | ( | vpImage< unsigned char > & | I, |
const vpImage< bool > * | p_mask | ||
) |
Definition at line 226 of file vpImgproc.cpp.
References equalizeHistogram().
Definition at line 245 of file vpImgproc.cpp.
References vpImage< Type >::bitmap, equalizeHistogram(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpImageConvert::HSVToRGBa(), vpImageConvert::RGBaToHSV(), and vpImageConvert::split().
int VISP_NAMESPACE_NAME::fastRound | ( | float | value | ) |
Definition at line 85 of file vpCLAHE.cpp.
Referenced by clahe(), and createHistogram().
void VISP_NAMESPACE_NAME::fillHoles | ( | vpImage< unsigned char > & | I | ) |
Definition at line 45 of file vpMorph.cpp.
References floodFill(), vpImage< Type >::getHeight(), vpImage< Type >::getSize(), vpImage< Type >::getWidth(), vpImageTools::imageAdd(), vpImageTools::imageSubtract(), and reconstruct().
void VISP_NAMESPACE_NAME::findContours | ( | const vpImage< unsigned char > & | I_original, |
vpContour & | contours, | ||
std::vector< std::vector< vpImagePoint > > & | contourPts, | ||
const vpContourRetrievalType & | retrievalMode | ||
) |
Definition at line 292 of file vpContours.cpp.
References vpImage< Type >::bitmap, CONTOUR_HOLE, CONTOUR_OUTER, CONTOUR_RETR_EXTERNAL, CONTOUR_RETR_LIST, CONTOUR_RETR_TREE, followBorder(), vpImagePoint::get_i(), vpImagePoint::get_j(), getContoursList(), vpImage< Type >::getHeight(), vpImage< Type >::getSize(), vpImage< Type >::getWidth(), isHoleBorderStart(), isOuterBorderStart(), VISP_NAMESPACE_NAME::vpContour::m_children, VISP_NAMESPACE_NAME::vpContour::m_contourType, VISP_NAMESPACE_NAME::vpContour::m_parent, VISP_NAMESPACE_NAME::vpContour::m_points, vpImagePoint::set_j(), and VISP_NAMESPACE_NAME::vpContour::setParent().
void VISP_NAMESPACE_NAME::floodFill | ( | vpImage< unsigned char > & | I, |
const vpImagePoint & | seedPoint, | ||
const unsigned char | oldValue, | ||
const unsigned char | newValue, | ||
const vpImageMorphology::vpConnexityType & | connexity | ||
) |
Definition at line 72 of file vpFloodFill.cpp.
References vpImageMorphology::CONNEXITY_4, vpImagePoint::get_i(), vpImagePoint::get_j(), vpImage< Type >::getHeight(), vpImage< Type >::getSize(), and vpImage< Type >::getWidth().
void VISP_NAMESPACE_NAME::followBorder | ( | vpImage< int > & | I, |
const vpImagePoint & | ij, | ||
vpImagePoint & | i2j2, | ||
vpContour * | border, | ||
int | nbd | ||
) |
Definition at line 154 of file vpContours.cpp.
References VISP_NAMESPACE_NAME::vpDirection::active(), addContourPoint(), VISP_NAMESPACE_NAME::vpDirection::clockwise(), VISP_NAMESPACE_NAME::vpDirection::counterClockwise(), vpException::fatalError, fromTo(), vpImagePoint::get_i(), vpImagePoint::get_j(), and VISP_NAMESPACE_NAME::vpDirection::m_direction.
Referenced by findContours().
bool VISP_NAMESPACE_NAME::fromTo | ( | const vpImagePoint & | from, |
const vpImagePoint & | to, | ||
vpDirection & | direction | ||
) |
Definition at line 79 of file vpContours.cpp.
References EAST, vpImagePoint::get_i(), vpImagePoint::get_j(), VISP_NAMESPACE_NAME::vpDirection::m_direction, NORTH, NORTH_EAST, NORTH_WEST, SOUTH, SOUTH_EAST, SOUTH_WEST, and WEST.
Referenced by crossesEastBorder(), and followBorder().
void VISP_NAMESPACE_NAME::gammaCorrection | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
const float & | gamma, | ||
const vpGammaMethod & | method, | ||
const vpImage< bool > * | p_mask | ||
) |
Definition at line 661 of file vpImgproc.cpp.
References gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrection | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
const float & | gamma, | ||
const vpGammaColorHandling & | colorHandling, | ||
const vpGammaMethod & | method, | ||
const vpImage< bool > * | p_mask | ||
) |
Definition at line 709 of file vpImgproc.cpp.
References gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrection | ( | vpImage< unsigned char > & | I, |
const float & | gamma, | ||
const vpGammaMethod & | method, | ||
const vpImage< bool > * | p_mask | ||
) |
Definition at line 612 of file vpImgproc.cpp.
References vpException::badValue, GAMMA_CDF_BASED, GAMMA_CLASSIFICATION_BASED, GAMMA_LOG_BASED, GAMMA_MANUAL, GAMMA_NONLINEAR_BASED, GAMMA_SPATIAL_VARIANT_BASED, gammaCorrectionClassBasedMethod(), gammaCorrectionLogMethod(), gammaCorrectionNonLinearMethod(), gammaCorrectionProbBasedMethod(), gammaCorrectionSpatialBased(), vpImage< Type >::performLut(), and vpGammaMethodToString().
void VISP_NAMESPACE_NAME::gammaCorrection | ( | vpImage< vpRGBa > & | I, |
const float & | gamma, | ||
const vpGammaColorHandling & | colorHandling, | ||
const vpGammaMethod & | method, | ||
const vpImage< bool > * | p_mask | ||
) |
Definition at line 668 of file vpImgproc.cpp.
References vpException::badValue, vpImage< Type >::bitmap, GAMMA_HSV, GAMMA_RGB, GAMMA_SPATIAL_VARIANT_BASED, gammaCorrection(), gammaCorrectionSpatialBased(), vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), vpImageConvert::HSVToRGBa(), vpImageConvert::merge(), vpImageConvert::RGBaToHSV(), vpImageConvert::split(), and vpGammaColorHandlingToString().
void VISP_NAMESPACE_NAME::gammaCorrectionClassBasedMethod | ( | vpImage< unsigned char > & | I, |
const vpImage< bool > * | p_mask | ||
) |
This method is an implementation of the article "An adaptive gamma correction for image enhancement", Shanto Rahman, Md Mostafijur Rahman, M. Abdullah-Al-Wadud, Golam Dastegir Al-Quaderi and Mohammad Shoyaib, EURASIP Journal on Image and Video Processing (2016)
The gamma factor depends of the contrast of the image. The constant depends on the brightness of the image.
[out] | I | The image on which gamma correction must be applied. |
[in] | p_mask | Boolean that indicates which points must be taken into account (true value) or must be ignored (false value). |
Definition at line 394 of file vpImgproc.cpp.
References vpImage< Type >::getMeanValue(), vpImage< Type >::getStdev(), and vpImage< Type >::performLut().
Referenced by gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrectionLogMethod | ( | vpImage< unsigned char > & | I, |
const vpImage< bool > * | p_mask | ||
) |
This method is an implementation of the article "Towards Real-time Hardware Gamma Correction for Dynamic Contrast Enhancement" by Jesse Scott, Michael Pusateri, IEEE Applied Imagery Pattern Recognition Workshop (AIPR 2009), 2009.
The gamma factor depends on the mean of the original image and its intensity range.
[out] | I | The image on which gamma correction must be applied. |
[in] | p_mask | Boolean that indicates which points must be taken into account (true value) or must be ignored (false value). |
Definition at line 324 of file vpImgproc.cpp.
References vpImage< Type >::getMeanValue(), vpImage< Type >::getMinMaxValue(), and vpImage< Type >::performLut().
Referenced by gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrectionNonLinearMethod | ( | vpImage< unsigned char > & | I, |
const vpImage< bool > * | p_mask | ||
) |
This method is an implementation of the article "REDUCING ILLUMINATION BASED ON NONLINEAR GAMMA CORRECTION" by Yihua Shi, Jinfeng Yang, Renbiao Wu, International Conference on Image Processing · September 2007.
The gamma factor is the result of the sum of non-linear functions whose values depend on the pixel intensity.
[out] | I | The image on which gamma correction must be applied. |
[in] | p_mask | Boolean that indicates which points must be taken into account (true value) or must be ignored (false value). |
Definition at line 355 of file vpImgproc.cpp.
References vpImage< Type >::performLut().
Referenced by gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrectionProbBasedMethod | ( | vpImage< unsigned char > & | I, |
const vpImage< bool > * | p_mask | ||
) |
This technique comes from the article "Efficient Contrast Enhancement Using Adaptive Gamma Correction With Weighting Distribution" by Shih-Chia Huang, Fan-Chieh Cheng, and Yi-Sheng Chiu, IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 22, NO. 3, MARCH 2013.
It works well on globally dark images that must be brightened, but overcompensate images that are already "bright enough".
[out] | I | The image on which gamma correction must be applied. |
[in] | p_mask | Boolean that indicates which points must be taken into account (true value) or must be ignored (false value). |
Definition at line 448 of file vpImgproc.cpp.
References vpHistogram::calculate(), vpHistogram::getTotal(), vpImage< Type >::performLut(), and vpHistogram::setMask().
Referenced by gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrectionSpatialBased | ( | vpImage< unsigned char > & | I, |
const vpImage< bool > * | p_mask | ||
) |
This technique comes from the article "A Space-Variant Luminance Map based Color Image Enhancement" by Sungmok Lee, Homin Kwon, Hagyong Han, Gidong Lee, and Bongsoon Kang, IEEE Transactions on Consumer Electronics, Vol. 56, No. 4, November 2010.
[out] | I | The image on which gamma correction must be applied. |
[in] | p_mask | Boolean that indicates which points must be taken into account (true value) or must be ignored (false value). |
Definition at line 490 of file vpImgproc.cpp.
References vpImage< Type >::bitmap, vpImageFilter::gaussianBlur(), vpImage< Type >::getHeight(), vpImage< Type >::getStdev(), vpImage< Type >::getWidth(), vpImageTools::INTERPOLATION_CUBIC, vpImageTools::resize(), and vpImage< Type >::subsample().
Referenced by gammaCorrection().
void VISP_NAMESPACE_NAME::gammaCorrectionSpatialBased | ( | vpImage< vpRGBa > & | I, |
const vpImage< bool > * | p_mask | ||
) |
This technique comes from the article "A Space-Variant Luminance Map based Color Image Enhancement" by Sungmok Lee, Homin Kwon, Hagyong Han, Gidong Lee, and Bongsoon Kang, IEEE Transactions on Consumer Electronics, Vol. 56, No. 4, November 2010.
[out] | I | The image on which gamma correction must be applied. |
[in] | p_mask | Boolean that indicates which points must be taken into account (true value) or must be ignored (false value). |
Definition at line 552 of file vpImgproc.cpp.
References vpRGBa::B, vpImage< Type >::bitmap, vpRGBa::G, vpImageFilter::gaussianBlur(), vpImage< Type >::getHeight(), vpImage< Type >::getStdev(), vpImage< Type >::getWidth(), vpImageTools::INTERPOLATION_CUBIC, vpRGBa::R, vpImageTools::resize(), and vpImage< Type >::subsample().
void VISP_NAMESPACE_NAME::getContoursList | ( | const vpContour & | root, |
int | level, | ||
vpContour & | contour_list | ||
) |
Definition at line 242 of file vpContours.cpp.
References VISP_NAMESPACE_NAME::vpContour::m_children, VISP_NAMESPACE_NAME::vpContour::m_contourType, and VISP_NAMESPACE_NAME::vpContour::m_points.
Referenced by findContours().
void VISP_NAMESPACE_NAME::getNeighbors | ( | const vpImage< unsigned char > & | I, |
std::queue< vpImagePoint > & | listOfNeighbors, | ||
unsigned int | i, | ||
unsigned int | j, | ||
const vpImageMorphology::vpConnexityType & | connexity | ||
) |
Definition at line 45 of file vpConnectedComponents.cpp.
References vpImageMorphology::CONNEXITY_4.
Referenced by connectedComponents(), and visitNeighbors().
bool VISP_NAMESPACE_NAME::isBimodal | ( | const std::vector< float > & | hist_float | ) |
Definition at line 46 of file vpThreshold.cpp.
Referenced by computeThresholdIntermodes().
bool VISP_NAMESPACE_NAME::isHoleBorderStart | ( | const vpImage< int > & | I, |
unsigned int | i, | ||
unsigned int | j | ||
) |
Definition at line 237 of file vpContours.cpp.
References vpImage< Type >::getWidth().
Referenced by findContours().
bool VISP_NAMESPACE_NAME::isOuterBorderStart | ( | const vpImage< int > & | I, |
unsigned int | i, | ||
unsigned int | j | ||
) |
Definition at line 232 of file vpContours.cpp.
Referenced by findContours().
void VISP_NAMESPACE_NAME::MSRCR | ( | vpImage< vpRGBa > & | I, |
int | v_scale, | ||
int | scaleDiv, | ||
int | level, | ||
double | dynamic, | ||
int | v_kernelSize | ||
) |
Definition at line 140 of file vpRetinex.cpp.
References vpImage< Type >::bitmap, vpImageFilter::gaussianBlur(), vpImage< Type >::getHeight(), vpImage< Type >::getSize(), vpImage< Type >::getWidth(), vpMath::nul(), and retinexScalesDistribution().
Referenced by retinex().
void VISP_NAMESPACE_NAME::reconstruct | ( | const vpImage< unsigned char > & | marker, |
const vpImage< unsigned char > & | mask, | ||
vpImage< unsigned char > & | h_kp1, | ||
const vpImageMorphology::vpConnexityType & | connexity | ||
) |
Definition at line 122 of file vpMorph.cpp.
References vpImage< Type >::getHeight(), vpImage< Type >::getSize(), and vpImage< Type >::getWidth().
void VISP_NAMESPACE_NAME::retinex | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
int | scale, | ||
int | scaleDiv, | ||
int | level, | ||
double | dynamic, | ||
int | kernelSize | ||
) |
Definition at line 269 of file vpRetinex.cpp.
References retinex().
void VISP_NAMESPACE_NAME::retinex | ( | vpImage< vpRGBa > & | I, |
int | scale, | ||
int | scaleDiv, | ||
int | level, | ||
const double | dynamic, | ||
int | kernelSize | ||
) |
Definition at line 246 of file vpRetinex.cpp.
References vpImage< Type >::getHeight(), vpImage< Type >::getWidth(), and MSRCR().
std::vector<double> VISP_NAMESPACE_NAME::retinexScalesDistribution | ( | int | scaleDiv, |
int | level, | ||
int | scale | ||
) |
Definition at line 94 of file vpRetinex.cpp.
References RETINEX_HIGH, RETINEX_LOW, and RETINEX_UNIFORM.
Referenced by MSRCR().
void VISP_NAMESPACE_NAME::stretchContrast | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2 | ||
) |
Definition at line 740 of file vpImgproc.cpp.
References stretchContrast().
Definition at line 823 of file vpImgproc.cpp.
References stretchContrast().
void VISP_NAMESPACE_NAME::stretchContrast | ( | vpImage< unsigned char > & | I | ) |
Definition at line 717 of file vpImgproc.cpp.
References vpImage< Type >::getMinMaxValue(), and vpImage< Type >::performLut().
Definition at line 747 of file vpImgproc.cpp.
References vpRGBa::A, vpRGBa::B, vpRGBa::G, vpImage< Type >::getHeight(), vpImage< Type >::getMinMaxValue(), vpImage< Type >::getWidth(), vpImage< Type >::performLut(), vpRGBa::R, and vpImageConvert::split().
void VISP_NAMESPACE_NAME::stretchContrastHSV | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2 | ||
) |
Definition at line 874 of file vpImgproc.cpp.
References stretchContrastHSV().
Definition at line 830 of file vpImgproc.cpp.
References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getMinMaxValue(), vpImage< Type >::getWidth(), vpImageConvert::HSVToRGBa(), and vpImageConvert::RGBaToHSV().
float VISP_NAMESPACE_NAME::transferValue | ( | int | v, |
const std::vector< int > & | hist, | ||
std::vector< int > & | clippedHist, | ||
int | limit | ||
) |
Definition at line 199 of file vpCLAHE.cpp.
References clipHistogram(), and transferValue().
float VISP_NAMESPACE_NAME::transferValue | ( | int | v, |
std::vector< int > & | clippedHist | ||
) |
Definition at line 170 of file vpCLAHE.cpp.
Referenced by clahe(), and transferValue().
void VISP_NAMESPACE_NAME::unsharpMask | ( | const vpImage< unsigned char > & | I, |
vpImage< unsigned char > & | Ires, | ||
float | sigma, | ||
double | weight | ||
) |
Definition at line 906 of file vpImgproc.cpp.
References unsharpMask().
void VISP_NAMESPACE_NAME::unsharpMask | ( | const vpImage< vpRGBa > & | I, |
vpImage< vpRGBa > & | Ires, | ||
float | sigma, | ||
double | weight | ||
) |
Definition at line 953 of file vpImgproc.cpp.
References unsharpMask().
void VISP_NAMESPACE_NAME::unsharpMask | ( | vpImage< unsigned char > & | I, |
float | sigma, | ||
double | weight | ||
) |
Definition at line 881 of file vpImgproc.cpp.
References vpGaussianFilter::apply(), vpImage< Type >::bitmap, vpImageFilter::gaussianBlur(), vpImage< Type >::getHeight(), vpImage< Type >::getSize(), and vpImage< Type >::getWidth().
Definition at line 913 of file vpImgproc.cpp.
References vpGaussianFilter::apply(), vpRGBa::B, vpImage< Type >::bitmap, vpRGBa::G, vpImageFilter::gaussianBlur(), vpImage< Type >::getHeight(), vpImage< Type >::getSize(), vpImage< Type >::getWidth(), vpRGBa::R, and vpImageConvert::split().
void VISP_NAMESPACE_NAME::visitNeighbors | ( | vpImage< unsigned char > & | I_copy, |
std::queue< vpImagePoint > & | listOfNeighbors, | ||
vpImage< int > & | labels, | ||
int | current_label, | ||
const vpImageMorphology::vpConnexityType & | connexity | ||
) |
Definition at line 85 of file vpConnectedComponents.cpp.
References vpImagePoint::get_i(), vpImagePoint::get_j(), and getNeighbors().
Referenced by connectedComponents().
void VISP_NAMESPACE_NAME::visp2eigen | ( | const vpColVector & | src, |
Eigen::VectorXd & | dst | ||
) |
Definition at line 85 of file vpEigenConversion.cpp.
References vpArray2D< Type >::data, and vpArray2D< Type >::size().
void VISP_NAMESPACE_NAME::visp2eigen | ( | const vpHomogeneousMatrix & | src, |
Eigen::MatrixBase< Derived > & | dst | ||
) |
Definition at line 76 of file vpEigenConversion.h.
References vpArray2D< Type >::data, vpArray2D< Type >::getCols(), and vpArray2D< Type >::getRows().
void VISP_NAMESPACE_NAME::visp2eigen | ( | const vpMatrix & | src, |
Eigen::MatrixBase< Derived > & | dst | ||
) |
Definition at line 69 of file vpEigenConversion.h.
References vpArray2D< Type >::data, vpArray2D< Type >::getCols(), and vpArray2D< Type >::getRows().
void VISP_NAMESPACE_NAME::visp2eigen | ( | const vpQuaternionVector & | src, |
Eigen::Quaternion< Type > & | dst | ||
) |
Definition at line 83 of file vpEigenConversion.h.
References vpQuaternionVector::w(), vpQuaternionVector::x(), vpQuaternionVector::y(), and vpQuaternionVector::z().
void VISP_NAMESPACE_NAME::visp2eigen | ( | const vpRowVector & | src, |
Eigen::RowVectorXd & | dst | ||
) |
Definition at line 87 of file vpEigenConversion.cpp.
References vpArray2D< Type >::data, and vpArray2D< Type >::size().
void VISP_NAMESPACE_NAME::visp2eigen | ( | const vpThetaUVector & | src, |
Eigen::AngleAxis< Type > & | dst | ||
) |
Definition at line 92 of file vpEigenConversion.h.
References vpThetaUVector::getTheta(), and vpThetaUVector::getU().
vpGammaColorHandling VISP_NAMESPACE_NAME::vpGammaColorHandlingFromString | ( | const std::string & | name | ) |
Cast a string into a vpGammaColorHandling.
[in] | name | The name of the backend. |
Definition at line 164 of file vpImgproc.cpp.
References GAMMA_COLOR_HANDLING_COUNT, and vpGammaColorHandlingToString().
std::string VISP_NAMESPACE_NAME::vpGammaColorHandlingList | ( | const std::string & | pref = "<" , |
const std::string & | sep = " , " , |
||
const std::string & | suf = ">" |
||
) |
Get the list of available vpGammaColorHandling.
[in] | pref | The prefix of the list. |
[in] | sep | The separator between two elements of the list. |
[in] | suf | The suffix of the list. |
Definition at line 133 of file vpImgproc.cpp.
References GAMMA_COLOR_HANDLING_COUNT, and vpGammaColorHandlingToString().
std::string VISP_NAMESPACE_NAME::vpGammaColorHandlingToString | ( | const vpGammaColorHandling & | type | ) |
Cast a vpGammaColorHandling into a string, to know its name.
[in] | type | The type that must be casted into a string. |
Definition at line 147 of file vpImgproc.cpp.
References GAMMA_COLOR_HANDLING_COUNT, GAMMA_HSV, and GAMMA_RGB.
Referenced by gammaCorrection(), vpGammaColorHandlingFromString(), and vpGammaColorHandlingList().
vpGammaMethod VISP_NAMESPACE_NAME::vpGammaMethodFromString | ( | const std::string & | name | ) |
Cast a string into a vpGammaMethod.
[in] | name | The name of the backend. |
Definition at line 116 of file vpImgproc.cpp.
References GAMMA_METHOD_COUNT, and vpGammaMethodToString().
std::string VISP_NAMESPACE_NAME::vpGammaMethodList | ( | const std::string & | pref = "<" , |
const std::string & | sep = " , " , |
||
const std::string & | suf = ">" |
||
) |
Get the list of available vpGammaMethod.
[in] | pref | The prefix of the list. |
[in] | sep | The separator between two elements of the list. |
[in] | suf | The suffix of the list. |
Definition at line 73 of file vpImgproc.cpp.
References GAMMA_METHOD_COUNT, and vpGammaMethodToString().
std::string VISP_NAMESPACE_NAME::vpGammaMethodToString | ( | const vpGammaMethod & | type | ) |
Cast a vpGammaMethod into a string, to know its name.
[in] | type | The type that must be casted into a string. |
Definition at line 87 of file vpImgproc.cpp.
References GAMMA_CDF_BASED, GAMMA_CLASSIFICATION_BASED, GAMMA_LOG_BASED, GAMMA_MANUAL, GAMMA_METHOD_COUNT, GAMMA_NONLINEAR_BASED, and GAMMA_SPATIAL_VARIANT_BASED.
Referenced by gammaCorrection(), vpGammaMethodFromString(), and vpGammaMethodList().