![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Gaussian filter used to compute Hessian on a 2d image. More...
| IPSDKIPLFILTERING_API HessianXYImg | ipsdk::imaproc::filter::gaussianHessian2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDev) |
| wrapper function for Gaussian filter used to compute Hessian on a 2d image More... | |
| IPSDKIPLFILTERING_API HessianXYImg | ipsdk::imaproc::filter::gaussianHessian2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDevX, const ipReal32 inStdDevY, const attr::GaussianCoverageConstPtr &pInOptHessianGaussianCoverage) |
| wrapper function for Gaussian filter used to compute Hessian on a 2d image More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::gaussianHessian2dImg (const image::ImageConstPtr &pInImg, const ipReal32 inStdDevX, const ipReal32 inStdDevY, const attr::GaussianCoverageConstPtr &pInOptHessianGaussianCoverage, const image::ImagePtr &pOutHxxImg, const image::ImagePtr &pOutHxyImg, const image::ImagePtr &pOutHyyImg) |
| wrapper function for Gaussian filter used to compute Hessian on a 2d image More... | |
Gaussian filter used to compute Hessian on a 2d image.
Used Gaussian Hessian kernel
,
and
coefficients are defined as follow :
where
is defined by InStdDev attribute. The size
of this finite kernel is controlled by InOptGradientGaussianCoverage attribute and is at least
in each direction.
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 :
The algorithm uses a separable approach in order to reduce the number of operations. Let's consider the three 1d filters
,
and
along the x-axis:
Where
correspond to the x- or y-direction. The filters are transposed to get the filter along the y-axis.
For a given standard deviation
, the output images OutHxxImg, OutHyyImg and OutHxyImg are calculated as follows:
Where
is the convolution operator.
Here is an example of a Gaussian Hessian 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::InOptHessianGaussianCoverage | [Input Optional] Parameter allowing to specify a gaussian distribution coverage for processing | X |
| ipsdk::imaproc::attr::OutHxxImg | [Output] image of hessian (x-x axis) | promoteUnary (_pOutHxxImg, _pInImg, ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned) |
| ipsdk::imaproc::attr::OutHxyImg | [Output] image of image of hessian (x-y axis) | promoteUnary (_pOutHxyImg, _pInImg, ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned) |
| ipsdk::imaproc::attr::OutHyyImg | [Output] image of hessian (y-y axis) | promoteUnary (_pOutHyyImg, _pInImg, ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutHxxImg) &&
ipsdk::imaproc::matchSizeAndType (_pOutHxxImg,_pOutHxyImg) &&
ipsdk::imaproc::matchSizeAndType (_pOutHxxImg,_pOutHyyImg)
| IPSDKIPLFILTERING_API HessianXYImg ipsdk::imaproc::filter::gaussianHessian2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDev | ||
| ) |
wrapper function for Gaussian filter used to compute Hessian on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API HessianXYImg ipsdk::imaproc::filter::gaussianHessian2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDevX, | ||
| const ipReal32 | inStdDevY, | ||
| const attr::GaussianCoverageConstPtr & | pInOptHessianGaussianCoverage | ||
| ) |
wrapper function for Gaussian filter used to compute Hessian on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::gaussianHessian2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipReal32 | inStdDevX, | ||
| const ipReal32 | inStdDevY, | ||
| const attr::GaussianCoverageConstPtr & | pInOptHessianGaussianCoverage, | ||
| const image::ImagePtr & | pOutHxxImg, | ||
| const image::ImagePtr & | pOutHxyImg, | ||
| const image::ImagePtr & | pOutHyyImg | ||
| ) |
wrapper function for Gaussian filter used to compute Hessian on a 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14