Visual Servoing Platform
version 3.5.0 under development (2022-02-15)
|
Functions | |
VISP_EXPORT void | vp::unsharpMask (vpImage< unsigned char > &I, float sigma, double weight=0.6) |
VISP_EXPORT void | vp::unsharpMask (const vpImage< unsigned char > &I, vpImage< unsigned char > &Ires, float sigma, double weight=0.6) |
VISP_EXPORT void | vp::unsharpMask (vpImage< vpRGBa > &I, float sigma, double weight=0.6) |
VISP_EXPORT void | vp::unsharpMask (const vpImage< vpRGBa > &I, vpImage< vpRGBa > &Ires, float sigma, double weight=0.6) |
Deprecated functions | |
vp_deprecated VISP_EXPORT void | vp::unsharpMask (vpImage< unsigned char > &I, unsigned int size=7, double weight=0.6) |
vp_deprecated VISP_EXPORT void | vp::unsharpMask (const vpImage< unsigned char > &I, vpImage< unsigned char > &Ires, unsigned int size=7, double weight=0.6) |
vp_deprecated VISP_EXPORT void | vp::unsharpMask (vpImage< vpRGBa > &I, unsigned int size=7, double weight=0.6) |
vp_deprecated 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 719 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 747 of file vpImgproc.cpp.
References vpImage< Type >::bitmap, vpImageFilter::gaussianBlur(), vpImage< Type >::getSize(), and 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 783 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 821 of file vpImgproc.cpp.
References vpRGBa::B, vpImage< Type >::bitmap, vpRGBa::G, vpImageFilter::gaussianBlur(), vpImage< Type >::getSize(), vpRGBa::R, vpImageConvert::split(), and vp::unsharpMask().
void vp::unsharpMask | ( | vpImage< unsigned char > & | I, |
float | sigma, | ||
double | weight = 0.6 |
||
) |
Sharpen a grayscale image using the unsharp mask technique.
I | : The grayscale image to sharpen. |
sigma | : Standard deviation for Gaussian kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 625 of file vpImgproc.cpp.
References vpImage< Type >::bitmap, vpImage< Type >::getHeight(), vpImage< Type >::getSize(), and vpImage< Type >::getWidth().
void vp::unsharpMask | ( | const vpImage< unsigned char > & | I1, |
vpImage< unsigned char > & | I2, | ||
float | sigma, | ||
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. |
sigma | : Standard deviation for Gaussian kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 651 of file vpImgproc.cpp.
References vp::unsharpMask().
Sharpen a color image using the unsharp mask technique.
I | : The color image to sharpen. |
sigma | : Standard deviation for Gaussian kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 668 of file vpImgproc.cpp.
References vpRGBa::B, vpImage< Type >::bitmap, vpRGBa::G, vpImage< Type >::getHeight(), vpImage< Type >::getSize(), vpImage< Type >::getWidth(), and vpRGBa::R.
void vp::unsharpMask | ( | const vpImage< vpRGBa > & | I1, |
vpImage< vpRGBa > & | I2, | ||
float | sigma, | ||
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. |
sigma | : Standard deviation for Gaussian kernel. |
weight | : Weight (between [0 - 1[) for the sharpening process. |
Definition at line 699 of file vpImgproc.cpp.
References vp::unsharpMask().