OpenCV  
Open Source Computer Vision
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
cv::intensity_transform Namespace Reference

Functions

void autoscaling (const Mat input, Mat &output)
 Given an input bgr or grayscale image, apply autoscaling on domain [0, 255] to increase the contrast of the input image and return the resulting image.
 
void BIMEF (InputArray input, OutputArray output, float k, float mu, float a, float b)
 Given an input color image, enhance low-light images using the BIMEF method ([311] [312]).
 
void BIMEF (InputArray input, OutputArray output, float mu=0.5f, float a=-0.3293f, float b=1.1258f)
 Given an input color image, enhance low-light images using the BIMEF method ([311] [312]).
 
void contrastStretching (const Mat input, Mat &output, const int r1, const int s1, const int r2, const int s2)
 Given an input bgr or grayscale image, apply linear contrast stretching on domain [0, 255] and return the resulting image.
 
void gammaCorrection (const Mat input, Mat &output, const float gamma)
 Given an input bgr or grayscale image and constant gamma, apply power-law transformation, a.k.a. gamma correction to the image on domain [0, 255] and return the resulting image.
 
void logTransform (const Mat input, Mat &output)
 Given an input bgr or grayscale image and constant c, apply log transformation to the image on domain [0, 255] and return the resulting image.