![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Level 1 algorithm: detection of 2D lines in gradient images using Hough algorithm. More...
#include <HoughLinesGradient2dLvl1.h>
Public Member Functions | |
| ~HoughLinesGradient2dLvl1 () | |
| 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::InGxGreyImg2d & | get () const |
| Getter for attribute InGxGreyImg2d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InGxGreyImg2d::StorageType &value) |
| Setter for attribute InGxGreyImg2d. | |
| template<> | |
| const ipsdk::imaproc::attr::InGyGreyImg2d & | get () const |
| Getter for attribute InGyGreyImg2d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InGyGreyImg2d::StorageType &value) |
| Setter for attribute InGyGreyImg2d. | |
| template<> | |
| const ipsdk::imaproc::attr::InOptHoughLinesGradientImgParams & | get () const |
| Getter for attribute InOptHoughLinesGradientImgParams. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InOptHoughLinesGradientImgParams::StorageType &value) |
| Setter for attribute InOptHoughLinesGradientImgParams. | |
| template<> | |
| const ipsdk::imaproc::attr::InOptHoughLinesExtractionParams & | get () const |
| Getter for attribute InOptHoughLinesExtractionParams. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InOptHoughLinesExtractionParams::StorageType &value) |
| Setter for attribute InOptHoughLinesExtractionParams. | |
| template<> | |
| const ipsdk::imaproc::attr::InOptHoughLinesOrientationTolerance & | get () const |
| Getter for attribute InOptHoughLinesOrientationTolerance. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InOptHoughLinesOrientationTolerance::StorageType &value) |
| Setter for attribute InOptHoughLinesOrientationTolerance. | |
| template<> | |
| const ipsdk::imaproc::attr::OutOptRealImg & | get () const |
| Getter for attribute OutOptRealImg. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutOptRealImg::StorageType &value) |
| Setter for attribute OutOptRealImg. | |
| template<> | |
| const ipsdk::imaproc::attr::OutPIHoughLines2dPpties & | get () const |
| Getter for attribute OutPIHoughLines2dPpties. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutPIHoughLines2dPpties::StorageType &value) |
| Setter for attribute OutPIHoughLines2dPpties. | |
Public Member Functions inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseAsync1Action > | |
| 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< HoughLinesGradient2dLvl1 > | 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 Member Functions | |
| HoughLinesGradient2dLvl1 () | |
| constructor | |
| ipsdk::processor::RetrievalResult | retrieveProvider (const ipsdk::core::BasePriority &priority, ipsdk::core::ActionProviderPtr &pProvider) |
| method allowing to retrieve provider associated to asynchronous processing in derived class More... | |
| processor::RetrievalResult | provideProcessor (const boost::shared_ptr< core::BaseAction > &pProcessor, const core::BasePriority &priority, core::ActionProviderPtr &pProvider) |
Protected Member Functions inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseAsync1Action > | |
| virtual BoolResult | initDerived (AttributeColl &attributeColl, OutputInitializerColl &outputInitializerColl, ProcessorDispatchPolicy &dispatchPolicy, RulePtr &pGlobalRule, const eProcessorRulePolicy &rulePolicy)=0 |
Protected Attributes | |
Attribute members | |
| boost::shared_ptr< ipsdk::imaproc::attr::InGxGreyImg2d > | _pInGxGreyImg2d |
| boost::shared_ptr< ipsdk::imaproc::attr::InGyGreyImg2d > | _pInGyGreyImg2d |
| boost::shared_ptr< ipsdk::imaproc::attr::InOptHoughLinesGradientImgParams > | _pInOptHoughLinesGradientImgParams |
| boost::shared_ptr< ipsdk::imaproc::attr::InOptHoughLinesExtractionParams > | _pInOptHoughLinesExtractionParams |
| boost::shared_ptr< ipsdk::imaproc::attr::InOptHoughLinesOrientationTolerance > | _pInOptHoughLinesOrientationTolerance |
| boost::shared_ptr< ipsdk::imaproc::attr::OutOptRealImg > | _pOutOptRealImg |
| boost::shared_ptr< ipsdk::imaproc::attr::OutPIHoughLines2dPpties > | _pOutPIHoughLines2dPpties |
Protected Attributes inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseAsync1Action > | |
| eProcessorProgressAvailability | _processorProgressAvailability |
| ipUInt32 | _nbIter |
Additional Inherited Members | |
Protected Types inherited from ipsdk::processor::BaseProcessor< ipsdk::core::BaseAsync1Action > | |
| typedef std::vector< AttributePtr > | AttributeColl |
| typedef std::map< std::string, OutputInitializerPtr > | OutputInitializerColl |
Level 1 algorithm: detection of 2D lines in gradient images using Hough algorithm.
See Extension of Hough lines detection based on gradient orientation for a complete algorithm description.
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InGxGreyImg2d | [Input] 2d grey levels image of gradient computed along x-axis | X |
| ipsdk::imaproc::attr::InGyGreyImg2d | [Input] 2d grey levels image of gradient computed along y-axis | X |
| ipsdk::imaproc::attr::InOptHoughLinesGradientImgParams | [Input Optional] Parameters for Hough lines detection algorithm using 2 input gradient images | X |
| ipsdk::imaproc::attr::InOptHoughLinesExtractionParams | [Input Optional] Parameters used for step of extraction of lines in Hough lines algorithm | X |
| ipsdk::imaproc::attr::InOptHoughLinesOrientationTolerance | [Input Optional] Tolerance for orientation around estimated gradient direction | X |
| ipsdk::imaproc::attr::OutOptRealImg | [Output Optional] image for processing operation (data contained in image buffer are reals) | X |
| ipsdk::imaproc::attr::OutPIHoughLines2dPpties | [Output] plan indexed collection of positions and intensities of 2d pixels | ipsdk::imaproc::fromImage (_pOutPIHoughLines2dPpties, _pInGxGreyImg2d) |
Global rule on attributes is given by
ipsdk::processor::If (
ipsdk::processor::isSet (_pOutOptRealImg),
ipsdk::imaproc::customImageProperty (_pOutOptRealImg,
ipsdk::imaproc::fd::houghLines2dCheckOutImgSzXEquals (_pInGxGreyImg2d,_pInOptHoughLinesGradientImgParams)) &&
ipsdk::imaproc::customImageProperty (_pOutOptRealImg,
ipsdk::imaproc::fd::houghLines2dCheckOutImgSzYEquals (_pInGxGreyImg2d,_pInOptHoughLinesGradientImgParams,_pInOptHoughLinesExtractionParams)) &&
ipsdk::imaproc::customImageProperty (_pOutOptRealImg,
ipsdk::imaproc::fd::houghLines2dCheckOutImgBufferType (_pInGxGreyImg2d)) &&
ipsdk::imaproc::matchSize (eMatchImageSizeType::eMIST_T,_pInGxGreyImg2d,_pOutOptRealImg) &&
ipsdk::imaproc::matchVolumeGeometryType (_pInGxGreyImg2d,_pOutOptRealImg) &&
ipsdk::imaproc::matchColorGeometryType (_pInGxGreyImg2d,_pOutOptRealImg) &&
ipsdk::imaproc::noInSitu (_pInGxGreyImg2d,_pOutOptRealImg),
ipsdk::processor::none ())
| TAttribute::StorageType ipsdk::imaproc::fd::HoughLinesGradient2dLvl1::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