![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Level 1 algorithm: Adaptive binary watershed 2d algorithm. More...
#include <AdaptiveBinaryWatershed2dImgLvl1.h>
Public Member Functions | |
| ~AdaptiveBinaryWatershed2dImgLvl1 () | |
| 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::InBinImg & | get () const |
| Getter for attribute InBinImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InBinImg::StorageType &value) |
| Setter for attribute InBinImg. | |
| template<> | |
| const ipsdk::imaproc::attr::InArithmeticVal & | get () const |
| Getter for attribute InArithmeticVal. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InArithmeticVal::StorageType &value) |
| Setter for attribute InArithmeticVal. | |
| template<> | |
| const ipsdk::imaproc::attr::InWatershedSeparationMode & | get () const |
| Getter for attribute InWatershedSeparationMode. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InWatershedSeparationMode::StorageType &value) |
| Setter for attribute InWatershedSeparationMode. | |
| template<> | |
| const ipsdk::imaproc::attr::InOptWatershedProcMode & | get () const |
| Getter for attribute InOptWatershedProcMode. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InOptWatershedProcMode::StorageType &value) |
| Setter for attribute InOptWatershedProcMode. | |
| template<> | |
| const ipsdk::imaproc::attr::InOptNbMinDataByThread & | get () const |
| Getter for attribute InOptNbMinDataByThread. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InOptNbMinDataByThread::StorageType &value) |
| Setter for attribute InOptNbMinDataByThread. | |
| template<> | |
| const ipsdk::imaproc::attr::OutOptWk1Img & | get () const |
| Getter for attribute OutOptWk1Img. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutOptWk1Img::StorageType &value) |
| Setter for attribute OutOptWk1Img. | |
| template<> | |
| const ipsdk::imaproc::attr::OutOptWk1BinImg & | get () const |
| Getter for attribute OutOptWk1BinImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutOptWk1BinImg::StorageType &value) |
| Setter for attribute OutOptWk1BinImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutOptWk1LabelImg & | get () const |
| Getter for attribute OutOptWk1LabelImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutOptWk1LabelImg::StorageType &value) |
| Setter for attribute OutOptWk1LabelImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk1BinImg & | get () const |
| Getter for attribute OutWk1BinImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk1BinImg::StorageType &value) |
| Setter for attribute OutWk1BinImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk2BinImg & | get () const |
| Getter for attribute OutWk2BinImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk2BinImg::StorageType &value) |
| Setter for attribute OutWk2BinImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk1DistImg & | get () const |
| Getter for attribute OutWk1DistImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk1DistImg::StorageType &value) |
| Setter for attribute OutWk1DistImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk1Img & | get () const |
| Getter for attribute OutWk1Img. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk1Img::StorageType &value) |
| Setter for attribute OutWk1Img. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk1RealImg & | get () const |
| Getter for attribute OutWk1RealImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk1RealImg::StorageType &value) |
| Setter for attribute OutWk1RealImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk2RealImg & | get () const |
| Getter for attribute OutWk2RealImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk2RealImg::StorageType &value) |
| Setter for attribute OutWk2RealImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk1LabelImg & | get () const |
| Getter for attribute OutWk1LabelImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk1LabelImg::StorageType &value) |
| Setter for attribute OutWk1LabelImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutWk2LabelImg & | get () const |
| Getter for attribute OutWk2LabelImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutWk2LabelImg::StorageType &value) |
| Setter for attribute OutWk2LabelImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutBinLabImg & | get () const |
| Getter for attribute OutBinLabImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutBinLabImg::StorageType &value) |
| Setter for attribute OutBinLabImg. | |
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< AdaptiveBinaryWatershed2dImgLvl1 > | 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 | |
Additional Inherited Members | |
Protected Types inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseRepeatedAsync1Action > | |
| typedef std::vector< AttributePtr > | AttributeColl |
| typedef std::map< std::string, OutputInitializerPtr > | OutputInitializerColl |
Level 1 algorithm: Adaptive binary watershed 2d algorithm.
See Adaptive Watershed Binary Separation 2d for a complete algorithm description.
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InBinImg | [Input] binary image for processing operation | X |
| ipsdk::imaproc::attr::InArithmeticVal | [Input] value used for arithmetic operations | X |
| ipsdk::imaproc::attr::InWatershedSeparationMode | [Input] parameter allowing to define watershed separation 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::OutOptWk1BinImg | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutOptWk1LabelImg | [Output Optional] Temporary working image for algorithm | X |
| ipsdk::imaproc::attr::OutWk1BinImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1BinImg, _pInBinImg) |
| ipsdk::imaproc::attr::OutWk2BinImg | [Output] Second temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk2BinImg, _pInBinImg) |
| ipsdk::imaproc::attr::OutWk1DistImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1DistImg, _pInBinImg, ipsdk::image::eImageBufferType::eIBT_UInt16) |
| ipsdk::imaproc::attr::OutWk1Img | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1Img, _pInBinImg, ipsdk::image::eImageBufferType::eIBT_UInt16) |
| ipsdk::imaproc::attr::OutWk1RealImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1RealImg, _pInBinImg, ipsdk::image::eImageBufferType::eIBT_Real32) |
| ipsdk::imaproc::attr::OutWk2RealImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk2RealImg, _pInBinImg, ipsdk::image::eImageBufferType::eIBT_Real32) |
| ipsdk::imaproc::attr::OutWk1LabelImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk1LabelImg, _pInBinImg, ipsdk::image::eImageBufferType::eIBT_Label16) |
| ipsdk::imaproc::attr::OutWk2LabelImg | [Output] Temporary working image for algorithm | ipsdk::imaproc::duplicateInOut (_pOutWk2LabelImg, _pInBinImg, ipsdk::image::eImageBufferType::eIBT_Label16) |
| ipsdk::imaproc::attr::OutBinLabImg | [Output] binary or label image for processing operation | customOutput (_pOutBinLabImg, outputWatershed(_pInBinImg,_pInWatershedSeparationMode)) |
Global rule on attributes is given by
ipsdk::imaproc::matchSizeAndType (_pInBinImg,_pOutWk1BinImg) &&
ipsdk::imaproc::matchSizeAndType (_pInBinImg,_pOutWk2BinImg) &&
ipsdk::imaproc::matchSize (_pInBinImg,_pOutWk1DistImg) &&
ipsdk::imaproc::matchSizeAndType (_pOutWk1DistImg,_pOutWk1Img) &&
ipsdk::imaproc::matchSize (_pInBinImg,_pOutWk1RealImg) &&
ipsdk::imaproc::matchSizeAndType (_pOutWk1RealImg,_pOutWk2RealImg) &&
ipsdk::imaproc::matchSizeAndType (_pOutWk1LabelImg,_pOutWk2LabelImg) &&
ipsdk::imaproc::matchSize (_pInBinImg,_pOutWk1LabelImg) &&
ipsdk::imaproc::matchSize (_pInBinImg,_pOutBinLabImg) &&
ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::matchSizeAndType (_pOutWk1DistImg,_pOutOptWk1Img)) &&
ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::matchSize (_pInBinImg,_pOutOptWk1BinImg)) &&
ipsdk::processor::ifIsSet (_pOutOptWk1Img,
ipsdk::imaproc::matchSize (_pInBinImg,_pOutOptWk1LabelImg))
| TAttribute::StorageType ipsdk::imaproc::advmorpho::AdaptiveBinaryWatershed2dImgLvl1::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
1.8.14