Visual Servoing Platform
version 3.3.0 under development (2020-02-17)
|
Functions | |
VISP_EXPORT void | vp::unsharpMask (vpImage< unsigned char > &I, unsigned int size=7, double weight=0.6) |
VISP_EXPORT void | vp::unsharpMask (const vpImage< unsigned char > &I, vpImage< unsigned char > &Ires, unsigned int size=7, double weight=0.6) |
VISP_EXPORT void | vp::unsharpMask (vpImage< vpRGBa > &I, unsigned int size=7, double weight=0.6) |
VISP_EXPORT void | vp::unsharpMask (const vpImage< vpRGBa > &I, vpImage< vpRGBa > &Ires, unsigned int size=7, double weight=0.6) |
Image sharpening.
void vp::unsharpMask | ( | vpImage< unsigned char > & | I, |
unsigned int | size = 7 , |
||
double | weight = 0.6 |
||
) |
Sharpen a grayscale image using the unsharp mask technique.
I | : The grayscale image to sharpen. |
size | : Size (must be odd) of the Gaussian blur kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 624 of file vpImgproc.cpp.
References vpImage< Type >::bitmap, vpImageFilter::gaussianBlur(), and vpImage< Type >::getSize().
Referenced by vp::unsharpMask().
void vp::unsharpMask | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
unsigned int | size = 7 , |
||
double | weight = 0.6 |
||
) |
Sharpen a grayscale image using the unsharp mask technique.
I1 | : The first input grayscale image. |
I2 | : The second output grayscale image. |
size | : Size (must be odd) of the Gaussian blur kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 649 of file vpImgproc.cpp.
References vp::unsharpMask().
Sharpen a color image using the unsharp mask technique.
I | : The color image to sharpen. |
size | : Size (must be odd) of the Gaussian blur kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 666 of file vpImgproc.cpp.
References vpRGBa::B, vpImage< Type >::bitmap, vpRGBa::G, vpImageFilter::gaussianBlur(), vpImage< Type >::getSize(), vpRGBa::R, and vpImageConvert::split().
void vp::unsharpMask | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
unsigned int | size = 7 , |
||
double | weight = 0.6 |
||
) |
Sharpen a color image using the unsharp mask technique.
I1 | : The first input color image. |
I2 | : The second output color image. |
size | : Size (must be odd) of the Gaussian blur kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 701 of file vpImgproc.cpp.
References vp::unsharpMask().