48 #include <visp3/core/vpImage.h> 49 #include <visp3/core/vpImageMorphology.h> 50 #include <visp3/imgproc/vpContours.h> 52 #define USE_OLD_FILL_HOLE 0 93 const int bins = 256,
const float slope = 3.0f,
const bool fast =
true);
95 const int bins = 256,
const float slope = 3.0f,
const bool fast =
true);
108 const int level =
RETINEX_UNIFORM,
const double dynamic = 1.2,
const int kernelSize = -1);
110 const int level =
RETINEX_UNIFORM,
const double dynamic = 1.2,
const int kernelSize = -1);
122 const double weight = 0.6);
125 const double weight = 0.6);
132 #
if USE_OLD_FILL_HOLE
139 const unsigned char newValue,
147 const unsigned char backgroundValue = 0,
148 const unsigned char foregroundValue = 255);
VISP_EXPORT void unsharpMask(vpImage< unsigned char > &I, const unsigned int size=7, const double weight=0.6)
VISP_EXPORT void reconstruct(const vpImage< unsigned char > &marker, const vpImage< unsigned char > &mask, vpImage< unsigned char > &I, const vpImageMorphology::vpConnexityType &connexity=vpImageMorphology::CONNEXITY_4)
VISP_EXPORT void adjust(vpImage< unsigned char > &I, const double alpha, const double beta)
VISP_EXPORT void connectedComponents(const vpImage< unsigned char > &I, vpImage< int > &labels, int &nbComponents, const vpImageMorphology::vpConnexityType &connexity=vpImageMorphology::CONNEXITY_4)
VISP_EXPORT void gammaCorrection(vpImage< unsigned char > &I, const double gamma)
VISP_EXPORT void fillHoles(vpImage< unsigned char > &I)
VISP_EXPORT void stretchContrast(vpImage< unsigned char > &I)
VISP_EXPORT void stretchContrastHSV(vpImage< vpRGBa > &I)
VISP_EXPORT void floodFill(vpImage< unsigned char > &I, const vpImagePoint &seedPoint, const unsigned char oldValue, const unsigned char newValue, const vpImageMorphology::vpConnexityType &connexity=vpImageMorphology::CONNEXITY_4)
VISP_EXPORT void clahe(const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2, const int blockRadius=150, const int bins=256, const float slope=3.0f, const bool fast=true)
VISP_EXPORT unsigned char autoThreshold(vpImage< unsigned char > &I, const vp::vpAutoThresholdMethod &method, const unsigned char backgroundValue=0, const unsigned char foregroundValue=255)
VISP_EXPORT void equalizeHistogram(vpImage< unsigned char > &I)
Class that defines a 2D point in an image. This class is useful for image processing and stores only ...
VISP_EXPORT void retinex(vpImage< vpRGBa > &I, const int scale=240, const int scaleDiv=3, const int level=RETINEX_UNIFORM, const double dynamic=1.2, const int kernelSize=-1)