Visual Servoing Platform  version 3.6.1 under development (2024-11-21)
VISP_NAMESPACE_NAME Namespace Reference

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)
 

Typedef Documentation

◆ vpGammaColorHandling

How to handle color images when applying Gamma Correction.

◆ vpGammaMethod

Gamma Correction automatic methods.

Enumeration Type Documentation

◆ RETINEX_LEVEL

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.

◆ vpAutoThresholdMethod

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.

◆ vpContourRetrievalType

Type of contour retrieval.

Enumerator
CONTOUR_RETR_TREE 

Retrieve all the contours with the hierarchy stored in a tree.

CONTOUR_RETR_LIST 

Retrieve all the contours without any hierarchy.

CONTOUR_RETR_EXTERNAL 

Retrieve only external contours.

Examples
tutorial-contour.cpp.

Definition at line 198 of file vpContours.h.

◆ vpContourType

Type of contour.

Enumerator
CONTOUR_OUTER 

Outer contour.

CONTOUR_HOLE 

Hole contour.

Definition at line 189 of file vpContours.h.

◆ vpDirectionType

Possible directions to find a contour.

Enumerator
NORTH 

North direction.

NORTH_EAST 

North-East direction.

EAST 

East direction.

SOUTH_EAST 

South-East direction.

SOUTH 

South direction.

SOUTH_WEST 

South-West direction.

WEST 

West direction.

NORTH_WEST 

North-West direction.

LAST_DIRECTION 

Number of possible directions.

Definition at line 83 of file vpContours.h.

◆ vpGammaColorHandling

How to handle color images when applying Gamma Correction.

Enumerator
GAMMA_RGB 

Gamma correction is apply to Red, Blue and Green channels individually.

GAMMA_HSV 

The input image is converted into HSV space, Gamma Correction is applied to Value channel and then the image is converted back into RGBa space.

GAMMA_COLOR_HANDLING_COUNT 

Definition at line 148 of file vpImgproc.h.

◆ vpGammaMethod

Gamma Correction automatic methods.

Enumerator
GAMMA_MANUAL 

User-defined constant positive gamma factor.

GAMMA_LOG_BASED 

Scott, J & Pusateri M (2009)"Towards Real-time Hardware Gamma Correction for Dynamic Contrast Enhancement" IEEE Applied Imagery Pattern Recognition Workshop (AIPR 2009)

GAMMA_NONLINEAR_BASED 

Shi, Y et al. (2007), "Reducing Illumination Based On Nonlinear Gamma Correction", International Conference on Image Processing

GAMMA_CDF_BASED 

Huang, SC et al. (2013),"Efficient Contrast Enhancement Using Adaptive Gamma Correction With Weighting Distribution", IEEE Trans. on Image Processing, VOL. 22, NO. 3, MARCH 2013.

GAMMA_CLASSIFICATION_BASED 

Rahman, S et al. (2016), "An adaptive gamma correction for image enhancement", EURASIP Journal on Image and Video Processing

GAMMA_SPATIAL_VARIANT_BASED 

Lee, S et al. (2010), "A Space-Variant Luminance Map based Color Image Enhancement", IEEE Trans. on Consumer Electronics, Vol. 56, No. 4, November 2010.

GAMMA_METHOD_COUNT 

Definition at line 99 of file vpImgproc.h.

Function Documentation

◆ addContourPoint()

void VISP_NAMESPACE_NAME::addContourPoint ( vpImage< int > &  I,
vpContour border,
const vpImagePoint point,
bool  checked[8],
int  nbd 
)

◆ adjust() [1/4]

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().

◆ adjust() [2/4]

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().

◆ adjust() [3/4]

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().

◆ adjust() [4/4]

void VISP_NAMESPACE_NAME::adjust ( vpImage< vpRGBa > &  I,
double  alpha,
double  beta 
)

Definition at line 202 of file vpImgproc.cpp.

