![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
laplacian algorithm of input 2d image using a difference of gaussian approximation More...
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::laplacianDoG2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev) |
| wrapper function for laplacian algorithm of input 2d image using a difference of gaussian approximation More... | |
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::laplacianDoG2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const ipReal32 inOptStdDevFactor, const attr::GaussianCoverageConstPtr &pInOptSmoothingGaussianCoverage) |
| wrapper function for laplacian algorithm of input 2d image using a difference of gaussian approximation More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::laplacianDoG2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev, const ipReal32 inOptStdDevFactor, const attr::GaussianCoverageConstPtr &pInOptSmoothingGaussianCoverage, const image::ImagePtr &pOutImg) |
| wrapper function for laplacian algorithm of input 2d image using a difference of gaussian approximation More... | |
laplacian algorithm of input 2d image using a difference of gaussian approximation
This image filter computes a blurred approximation of laplacian of an image. This is a band-pass filter which can be used to enhance edges present in an image while reducing noise. A major drawback of this filter is the resulting overall image contrast reduction. It can be combined with a zero crossing detection algorithm to automatically detect edges.
Given a gaussian smoothing operation on an input image
using standard deviation
:
(see Gaussian Smoothing 2d for more informations)
Laplacian with difference of gaussian approximation algorithm defines an excitatory (
) and an inhibitory (
) standard deviation to compute its output :
Some examples of a laplacian DoG operation applied to an 8-bits grey levels input image are presented in the following.
:
:
:
In these examples we can see that an increase of
parameter allows to reduce output image noise. This parameter has also an influence on "edge valley width" :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InStdDev | [Input] standard deviation used for operation along all axis | X |
| ipsdk::imaproc::attr::InOptStdDevFactor | [Input Optional] factor applied on standard deviation for laplacian difference of gaussian computation | 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::promoteUnary (_pOutImg, _pInImg, ePromoteUnaryType::ePUT_UpperSigned) |
| ipsdk::imaproc::attr::OutWk1Img | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1Img, _pInImg) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutImg) &&
ipsdk::imaproc::matchSizeAndType (_pInImg,_pOutWk1Img) &&
ipsdk::imaproc::noInSitu (_pInImg,_pOutWk1Img) &&
ipsdk::imaproc::noInSitu (_pOutImg,_pOutWk1Img)
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::laplacianDoG2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev | ||
| ) |
wrapper function for laplacian algorithm of input 2d image using a difference of gaussian approximation
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::laplacianDoG2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const ipReal32 | inOptStdDevFactor, | ||
| const attr::GaussianCoverageConstPtr & | pInOptSmoothingGaussianCoverage | ||
| ) |
wrapper function for laplacian algorithm of input 2d image using a difference of gaussian approximation
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::laplacianDoG2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev, | ||
| const ipReal32 | inOptStdDevFactor, | ||
| const attr::GaussianCoverageConstPtr & | pInOptSmoothingGaussianCoverage, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for laplacian algorithm of input 2d image using a difference of gaussian approximation
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14