![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Level 2 algorithm: Shape 3d analysis and measurement algorithm. More...
#include <ShapeAnalysis3dLvl2.h>
Public Member Functions | |
| ~ShapeAnalysis3dLvl2 () | |
| destructor | |
| const std::string & | getObjectName () const |
| method allowing to retrieve object name | |
| const std::string & | getToolTip () const |
| method allowing to retrieve object tooltip | |
| const boost::filesystem::path | getHeaderPath () const |
| retrieve relative header path associated to processor | |
| const std::string | getLibraryName () const |
| retrieve library name associated processor | |
| template<typename TAttribute > | |
| TAttribute::StorageType | getStorage () |
| retrieve storage associated to a given attribute More... | |
Attribute accessors | |
Setters and Getters for attributes | |
| template<> | |
| const ipsdk::imaproc::attr::InLabelsShape3d & | get () const |
| Getter for attribute InLabelsShape3d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InLabelsShape3d::StorageType &value) |
| Setter for attribute InLabelsShape3d. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptLabelsShape3d2 & | get () const |
| Getter for attribute InOptLabelsShape3d2. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptLabelsShape3d2::StorageType &value) |
| Setter for attribute InOptLabelsShape3d2. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptLabelsShape3d3 & | get () const |
| Getter for attribute InOptLabelsShape3d3. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptLabelsShape3d3::StorageType &value) |
| Setter for attribute InOptLabelsShape3d3. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptLabelsShape3d4 & | get () const |
| Getter for attribute InOptLabelsShape3d4. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptLabelsShape3d4::StorageType &value) |
| Setter for attribute InOptLabelsShape3d4. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d1 & | get () const |
| Getter for attribute InOptSubColorOrGreyImg3d1. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d1::StorageType &value) |
| Setter for attribute InOptSubColorOrGreyImg3d1. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d2 & | get () const |
| Getter for attribute InOptSubColorOrGreyImg3d2. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d2::StorageType &value) |
| Setter for attribute InOptSubColorOrGreyImg3d2. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d3 & | get () const |
| Getter for attribute InOptSubColorOrGreyImg3d3. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d3::StorageType &value) |
| Setter for attribute InOptSubColorOrGreyImg3d3. | |
| template<> | |
| const ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d4 & | get () const |
| Getter for attribute InOptSubColorOrGreyImg3d4. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d4::StorageType &value) |
| Setter for attribute InOptSubColorOrGreyImg3d4. | |
| template<> | |
| const ipsdk::imaproc::attr::OutMeasureSet & | get () const |
| Getter for attribute OutMeasureSet. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutMeasureSet::StorageType &value) |
| Setter for attribute OutMeasureSet. | |
Public Member Functions inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseRepeatedAsync1Action > | |
| virtual eProcessorType | getProcessorType () const =0 |
| BoolResult | init (const eProcessorRulePolicy rulePolicy=eProcessorRulePolicy::ePRP_DisableSubRules) |
| const eProcessorRulePolicy & | getProcessorRulePolicy () const |
| std::string | getFullInfoStr () const |
| const BaseRule & | getGlobalRule () const |
| const ProcessorDispatchPolicy & | getDispatchPolicy () const |
| void | restrictDispatchPolicy (const ProcessorDispatchPolicy &policy) |
| bool | isProgressAvailable () const |
| ipsdk::processor::eProcessorProgressAvailability | getProgressAvailability () const |
| ipsdk::ipUInt64 | getTotalNbIterations () const |
| bool | existsHeaderKey (const std::string &key) const |
| bool | existsHeaderKey (const std::string &key) const |
| ItemNames | getHeaderKeys () const |
| ItemNames | getHeaderKeys () const |
| const BaseDataItem & | getHeaderItem (const std::string &key) const |
| BaseDataItem & | getHeaderItem (const std::string &key) |
| const BaseDataItem & | getHeaderItem (const std::string &key) const |
| BaseDataItem & | getHeaderItem (const std::string &key) |
| void | addHeaderItem (const std::string &key, const DataItemPtr &pItem) |
| void | addHeaderItem (const std::string &key, const DataItemPtr &pItem) |
| void | removeHeaderItem (const std::string &key) |
| void | removeHeaderItem (const std::string &key) |
| void | clearHeader () |
| void | clearHeader () |
| ipUInt32 | getNbAttributes () const |
| ipUInt32 | getNbAttributes () const |
| const BaseAttribute & | getAttribute (ipUInt32 index) const |
| BaseAttribute & | getAttribute (ipUInt32 index) |
| const BaseAttribute & | getAttribute (const std::string &attributeName) const |
| BaseAttribute & | getAttribute (const std::string &attributeName) |
| const BaseAttribute & | getAttribute (ipUInt32 index) const |
| BaseAttribute & | getAttribute (ipUInt32 index) |
| const BaseAttribute & | getAttribute (const std::string &attributeName) const |
| BaseAttribute & | getAttribute (const std::string &attributeName) |
| bool | existsAttribute (const std::string &attributeName) const |
| bool | existsAttribute (const std::string &attributeName) const |
| StringVector | getAttributeNameColl () const |
| StringVector | getAttributeNameColl () const |
| bool | hasOutputInitializer (const std::string &attributeName) const |
| bool | hasOutputInitializer (const std::string &attributeName) const |
| const BaseOutputInitializer & | getOutputInitializer (const std::string &attributeName) const |
| const BaseOutputInitializer & | getOutputInitializer (const std::string &attributeName) const |
Static Public Member Functions | |
| static boost::shared_ptr< ShapeAnalysis3dLvl2 > | createProcessor () |
| processor creation function | |
| static const std::string & | getObjectNameStr () |
| method allowing to retrieve object name | |
| static const std::string & | getToolTipStr () |
| method allowing to retrieve object tooltip | |
| static const boost::filesystem::path | getHeaderPathStr () |
| retrieve relative header path associated to processor | |
| static const std::string | getLibraryNameStr () |
| retrieve library name associated processor | |
Protected Types | |
| typedef std::pair< ipsdk::shape::analysis::eMsrInputShapeCollId, GeometricCalibrationConstPtr > | CalibShapeId |
| pair allowing to uniquely identify a calibrated shape 3d collection | |
| typedef std::vector< std::pair< CalibShapeId, ipsdk::shape::segmentation::Shape3dCollConstPtr > > | CalibShape3dColl |
| collection of calibrated shape collection | |
| typedef std::pair< ipsdk::shape::analysis::eMsrInputImageId, ipsdk::shape::analysis::IntensityPreProcessorConfigPtr > | PreProcImgId |
| pair allowing to uniquely identify a preprocessed image | |
| typedef std::vector< std::pair< PreProcImgId, ipsdk::image::ImageConstPtr > > | PreProcImgIdColl |
| collection of calibrated shape collection | |
Protected Types inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseRepeatedAsync1Action > | |
| typedef std::vector< AttributePtr > | AttributeColl |
| typedef std::map< std::string, OutputInitializerPtr > | OutputInitializerColl |
Protected Member Functions | |
| ShapeAnalysis3dLvl2 () | |
| constructor | |
| ipsdk::processor::RetrievalResult | retrieveProvider (const ipsdk::core::BasePriority &priority, ipsdk::ipUInt32 curNbIter, ipsdk::core::ActionProviderPtr &pProvider) |
| method allowing to retrieve provider associated to asynchronous processing in derived class More... | |
| void | updateGlobalMsrInfo (const ipsdk::shape::analysis::eMsrInputImageId &msrInputImageId, const ImageAttributeConstPtr &pImgAttribute) |
| method allowing to update global measure informations before processing | |
| processor::RetrievalResult | retrieveStatsProvider (const core::BasePriority &priority, core::ActionProviderPtr &pProvider, const image::ImageConstPtr &pInImg) |
| method allowing to retrieve statistics provider | |
| processor::RetrievalResult | retrieveIndivisibleMsrProvider (const core::BasePriority &priority, core::ActionProviderPtr &pProvider) |
| method allowing to retrieve indivisible measure processing provider | |
| void | notifyIndivisibleProviderCompletion (const core::ActionProviderPtr &pProvider) |
| Completion callback used to notify of indivisible pass completion. | |
| processor::RetrievalResult | retrieveGenericMsrProvider (const core::BasePriority &priority, core::ActionProviderPtr &pProvider) |
| method allowing to retrieve generic measure processing provider | |
| void | notifyGenericProviderCompletion (const core::ActionProviderPtr &pProvider) |
| Completion callback used to notify of generic pass completion. | |
| processor::RetrievalResult | retrieveGeometry3dMsrProvider (const core::BasePriority &priority, core::ActionProviderPtr &pProvider) |
| method allowing to retrieve geometry 3d measure processing provider | |
| void | notifyGeometry3dProviderCompletion (const core::ActionProviderPtr &pProvider) |
| Completion callback used to notify of geometry 3d pass completion. | |
| processor::RetrievalResult | retrieveIntensityMsrProvider (const core::BasePriority &priority, core::ActionProviderPtr &pProvider) |
| method allowing to retrieve intensity measure processing provider | |
| void | notifyIntensityProviderPreprocessCompletion (const core::ActionProviderPtr &pProvider) |
| Completion callback used to notify of intensity pass image preprocessing completion. | |
| void | notifyIntensityProviderCompletion (const core::ActionProviderPtr &pProvider) |
| Completion callback used to notify of intensity pass completion. | |
Protected Member Functions inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseRepeatedAsync1Action > | |
| virtual BoolResult | initDerived (AttributeColl &attributeColl, OutputInitializerColl &outputInitializerColl, ProcessorDispatchPolicy &dispatchPolicy, RulePtr &pGlobalRule, const eProcessorRulePolicy &rulePolicy)=0 |
Level 2 algorithm: Shape 3d analysis and measurement algorithm.
See Shape Analysis 3d for a complete algorithm description.
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InLabelsShape3d | [Input] Collection of shape 3d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptLabelsShape3d2 | [Input Optional] second collection of shape 3d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptLabelsShape3d3 | [Input Optional] third collection of shape 3d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptLabelsShape3d4 | [Input Optional] fourth collection of shape 3d associated to labels | X |
| ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d1 | [Input Optional] first color or grey image 3d for processing operation | X |
| ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d2 | [Input Optional] second color or grey image 3d for processing operation | X |
| ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d3 | [Input Optional] third color or grey image 3d for processing operation | X |
| ipsdk::imaproc::shape::analysis::InOptSubColorOrGreyImg3d4 | [Input Optional] fourth color or grey image 3d for processing operation | X |
| ipsdk::imaproc::attr::OutMeasureSet | [Output] shape analysis measure set | X |
Global rule on attributes is given by
validateMeasureRequirements (_pOutMeasureSet,_pInLabelsShape3d,_pInOptLabelsShape3d2,_pInOptLabelsShape3d3,_pInOptLabelsShape3d4,_pInOptSubColorOrGreyImg3d1,_pInOptSubColorOrGreyImg3d2,_pInOptSubColorOrGreyImg3d3,_pInOptSubColorOrGreyImg3d4)
| TAttribute::StorageType ipsdk::imaproc::shape::analysis::ShapeAnalysis3dLvl2::getStorage | ( | ) |
retrieve storage associated to a given attribute
| ipsdk::processor::IPSDKBaseProcessingException | if isInit() == false |
|
protected |
method allowing to retrieve provider associated to asynchronous processing in derived class
|
protected |
image geometric calibration, stores the geometric calibration of _pInOptSubColorOrGreyImg2d1 if the sub-image has one, otherwise it uses the geometric calibration of_pInOptSubColorOrGreyImg2d2, etc.
1.8.14