References vpRGBa::A, vpRGBa::B, vpRGBa::G, vpImage< Type >::performLut(), and vpRGBa::R.

◆ autoThreshold()

unsigned char VISP_NAMESPACE_NAME::autoThreshold ( vpImage< unsigned char > &  I,
const vpAutoThresholdMethod method,
const unsigned char  backgroundValue,
const unsigned char  foregroundValue 
)

◆ checkClaheInputs()

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().

◆ clahe() [1/2]

void VISP_NAMESPACE_NAME::clahe ( const vpImage< unsigned char > &  I1,
vpImage< unsigned char > &  I2,
int  blockRadius,
int  bins,
float  slope,
bool  fast 
)

◆ clahe() [2/2]

void VISP_NAMESPACE_NAME::clahe ( const vpImage< vpRGBa > &  I1,
vpImage< vpRGBa > &  I2,
int  blockRadius,
int  bins,
float  slope,
bool  fast 
)

◆ clipHistogram()

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().

◆ computeThresholdHuang()

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().

◆ computeThresholdIntermodes()

int VISP_NAMESPACE_NAME::computeThresholdIntermodes ( const vpHistogram hist)

Definition at line 136 of file vpThreshold.cpp.

References vpHistogram::getSize(), and isBimodal().

Referenced by autoThreshold().

◆ computeThresholdIsoData()

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().

◆ computeThresholdMean()

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().

◆ computeThresholdOtsu()

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().

◆ computeThresholdTriangle()

int VISP_NAMESPACE_NAME::computeThresholdTriangle ( vpHistogram hist)

Definition at line 305 of file vpThreshold.cpp.

References vpHistogram::getSize(), and vpHistogram::set().

Referenced by autoThreshold().

◆ connectedComponents()

void VISP_NAMESPACE_NAME::connectedComponents ( const vpImage< unsigned char > &  I,
vpImage< int > &  labels,
int &  nbComponents,
const vpImageMorphology::vpConnexityType connexity 
)

◆ createHistogram()

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().

◆ createTransfer()

std::vector<float> VISP_NAMESPACE_NAME::createTransfer ( const std::vector< int > &  hist,
int  limit,
std::vector< int > &  cdfs 
)

Definition at line 136 of file vpCLAHE.cpp.

References clipHistogram().

Referenced by clahe().

◆ crossesEastBorder()

bool VISP_NAMESPACE_NAME::crossesEastBorder ( const vpImage< int > &  I,
bool  checked[8],
const vpImagePoint point 
)

◆ drawContours() [1/2]

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().

◆ drawContours() [2/2]

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.

◆ eigen2visp() [1/6]

template<typename Type >
void VISP_NAMESPACE_NAME::eigen2visp ( const Eigen::AngleAxis< Type > &  src,
vpThetaUVector dst 
)

Definition at line 58 of file vpEigenConversion.h.

References vpThetaUVector::buildFrom().

◆ eigen2visp() [2/6]

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.

◆ eigen2visp() [3/6]

void VISP_NAMESPACE_NAME::eigen2visp ( const Eigen::MatrixXd &  src,
vpMatrix dst 
)

◆ eigen2visp() [4/6]

template<typename Type >
void VISP_NAMESPACE_NAME::eigen2visp ( const Eigen::Quaternion< Type > &  src,
vpQuaternionVector dst 
)

Definition at line 52 of file vpEigenConversion.h.

References vpQuaternionVector::buildFrom().

◆ eigen2visp() [5/6]

void VISP_NAMESPACE_NAME::eigen2visp ( const Eigen::RowVectorXd &  src,
vpRowVector dst 
)

Definition at line 71 of file vpEigenConversion.cpp.

References vpRowVector::resize().

◆ eigen2visp() [6/6]

void VISP_NAMESPACE_NAME::eigen2visp ( const Eigen::VectorXd &  src,
vpColVector dst 
)

Definition at line 57 of file vpEigenConversion.cpp.

References vpColVector::resize().

◆ equalizeHistogram() [1/4]

