![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Assign a new label value to the pixels determined by the input binary image. More...
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr | ipsdk::imaproc::morpho::addMarkerImg (const image::ImageConstPtr &pInLabelImg, const image::ImageConstPtr &pInBinImg, const ipUInt32 labelValue) |
| wrapper function for Assign a new label value to the pixels determined by the input binary image More... | |
| IPSDKIPLBASICMORPHOLOGY_API void | ipsdk::imaproc::morpho::addMarkerImg (const image::ImageConstPtr &pInLabelImg, const image::ImageConstPtr &pInBinImg, const ipUInt32 labelValue, const image::ImagePtr &pOutLabelImg) |
| wrapper function for Assign a new label value to the pixels determined by the input binary image More... | |
Assign a new label value to the pixels determined by the input binary image.
This algorithm allows to add a new connected component to the input label image. This new connected component is described by the pixels set to true in the input binary image. The value of the label is provided by the user with the third parameter.
The figure below illustrates an example with the input label (top left) and binary images (bottom left) and the output label image (right) :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InLabelImg | [Input] label image for processing operation | X |
| ipsdk::imaproc::attr::InBinImg | [Input] binary image for processing operation | X |
| ipsdk::imaproc::attr::InLabelValue | [Input] Label value in an image | X |
| ipsdk::imaproc::attr::OutLabelImg | [Output] label image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutLabelImg, _pInLabelImg) |
Global rule description for algorithm :
imaproc::matchSize (_pInLabelImg,_pInBinImg,_pOutLabelImg)
| IPSDKIPLBASICMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::morpho::addMarkerImg | ( | const image::ImageConstPtr & | pInLabelImg, |
| const image::ImageConstPtr & | pInBinImg, | ||
| const ipUInt32 | labelValue | ||
| ) |
wrapper function for Assign a new label value to the pixels determined by the input binary image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLBASICMORPHOLOGY_API void ipsdk::imaproc::morpho::addMarkerImg | ( | const image::ImageConstPtr & | pInLabelImg, |
| const image::ImageConstPtr & | pInBinImg, | ||
| const ipUInt32 | labelValue, | ||
| const image::ImagePtr & | pOutLabelImg | ||
| ) |
wrapper function for Assign a new label value to the pixels determined by the input binary image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14