![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Algorithm for image 2d closing. More...
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::closing2dImg (const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY) |
| wrapper function for Algorithm for image 2d closing More... | |
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::closing2dImg (const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY, const attr::eBorderExtensionPolicy &inOptBorderExtensionPolicy) |
| wrapper function for Algorithm for image 2d closing More... | |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::closing2dImg (const image::ImageConstPtr &pInImg, const StructuringElementXYInfoConstPtr &pInSEXY, const attr::eBorderExtensionPolicy &inOptBorderExtensionPolicy, const image::ImagePtr &pOutImg) |
| wrapper function for Algorithm for image 2d closing More... | |
Algorithm for image 2d closing.
Morphological closing of an image by a given structuring element InSEXY is defined as the erosion of the dilation of image by InSEXY :
See Erosion 2d and Dilation 2d respectively for more informations about these operations.
Here is an example of a closing 2d extraction operation applied to a binary input image with a circular structuring element with radius 15 :
In this example we can see that such an operation can be used to :
This morphological operation can also be used to detect oriented particules. This is illustrated with following example where a synthetic input has been processed with a linear structuring element with radius 5 and a 30 degrees orientation :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InSEXY | [Input] structuring element xy for processing operation | X |
| ipsdk::imaproc::attr::InOptBorderExtensionPolicy | [Input Optional] flag indicating border extension policy for processing | X |
| ipsdk::imaproc::attr::OutOptWk1Img | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutOptWk2Img | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg) |
Global rule description for algorithm :
((ipsdk::imaproc::matchSizeAndType (_pInImg,_pOutImg)) &&
(ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::customImageProperty (_pOutOptWk1Img,
matchBorderExtension1 (_pInImg,_pInSEXY,_pInOptBorderExtensionPolicy)))) &&
(ipsdk::processor::ifIsSet (_pOutOptWk2Img,
ipsdk::imaproc::customImageProperty (_pOutOptWk2Img,
matchBorderExtension2 (_pInImg,_pInSEXY,_pInOptBorderExtensionPolicy)))))
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::closing2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const StructuringElementXYInfoConstPtr & | pInSEXY | ||
| ) |
wrapper function for Algorithm for image 2d closing
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::closing2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const StructuringElementXYInfoConstPtr & | pInSEXY, | ||
| const attr::eBorderExtensionPolicy & | inOptBorderExtensionPolicy | ||
| ) |
wrapper function for Algorithm for image 2d closing
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBASICMORPHOLOGY_API void ipsdk::imaproc::morpho::closing2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const StructuringElementXYInfoConstPtr & | pInSEXY, | ||
| const attr::eBorderExtensionPolicy & | inOptBorderExtensionPolicy, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Algorithm for image 2d closing
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14