void VISP_NAMESPACE_NAME::equalizeHistogram ( const vpImage< unsigned char > &  I1,
vpImage< unsigned char > &  I2,
const vpImage< bool > *  p_mask 
)

◆ equalizeHistogram() [2/4]

void VISP_NAMESPACE_NAME::equalizeHistogram ( const vpImage< vpRGBa > &  I1,
vpImage< vpRGBa > &  I2,
bool  useHSV 
)

Definition at line 307 of file vpImgproc.cpp.

References equalizeHistogram().

◆ equalizeHistogram() [3/4]

void VISP_NAMESPACE_NAME::equalizeHistogram ( vpImage< unsigned char > &  I,
const vpImage< bool > *  p_mask 
)

Definition at line 226 of file vpImgproc.cpp.

References equalizeHistogram().

◆ equalizeHistogram() [4/4]

void VISP_NAMESPACE_NAME::equalizeHistogram ( vpImage< vpRGBa > &  I,
bool  useHSV 
)

◆ fastRound()

int VISP_NAMESPACE_NAME::fastRound ( float  value)

Definition at line 85 of file vpCLAHE.cpp.

Referenced by clahe(), and createHistogram().

◆ fillHoles()

void VISP_NAMESPACE_NAME::fillHoles ( vpImage< unsigned char > &  I)

◆ findContours()

◆ floodFill()

void VISP_NAMESPACE_NAME::floodFill ( vpImage< unsigned char > &  I,
const vpImagePoint seedPoint,
const unsigned char  oldValue,
const unsigned char  newValue,
const vpImageMorphology::vpConnexityType connexity 
)

◆ followBorder()

◆ fromTo()

bool VISP_NAMESPACE_NAME::fromTo ( const vpImagePoint from,
const vpImagePoint to,
vpDirection direction 
)

◆ gammaCorrection() [1/4]

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 660 of file vpImgproc.cpp.

References gammaCorrection().

◆ gammaCorrection() [2/4]

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 708 of file vpImgproc.cpp.

References gammaCorrection().

◆ gammaCorrection() [3/4]

◆ gammaCorrection() [4/4]

◆ gammaCorrectionClassBasedMethod()

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.

Parameters
[out]IThe image on which gamma correction must be applied.
[in]p_maskBoolean that indicates which points must be taken into account (true value) or must be ignored (false value).

Definition at line 393 of file vpImgproc.cpp.

References vpImage< Type >::getMeanValue(), vpImage< Type >::getStdev(), and vpImage< Type >::performLut().

Referenced by gammaCorrection().

◆ gammaCorrectionLogMethod()

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.

Parameters
[out]IThe image on which gamma correction must be applied.
[in]p_maskBoolean 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().

◆ gammaCorrectionNonLinearMethod()

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.

Parameters
[out]IThe image on which gamma correction must be applied.
[in]p_maskBoolean that indicates which points must be taken into account (true value) or must be ignored (false value).

Definition at line 354 of file vpImgproc.cpp.

References vpImage< Type >::performLut().

Referenced by gammaCorrection().

◆ gammaCorrectionProbBasedMethod()

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".

Parameters
[out]IThe image on which gamma correction must be applied.
[in]p_maskBoolean that indicates which points must be taken into account (true value) or must be ignored (false value).

Definition at line 447 of file vpImgproc.cpp.

References vpHistogram::calculate(), vpHistogram::getTotal(), vpImage< Type >::performLut(), and vpHistogram::setMask().

Referenced by gammaCorrection().

◆ gammaCorrectionSpatialBased() [1/2]

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.

Parameters
[out]IThe image on which gamma correction must be applied.
[in]p_maskBoolean that indicates which points must be taken into account (true value) or must be ignored (false value).

Definition at line 489 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().

◆ gammaCorrectionSpatialBased() [2/2]

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.

Parameters
[out]IThe image on which gamma correction must be applied.
[in]p_maskBoolean that indicates which points must be taken into account (true value) or must be ignored (false value).

