Visual Servoing Platform  version 3.2.0 under development (2019-01-22)

Functions

VISP_EXPORT void vp::unsharpMask (vpImage< unsigned char > &I, const unsigned int size=7, const double weight=0.6)
 
VISP_EXPORT void vp::unsharpMask (const vpImage< unsigned char > &I, vpImage< unsigned char > &Ires, const unsigned int size=7, const double weight=0.6)
 
VISP_EXPORT void vp::unsharpMask (vpImage< vpRGBa > &I, const unsigned int size=7, const double weight=0.6)
 
VISP_EXPORT void vp::unsharpMask (const vpImage< vpRGBa > &I, vpImage< vpRGBa > &Ires, const unsigned int size=7, const double weight=0.6)
 

Detailed Description

Image sharpening.

Function Documentation

void vp::unsharpMask ( vpImage< unsigned char > &  I,
const unsigned int  size = 7,
const double  weight = 0.6 
)

Sharpen a grayscale image using the unsharp mask technique.

Parameters
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.
Examples:
testImgproc.cpp, and tutorial-contrast-sharpening.cpp.

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,
const unsigned int  size = 7,
const double  weight = 0.6 
)

Sharpen a grayscale image using the unsharp mask technique.

Parameters
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().

void vp::unsharpMask ( vpImage< vpRGBa > &  I,
const unsigned int  size = 7,
const double  weight = 0.6 
)

Sharpen a color image using the unsharp mask technique.

Parameters
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,
const unsigned int  size = 7,
const double  weight = 0.6 
)

Sharpen a color image using the unsharp mask technique.

Parameters
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().