![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Algorithm for image 3d erosion. More...
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::erode3dImg (const image::ImageConstPtr &pInImg3d, const StructuringElementXYZInfoConstPtr &pInSEXYZ) |
| wrapper function for Algorithm for image 3d erosion More... | |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::erode3dImg (const image::ImageConstPtr &pInImg3d, const StructuringElementXYZInfoConstPtr &pInSEXYZ, const image::ImagePtr &pOutImg) |
| wrapper function for Algorithm for image 3d erosion More... | |
Algorithm for image 3d erosion.
Erosion and dilation are the two fundamental morphological operations.
These operations use a flat (with values in [0, 1]) structuring element combined to a Minkowski sum (in case of dilation) or subtraction (in case of erosion).
In erosion 3d case with an input image
and an input flat structuring element
, Minkowski subtraction is given by :
with
In binary cases, this equation can be reexpressed as :
In grayscale cases, this equation can be reexpressed as :
Here is an example of a erosion 3d extraction operation applied to a binary input image with a spherical structuring element with radius 3 :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InSEXYZ | [Input] structuring element xyz for processing operation | X |
| ipsdk::imaproc::attr::OutOptWk1Img | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg3d) |
Global rule description for algorithm :
((ipsdk::imaproc::matchSizeAndType (_pInImg3d,_pOutImg)) &&
(ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::customImageProperty (_pOutOptWk1Img,
matchSEMorphology (_pInImg3d,_pInSEXYZ)))))
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::erode3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const StructuringElementXYZInfoConstPtr & | pInSEXYZ | ||
| ) |
wrapper function for Algorithm for image 3d erosion
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBASICMORPHOLOGY_API void ipsdk::imaproc::morpho::erode3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const StructuringElementXYZInfoConstPtr & | pInSEXYZ, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Algorithm for image 3d erosion
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14