Definition at line 551 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().

◆ getContoursList()

void VISP_NAMESPACE_NAME::getContoursList ( const vpContour root,
int  level,
vpContour contour_list 
)

◆ getNeighbors()

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().

◆ isBimodal()

bool VISP_NAMESPACE_NAME::isBimodal ( const std::vector< float > &  hist_float)

Definition at line 46 of file vpThreshold.cpp.

Referenced by computeThresholdIntermodes().

◆ isHoleBorderStart()

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().

◆ isOuterBorderStart()

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().

◆ MSRCR()

void VISP_NAMESPACE_NAME::MSRCR ( vpImage< vpRGBa > &  I,
int  v_scale,
int  scaleDiv,
int  level,
double  dynamic,
int  v_kernelSize 
)

◆ reconstruct()

void VISP_NAMESPACE_NAME::reconstruct ( const vpImage< unsigned char > &  marker,
const vpImage< unsigned char > &  mask,
vpImage< unsigned char > &  h_kp1,
const vpImageMorphology::vpConnexityType connexity 
)

◆ retinex() [1/2]

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().

◆ retinex() [2/2]

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().

◆ retinexScalesDistribution()

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().

◆ stretchContrast() [1/4]

void VISP_NAMESPACE_NAME::stretchContrast ( const vpImage< unsigned char > &  I1,
vpImage< unsigned char > &  I2 
)

Definition at line 739 of file vpImgproc.cpp.

References stretchContrast().

◆ stretchContrast() [2/4]

void VISP_NAMESPACE_NAME::stretchContrast ( const vpImage< vpRGBa > &  I1,
vpImage< vpRGBa > &  I2 
)

Definition at line 822 of file vpImgproc.cpp.

References stretchContrast().

◆ stretchContrast() [3/4]

void VISP_NAMESPACE_NAME::stretchContrast ( vpImage< unsigned char > &  I)

◆ stretchContrast() [4/4]

◆ stretchContrastHSV() [1/2]

void VISP_NAMESPACE_NAME::stretchContrastHSV ( const vpImage< vpRGBa > &  I1,
vpImage< vpRGBa > &  I2 
)

Definition at line 873 of file vpImgproc.cpp.

References stretchContrastHSV().

◆ stretchContrastHSV() [2/2]

◆ transferValue() [1/2]

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().

◆ transferValue() [2/2]

float VISP_NAMESPACE_NAME::transferValue ( int  v,
std::vector< int > &  clippedHist 
)

Definition at line 170 of file vpCLAHE.cpp.

Referenced by clahe(), and transferValue().

◆ unsharpMask() [1/4]

void VISP_NAMESPACE_NAME::unsharpMask ( const vpImage< unsigned char > &  I,
vpImage< unsigned char > &  Ires,
float  sigma,
double  weight 
)

Definition at line 905 of file vpImgproc.cpp.

References unsharpMask().

◆ unsharpMask() [2/4]

void VISP_NAMESPACE_NAME::unsharpMask ( const vpImage< vpRGBa > &  I,
vpImage< vpRGBa > &  Ires,
float  sigma,
double  weight 
)

Definition at line 952 of file vpImgproc.cpp.

References unsharpMask().

◆ unsharpMask() [3/4]

void VISP_NAMESPACE_NAME::unsharpMask ( vpImage< unsigned char > &  I,
float  sigma,
double  weight 
)

◆ unsharpMask() [4/4]

◆ visitNeighbors()

void VISP_NAMESPACE_NAME::visitNeighbors ( vpImage< unsigned char > &  I_copy,
std::queue< vpImagePoint > &  listOfNeighbors,
vpImage< int > &  labels,
int  current_label,
const vpImageMorphology::vpConnexityType connexity 
)

◆ visp2eigen() [1/6]

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().

◆ visp2eigen() [2/6]

