Visual Servoing Platform  version 3.2.0

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

◆ unsharpMask() [1/4]

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 648 of file vpImgproc.cpp.

◆ unsharpMask() [2/4]

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 700 of file vpImgproc.cpp.

◆ unsharpMask() [3/4]

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 623 of file vpImgproc.cpp.

◆ unsharpMask() [4/4]

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 665 of file vpImgproc.cpp.