![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Shape 2d analysis and measurement algorithm. More...
Shape 2d analysis and measurement algorithm.
This algorithm allows to process measurements and analysis on shape 2d connected components.
User should first extract contours on a connected component label image (see Label shape extraction 2d).
For more information on shape analysis and measurement framework, please refers to Shape Analysis and Measurement.
Shape 2d measurements and analysis can be decomposed in three main groups :
Here is an example of shape 2d measurement and analysis :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InMeasureInfoSet2d | [Input] shape analysis 2d measure information set | X |
| ipsdk::imaproc::attr::InPILabelsShape2d | [Input] Plan indexed collection of shape 2d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptPILabelsShape2d2 | [Input Optional] second plan indexed collection of shape 2d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptPILabelsShape2d3 | [Input Optional] third plan indexed collection of shape 2d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptPILabelsShape2d4 | [Input Optional] fourth plan indexed collection of shape 2d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptGreyMsrImg1 | [Input Optional] first grey image used for intensity measurements | X |
| ipsdk::imaproc::shape::analysis::InOptGreyMsrImg2 | [Input Optional] second grey image used for intensity measurements | X |
| ipsdk::imaproc::shape::analysis::InOptGreyMsrImg3 | [Input Optional] thirid grey image used for intensity measurements | X |
| ipsdk::imaproc::shape::analysis::InOptGreyMsrImg4 | [Input Optional] fourth grey image used for intensity measurements | X |
| ipsdk::imaproc::attr::OutPIMeasureSet | [Output] Plan indexed collection of shape analysis measure set | fromOther (_pOutPIMeasureSet, _pInPILabelsShape2d, boost::function<OutPIMeasureSet::PlanStorageType()>(boost::bind(&ipsdk::imaproc::createMeasureSetFromInfo,_pInMeasureInfoSet2d))) |
Global rule description for algorithm :
ipsdk::imaproc::matchOther (_pInPILabelsShape2d,_pOutPIMeasureSet) &&
validateMeasureRequirements (_pInMeasureInfoSet2d,_pInPILabelsShape2d,_pInOptPILabelsShape2d2,_pInOptPILabelsShape2d3,_pInOptPILabelsShape2d4,_pInOptGreyMsrImg1,_pInOptGreyMsrImg2,_pInOptGreyMsrImg3,_pInOptGreyMsrImg4)
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::MeasureSetPtr ipsdk::imaproc::shape::analysis::shapeAnalysis2d | ( | const ipsdk::image::ImageConstPtr & | pInOptGreyMsrImg1, |
| const ipsdk::shape::segmentation::Shape2dCollConstPtr & | pInLabelsShape2d, | ||
| const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d | ||
| ) |
wrapper function for Shape 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::PlanIndexedMeasureSetPtr ipsdk::imaproc::shape::analysis::multiSlice_shapeAnalysis2d | ( | const ipsdk::image::ImageConstPtr & | pInOptGreyMsrImg1, |
| const ipsdk::shape::segmentation::PlanIndexedShape2dCollConstPtr & | pInPILabelsShape2d, | ||
| const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d | ||
| ) |
wrapper function for Shape 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::MeasureSetPtr ipsdk::imaproc::shape::analysis::shapeAnalysis2d | ( | const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d, |
| const ipsdk::shape::segmentation::Shape2dCollConstPtr & | pInLabelsShape2d, | ||
| const ipsdk::imaproc::shape::analysis::ShapeAnalysis2dOptParams & | shapeAnalysis2dOptParams | ||
| ) |
wrapper function for Shape 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLSHAPEANALYSIS_API ipsdk::shape::analysis::PlanIndexedMeasureSetPtr ipsdk::imaproc::shape::analysis::multiSlice_shapeAnalysis2d | ( | const ipsdk::shape::analysis::MeasureInfoSetConstPtr & | pInMeasureInfoSet2d, |
| const ipsdk::shape::segmentation::PlanIndexedShape2dCollConstPtr & | pInPILabelsShape2d, | ||
| const ipsdk::imaproc::shape::analysis::ShapeAnalysis2dPIOptParams & | shapeAnalysis2dPIOptParams | ||
| ) |
wrapper function for Shape 2d analysis and measurement algorithm
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14