![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Look for 3D particular patterns of foreground and background given as structuring elements. More...
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::hitAndMiss3dImg (const image::ImageConstPtr &pInBinImg3d, const StructuringElementXYZInfoConstPtr &pInForegroundSEXYZ, const StructuringElementXYZInfoConstPtr &pInBackgroundSEXYZ) |
| wrapper function for Look for 3D particular patterns of foreground and background given as structuring elements More... | |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::hitAndMiss3dImg (const image::ImageConstPtr &pInBinImg3d, const StructuringElementXYZInfoConstPtr &pInForegroundSEXYZ, const StructuringElementXYZInfoConstPtr &pInBackgroundSEXYZ, const image::ImagePtr &pOutBinImg) |
| wrapper function for Look for 3D particular patterns of foreground and background given as structuring elements More... | |
Look for 3D particular patterns of foreground and background given as structuring elements.
The Hit and Miss, also known as Hit or Miss, is a binary morphological operation used to find a particular pattern. This algorithm generates a binary image where pixels with the value 1 (or true) match the pattern given by the foreground and background structuring elements.
The foreground structuring element contains relative coordinates in the current pixel neighbourhood whith an intensity of 1, whereas the background structuring element determines the pixels that must have an intensity of 0. If a pixel can indefferently equal 0 or 1, its coordinate is not specified. Obviously, a pixel coordinate can not appear in both structuring elements.
See HitAndMiss2dImg algorithm for 2D examples of the Hit And Miss algorithm.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InBinImg3d | [Input] binary 3d image for processing operation | X |
| ipsdk::imaproc::attr::InSEXYZ1 | [Input] first structuring element xyz for processing operation | X |
| ipsdk::imaproc::attr::InSEXYZ2 | [Input] second structuring element xyz for processing operation | X |
| ipsdk::imaproc::attr::OutBinImg | [Output] binary image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutBinImg, _pInBinImg3d) |
Global rule description for algorithm :
ipsdk::imaproc::matchSizeAndType (_pInBinImg3d,_pOutBinImg)
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::hitAndMiss3dImg | ( | const image::ImageConstPtr & | pInBinImg3d, |
| const StructuringElementXYZInfoConstPtr & | pInForegroundSEXYZ, | ||
| const StructuringElementXYZInfoConstPtr & | pInBackgroundSEXYZ | ||
| ) |
wrapper function for Look for 3D particular patterns of foreground and background given as structuring elements
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBASICMORPHOLOGY_API void ipsdk::imaproc::morpho::hitAndMiss3dImg | ( | const image::ImageConstPtr & | pInBinImg3d, |
| const StructuringElementXYZInfoConstPtr & | pInForegroundSEXYZ, | ||
| const StructuringElementXYZInfoConstPtr & | pInBackgroundSEXYZ, | ||
| const image::ImagePtr & | pOutBinImg | ||
| ) |
wrapper function for Look for 3D particular patterns of foreground and background given as structuring elements
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14