![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Smooth an input image convolving it with a 2d Gaussian kernel. More...
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::gaussianSmoothing2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev) |
| wrapper function for Gaussian filter used to blur a 2d image More... | |
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::gaussianSmoothing2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDevX, const ipReal32 inStdDevY, const attr::GaussianCoverageConstPtr &pInOptSmoothingGaussianCoverage) |
| wrapper function for Gaussian filter used to blur a 2d image More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::gaussianSmoothing2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDevX, const ipReal32 inStdDevY, const attr::GaussianCoverageConstPtr &pInOptSmoothingGaussianCoverage, const image::ImagePtr &pOutImg) |
| wrapper function for Gaussian filter used to blur a 2d image More... | |
Smooth an input image convolving it with a 2d Gaussian kernel.
Used Gaussian kernel
coefficients are defined as follow :
where :
is defined by InStdDevX attribute
is defined by InStdDevY attributeSize
of this finite kernel is controlled by InOptGradientGaussianCoverage attribute.
This parameter defined the minimum distribution spread ratio which should be reach regards to an infinite Gaussian distribution.
We define for example
such that :
where :
On output image values are given by:
Input and output images must have same size.
Here is an example of a Gaussian smoothing operation applied to an 8-bits grey levels input image (with
):
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InStdDevX | [Input] standard deviation used for operation along X axis | X |
| ipsdk::imaproc::attr::InStdDevY | [Input] standard deviation used for operation along Z axis | X |
| ipsdk::imaproc::attr::InOptSmoothingGaussianCoverage | [Input Optional] Parameter allowing to specify a gaussian distribution coverage for processing | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutImg)
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::gaussianSmoothing2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev | ||
| ) |
wrapper function for Gaussian filter used to blur a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::gaussianSmoothing2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDevX, | ||
| const ipReal32 | inStdDevY, | ||
| const attr::GaussianCoverageConstPtr & | pInOptSmoothingGaussianCoverage | ||
| ) |
wrapper function for Gaussian filter used to blur a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::gaussianSmoothing2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDevX, | ||
| const ipReal32 | inStdDevY, | ||
| const attr::GaussianCoverageConstPtr & | pInOptSmoothingGaussianCoverage, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Gaussian filter used to blur a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14