template<typename Derived >
void VISP_NAMESPACE_NAME::visp2eigen ( const vpHomogeneousMatrix src,
Eigen::MatrixBase< Derived > &  dst 
)

◆ visp2eigen() [3/6]

template<typename Derived >
void VISP_NAMESPACE_NAME::visp2eigen ( const vpMatrix src,
Eigen::MatrixBase< Derived > &  dst 
)

◆ visp2eigen() [4/6]

template<typename Type >
void VISP_NAMESPACE_NAME::visp2eigen ( const vpQuaternionVector src,
Eigen::Quaternion< Type > &  dst 
)

◆ visp2eigen() [5/6]

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().

◆ visp2eigen() [6/6]

template<typename Type >
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().

◆ vpGammaColorHandlingFromString()

vpGammaColorHandling VISP_NAMESPACE_NAME::vpGammaColorHandlingFromString ( const std::string &  name)

Cast a string into a vpGammaColorHandling.

Parameters
[in]nameThe name of the backend.
Returns
vpGammaColorHandling The corresponding enumeration value.
Examples
tutorial-brightness-adjustment.cpp.

Definition at line 164 of file vpImgproc.cpp.

References GAMMA_COLOR_HANDLING_COUNT, and vpGammaColorHandlingToString().

◆ vpGammaColorHandlingList()

std::string VISP_NAMESPACE_NAME::vpGammaColorHandlingList ( const std::string &  pref = "<",
const std::string &  sep = " , ",
const std::string &  suf = ">" 
)

Get the list of available vpGammaColorHandling.

Parameters
[in]prefThe prefix of the list.
[in]sepThe separator between two elements of the list.
[in]sufThe suffix of the list.
Returns
std::string The list of available items.
Examples
tutorial-brightness-adjustment.cpp.

Definition at line 133 of file vpImgproc.cpp.

References GAMMA_COLOR_HANDLING_COUNT, and vpGammaColorHandlingToString().

◆ vpGammaColorHandlingToString()

std::string VISP_NAMESPACE_NAME::vpGammaColorHandlingToString ( const vpGammaColorHandling type)

Cast a vpGammaColorHandling into a string, to know its name.

Parameters
[in]typeThe type that must be casted into a string.
Returns
std::string The corresponding name.

Definition at line 147 of file vpImgproc.cpp.

References GAMMA_COLOR_HANDLING_COUNT, GAMMA_HSV, and GAMMA_RGB.

Referenced by gammaCorrection(), vpGammaColorHandlingFromString(), and vpGammaColorHandlingList().

◆ vpGammaMethodFromString()

vpGammaMethod VISP_NAMESPACE_NAME::vpGammaMethodFromString ( const std::string &  name)

Cast a string into a vpGammaMethod.

Parameters
[in]nameThe name of the backend.
Returns
vpGammaMethod The corresponding enumeration value.
Examples
tutorial-brightness-adjustment.cpp.

Definition at line 116 of file vpImgproc.cpp.

References GAMMA_METHOD_COUNT, and vpGammaMethodToString().

◆ vpGammaMethodList()

std::string VISP_NAMESPACE_NAME::vpGammaMethodList ( const std::string &  pref = "<",
const std::string &  sep = " , ",
const std::string &  suf = ">" 
)

Get the list of available vpGammaMethod.

Parameters
[in]prefThe prefix of the list.
[in]sepThe separator between two elements of the list.
[in]sufThe suffix of the list.
Returns
std::string The list of available items.
Examples
tutorial-brightness-adjustment.cpp.

Definition at line 73 of file vpImgproc.cpp.

References GAMMA_METHOD_COUNT, and vpGammaMethodToString().

◆ vpGammaMethodToString()

std::string VISP_NAMESPACE_NAME::vpGammaMethodToString ( const vpGammaMethod type)

Cast a vpGammaMethod into a string, to know its name.

Parameters
[in]typeThe type that must be casted into a string.
Returns
std::string The corresponding name.
Examples
tutorial-brightness-adjustment.cpp.

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().