![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
seeded watershed 3d algorithm More...
seeded watershed 3d algorithm
Watershed algorithm allows to partition an input grey image InIntImg3d, associated to a marker image InLabMarkImg3d, into area of influence. This is a classical technic used for segmentation purposes.
A detailed description of this algorithm is provided in 2d case, see Seeded Watershed 2d.
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InIntImg3d | [Input] image 3d for processing operation (data contained in image buffer are integers) | X |
| ipsdk::imaproc::attr::InLabMarkImg3d | [Input] label marker image 3d for processing operation | X |
| ipsdk::imaproc::attr::InWatershedOutputMode | [Input] parameter allowing to define watershed output mode | X |
| ipsdk::imaproc::attr::InOptWatershedProcMode | [Input Optional] Watershed processing mode | X |
| ipsdk::imaproc::attr::InOptNbMinDataByThread | [Input Optional] minimum number of data by thread | X |
| ipsdk::imaproc::attr::OutOptWk1Img | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutBinLabImg | [Output] binary or label image for processing operation | customOutput (_pOutBinLabImg, outputWatershed(_pInLabMarkImg3d,_pInWatershedOutputMode)) |
Global rule description for algorithm :
(ipsdk::imaproc::matchSize (_pInIntImg3d,_pInLabMarkImg3d) &&
ipsdk::imaproc::customImageProperty (_pOutBinLabImg,
allowedBufferType (_pInWatershedOutputMode)) &&
ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::matchSize (_pInIntImg3d,_pOutOptWk1Img)) &&
ipsdk::processor::If (
ipsdk::imaproc::bufferType (_pOutBinLabImg,ipsdk::image::eImageBufferType::eIBT_Binary),
ipsdk::imaproc::matchSize (_pOutBinLabImg,_pInLabMarkImg3d),
ipsdk::imaproc::matchSizeAndType (_pOutBinLabImg,_pInLabMarkImg3d)))
| IPSDKIPLADVANCEDMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::advmorpho::seededWatershed3dImg | ( | const image::ImageConstPtr & | pInIntImg3d, |
| const image::ImageConstPtr & | pInLabMarkImg3d, | ||
| const ipsdk::imaproc::attr::eWatershedOutputMode & | inWatershedOutputMode | ||
| ) |
wrapper function for seeded watershed 3d algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLADVANCEDMORPHOLOGY_API image::ImagePtr ipsdk::imaproc::advmorpho::seededWatershed3dImg | ( | const image::ImageConstPtr & | pInIntImg3d, |
| const image::ImageConstPtr & | pInLabMarkImg3d, | ||
| const ipsdk::imaproc::attr::eWatershedOutputMode & | inWatershedOutputMode, | ||
| const ipsdk::imaproc::attr::eWatershedProcessingMode & | inOptWatershedProcMode | ||
| ) |
wrapper function for seeded watershed 3d algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLADVANCEDMORPHOLOGY_API void ipsdk::imaproc::advmorpho::seededWatershed3dImg | ( | const image::ImageConstPtr & | pInIntImg3d, |
| const image::ImageConstPtr & | pInLabMarkImg3d, | ||
| const ipsdk::imaproc::attr::eWatershedOutputMode & | inWatershedOutputMode, | ||
| const ipsdk::imaproc::attr::eWatershedProcessingMode & | inOptWatershedProcMode, | ||
| const ipUInt32 | inOptNbMinDataByThread, | ||
| const image::ImagePtr & | pOutBinLabImg | ||
| ) |
wrapper function for seeded watershed 3d algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14