![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Connected component 2d analysis and measurement algorithm. More...
Connected component 2d analysis and measurement algorithm.
This algorithm is a simple version of Shape Analysis 2d algorithm. It allows to process measurements and analysis using a label (connected components) image as input which will be proceeded to extract associated 2d shapes (see Label shape extraction 2d).
For more information on shape analysis and measurement framework, please refers to Shape Analysis and Measurement.
Here is an example of shape 2d measurement and analysis :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InGreyMsrImg | [Input] grey image used for intensity measurements | X |
| ipsdk::imaproc::attr::InLabelImg | [Input] label image for processing operation | X |
| ipsdk::imaproc::attr::InOptContourExtractionSettings | [Input Optional] Settings used for contours extraction | X |
| ipsdk::imaproc::attr::InMeasureInfoSet2d | [Input] shape analysis 2d measure information set | X |
| ipsdk::imaproc::attr::OutPIMeasureSet | [Output] Plan indexed collection of shape analysis measure set | fromImageButColor (_pOutPIMeasureSet, _pInGreyMsrImg, boost::function<OutPIMeasureSet::PlanStorageType()>(boost::bind(&ipsdk::imaproc::createMeasureSetFromInfo,_pInMeasureInfoSet2d))) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (ipsdk::imaproc::eMatchImageSizeType::eMIST_XYZT,_pInGreyMsrImg,_pInLabelImg) &&
ipsdk::imaproc::matchImagePlansButColor (_pOutPIMeasureSet,_pInGreyMsrImg) &&
matchLabelAnalysis (_pInMeasureInfoSet2d)
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::MeasureSetPtr ipsdk::imaproc::shape::analysis::labelAnalysis2d | ( | const ipsdk::image::ImageConstPtr & | pInGreyMsrImg, |
| const ipsdk::image::ImageConstPtr & | pInLabelImg, | ||
| const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d | ||
| ) |
wrapper function for Connected component 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::PlanIndexedMeasureSetPtr ipsdk::imaproc::shape::analysis::multiSlice_labelAnalysis2d | ( | const ipsdk::image::ImageConstPtr & | pInGreyMsrImg, |
| const ipsdk::image::ImageConstPtr & | pInLabelImg, | ||
| const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d | ||
| ) |
wrapper function for Connected component 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::MeasureSetPtr ipsdk::imaproc::shape::analysis::labelAnalysis2d | ( | const ipsdk::image::ImageConstPtr & | pInGreyMsrImg, |
| const ipsdk::image::ImageConstPtr & | pInLabelImg, | ||
| const ipsdk::imaproc::attr::ContourExtractionSettingsConstPtr & | pInOptContourExtractionSettings, | ||
| const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d | ||
| ) |
wrapper function for Connected component 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::PlanIndexedMeasureSetPtr ipsdk::imaproc::shape::analysis::multiSlice_labelAnalysis2d | ( | const ipsdk::image::ImageConstPtr & | pInGreyMsrImg, |
| const ipsdk::image::ImageConstPtr & | pInLabelImg, | ||
| const ipsdk::imaproc::attr::ContourExtractionSettingsConstPtr & | pInOptContourExtractionSettings, | ||
| const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d | ||
| ) |
wrapper function for Connected component 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14