Visual Servoing Platform
version 3.4.0
|
Functions | |
VISP_EXPORT void | vp::gammaCorrection (vpImage< unsigned char > &I, double gamma) |
VISP_EXPORT void | vp::gammaCorrection (const vpImage< unsigned char > &I1, vpImage< unsigned char > &I2, double gamma) |
VISP_EXPORT void | vp::gammaCorrection (vpImage< vpRGBa > &I, double gamma) |
VISP_EXPORT void | vp::gammaCorrection (const vpImage< vpRGBa > &I1, vpImage< vpRGBa > &I2, double gamma) |
Gamma correction.
void vp::gammaCorrection | ( | vpImage< unsigned char > & | I, |
double | gamma | ||
) |
Perform a gamma correction on a grayscale image.
I | : The grayscale image to apply gamma correction. |
gamma | : Gamma value. |
Definition at line 335 of file vpImgproc.cpp.
References vpException::badValue, and vpImage< Type >::performLut().
Referenced by vp::gammaCorrection().
void vp::gammaCorrection | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
double | gamma | ||
) |
Perform a gamma correction on a grayscale image.
I1 | : The first grayscale image. |
I2 | : The second grayscale image after gamma correction. |
gamma | : Gamma value. |
Definition at line 362 of file vpImgproc.cpp.
References vp::gammaCorrection().
Perform a gamma correction on a color image.
I | : The color image to apply gamma correction. |
gamma | : Gamma value. |
Definition at line 376 of file vpImgproc.cpp.
References vpRGBa::A, vpRGBa::B, vpException::badValue, vpRGBa::G, vpImage< Type >::performLut(), and vpRGBa::R.
Perform a gamma correction on a color image.
I1 | : The first color image. |
I2 | : The second color image after gamma correction. |
gamma | : Gamma value. |
Definition at line 406 of file vpImgproc.cpp.
References vp::gammaCorrection().