![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Level 3 algorithm: detects circles in images of gradient using Hough algorithm. More...
#include <HoughSpheres3dImgLvl3.h>
Public Member Functions | |
| ~HoughSpheres3dImgLvl3 () | |
| 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::InGxKnlZStrip3d & | get () const |
| Getter for attribute InGxKnlZStrip3d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InGxKnlZStrip3d::StorageType &value) |
| Setter for attribute InGxKnlZStrip3d. | |
| template<> | |
| const ipsdk::imaproc::attr::InGyKnlZStrip3d & | get () const |
| Getter for attribute InGyKnlZStrip3d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InGyKnlZStrip3d::StorageType &value) |
| Setter for attribute InGyKnlZStrip3d. | |
| template<> | |
| const ipsdk::imaproc::attr::InGzKnlZStrip3d & | get () const |
| Getter for attribute InGzKnlZStrip3d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InGzKnlZStrip3d::StorageType &value) |
| Setter for attribute InGzKnlZStrip3d. | |
| template<> | |
| const ipsdk::imaproc::attr::InCircleIntensityType & | get () const |
| Getter for attribute InCircleIntensityType. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InCircleIntensityType::StorageType &value) |
| Setter for attribute InCircleIntensityType. | |
| template<> | |
| const ipsdk::imaproc::attr::InMaxAngleWithGradDir & | get () const |
| Getter for attribute InMaxAngleWithGradDir. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InMaxAngleWithGradDir::StorageType &value) |
| Setter for attribute InMaxAngleWithGradDir. | |
| template<> | |
| const ipsdk::imaproc::attr::InHoughCirclesRadiusRange & | get () const |
| Getter for attribute InHoughCirclesRadiusRange. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InHoughCirclesRadiusRange::StorageType &value) |
| Setter for attribute InHoughCirclesRadiusRange. | |
| template<> | |
| const ipsdk::imaproc::attr::InHoughSpheresKernelXYZ & | get () const |
| Getter for attribute InHoughSpheresKernelXYZ. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::InHoughSpheresKernelXYZ::StorageType &value) |
| Setter for attribute InHoughSpheresKernelXYZ. | |
| template<> | |
| const ipsdk::imaproc::attr::OutZStrip3d & | get () const |
| Getter for attribute OutZStrip3d. | |
| template<> | |
| void | set (const typename ipsdk::imaproc::attr::OutZStrip3d::StorageType &value) |
| Setter for attribute OutZStrip3d. | |
Public Member Functions inherited from ipsdk::processor::BaseSyncProcessor | |
| eProcessorType | getProcessorType () const |
Public Member Functions inherited from ipsdk::processor::BaseProcessor | |
| 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 |
| ItemNames | getHeaderKeys () const |
| const BaseDataItem & | getHeaderItem (const std::string &key) const |
| BaseDataItem & | getHeaderItem (const std::string &key) |
| void | addHeaderItem (const std::string &key, const DataItemPtr &pItem) |
| void | removeHeaderItem (const std::string &key) |
| void | clearHeader () |
| ipUInt32 | getNbAttributes () const |
| const BaseAttribute & | getAttribute (ipUInt32 index) const |
| BaseAttribute & | getAttribute (ipUInt32 index) |
| bool | existsAttribute (const std::string &attributeName) const |
| StringVector | getAttributeNameColl () const |
| const BaseAttribute & | getAttribute (const std::string &attributeName) const |
| BaseAttribute & | getAttribute (const std::string &attributeName) |
| bool | hasOutputInitializer (const std::string &attributeName) const |
| const BaseOutputInitializer & | getOutputInitializer (const std::string &attributeName) const |
| bool | existsHeaderKey (const std::string &key) const |
| ItemNames | getHeaderKeys () const |
| const BaseDataItem & | getHeaderItem (const std::string &key) const |
| BaseDataItem & | getHeaderItem (const std::string &key) |
| void | addHeaderItem (const std::string &key, const DataItemPtr &pItem) |
| void | removeHeaderItem (const std::string &key) |
| void | clearHeader () |
| ipUInt32 | getNbAttributes () const |
| const BaseAttribute & | getAttribute (ipUInt32 index) const |
| BaseAttribute & | getAttribute (ipUInt32 index) |
| bool | existsAttribute (const std::string &attributeName) const |
| StringVector | getAttributeNameColl () const |
| const BaseAttribute & | getAttribute (const std::string &attributeName) const |
| BaseAttribute & | getAttribute (const std::string &attributeName) |
| bool | hasOutputInitializer (const std::string &attributeName) const |
| const BaseOutputInitializer & | getOutputInitializer (const std::string &attributeName) const |
Public Member Functions inherited from ipsdk::core::BaseComplexAction | |
| bool | isComplexAction () const |
Public Member Functions inherited from ipsdk::core::BaseAction | |
| bool | isInit () const |
| eExecutionStatus | getStatus () const |
| const ePriority & | getActionPriority () const |
| void | setActionPriority (const BasePriority &actionPriority) |
| void | addCompletionCB (const ActionCompletionCB &completionCB) |
| ExecResult | run (const eSynchroType &synchroType=eSynchroType::eST_Default) |
| void | requestCancellation () |
| bool | isCancellationRequested () const |
| void | waitForCompletion () |
| ExecResult | getActionResult () const |
| double | getFullActionDuration () const |
| double | getExecutionActionDuration () const |
| BoolResult | clear () |
| bool | hasSocketGuid () const |
| void | setSocketGuid (const Guid &socketGuid) |
| const Guid & | getSocketGuid () const |
| bool | hasSocketGuid () const |
| void | setSocketGuid (const Guid &socketGuid) |
| const Guid & | getSocketGuid () const |
Public Member Functions inherited from ipsdk::SerializationObjectWithGuid | |
| const Guid & | getGuid () const |
Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual const std::string & | getClassName () const |
| virtual BaseDynamicObject * | createNew () const=0 |
| virtual DynamicObjectPtr | createShared () const=0 |
| virtual bool | hasCopySupport () const=0 |
| virtual BaseDynamicObject * | duplicate () const=0 |
| virtual DynamicObjectPtr | duplicateShared () const=0 |
Static Public Member Functions | |
| static boost::shared_ptr< HoughSpheres3dImgLvl3 > | 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 | |
Static Public Member Functions inherited from ipsdk::BaseSerializationObject | |
| static ipUInt32 | getVersion () |
Static Public Member Functions inherited from ipsdk::BaseDynamicObject | |
| static const std::string & | getTypeName () |
Protected Types | |
| typedef boost::scoped_array< const ipReal32 * > | BufColl |
| collection of buffer pointers | |
Protected Types inherited from ipsdk::processor::BaseProcessingAlgorithm | |
| typedef std::vector< DataParserPtr > | DataParserColl |
Protected Types inherited from ipsdk::processor::BaseProcessor | |
| typedef std::vector< AttributePtr > | AttributeColl |
| typedef std::map< std::string, OutputInitializerPtr > | OutputInitializerColl |
Protected Types inherited from ipsdk::core::BaseAction | |
| enum | eCleanReason |
| enum | eExecutionResultDerived |
| typedef ProcessingResult< eExecutionResultDerived > | ExecResultDerived |
Protected Member Functions | |
| HoughSpheres3dImgLvl3 () | |
| constructor | |
| ipsdk::core::ExecResult | preProcess () |
| method called before processing More... | |
| template<typename BufInType , ipsdk::eInstructionSet::domain IS> | |
| ipsdk::BoolResult | genericProcessFunction (const ipsdk::processor::ProcessingInfo &info) |
| generic processing function associated to class | |
Protected Member Functions inherited from ipsdk::processor::BaseProcessingAlgorithm | |
| virtual const FunctionSelector & | getFunctionSelector () const=0 |
| virtual const InstructionSetsIdentifier & | getForcedInstructionSets () const=0 |
| virtual void | getDataTypeIdColl (DataTypeIdColl &dataTypeIdColl) const=0 |
| virtual void | initDataParserColl (DataParserColl &dataParserColl)=0 |
| virtual void | clearDataParserColl ()=0 |
| virtual core::ExecResult | postProcess () |
| virtual void | getNoParseInfo (ipUInt64 &nbDataByElement, ipUInt64 &nbMaxInitData, ipUInt64 &nbMaxFinalData) const |
Protected Member Functions inherited from ipsdk::processor::BaseSyncProcessor | |
| virtual core::ExecResult | mainProcess ()=0 |
Protected Member Functions inherited from ipsdk::processor::BaseProcessor | |
| virtual BoolResult | initDerived (AttributeColl &attributeColl, OutputInitializerColl &outputInitializerColl, ProcessorDispatchPolicy &dispatchPolicy, RulePtr &pGlobalRule, const eProcessorRulePolicy &rulePolicy)=0 |
Protected Member Functions inherited from ipsdk::core::BaseComplexAction | |
| virtual ExecResult | initProcess () |
| virtual ExecResult | endProcess () |
| ExecResult | execInitProcess () |
| ExecResult | execEndProcess () |
Protected Member Functions inherited from ipsdk::core::BaseAction | |
| bool | isSynchronismForced () const |
| BoolResult | initBase (const BasePriority &defaultPriority=NormalPriority()) |
| virtual BoolResult | globalCleanDerived () |
| virtual BoolResult | cleanOnErrorDerived (const eCleanReason &cleanReason) |
| virtual ExecResultDerived | runDerived ()=0 |
| virtual void | requestCancellationdDerived () |
| void | notifyCompletion (const ExecResult &bCompletionResult) |
| ExecResultDerived | toExecResultDerived (const ExecResult &execResult) const |
| virtual BoolResult | syncInputDataDerived (const Guid &processingSocketGuid) |
| virtual BoolResult | syncOutputDataDerived (const Guid &processingSocketGuid) |
| virtual void | clearInputData () |
| virtual void | clearIntermediateData () |
| virtual void | clearOutputData () |
Protected Member Functions inherited from ipsdk::BaseSerializationObject | |
| virtual BoolResult | write (BaseOArchive &ar) const |
| virtual BoolResult | read (BaseIArchive &ar) |
Protected Member Functions inherited from ipsdk::BaseDynamicObject | |
| virtual void | initCtorCopy (const BaseDynamicObject &object) |
| virtual void | copy (const BaseDynamicObject &object) |
Protected Attributes | |
| BufColl | _pGxBufColl |
| collection of buffer pointers associated to used kernel | |
| BufColl | _pGyBufColl |
| BufColl | _pGzBufColl |
| BufColl | _pGradMagBufColl |
| FragHybridBufferPtr | _pInitialGxNorm |
| FragHybridBufferPtr | _pMainGxNorm |
| FragHybridBufferPtr | _pFinalGxNorm |
| FragHybridBufferPtr | _pInitialGyNorm |
| FragHybridBufferPtr | _pMainGyNorm |
| FragHybridBufferPtr | _pFinalGyNorm |
| FragHybridBufferPtr | _pInitialGzNorm |
| FragHybridBufferPtr | _pMainGzNorm |
| FragHybridBufferPtr | _pFinalGzNorm |
| FragHybridBufferPtr | _pInitialGradMag |
| FragHybridBufferPtr | _pMainGradMag |
| FragHybridBufferPtr | _pFinalGradMag |
| std::vector< ipReal32 > | _vOutBuf |
Attribute members | |
| boost::shared_ptr< ipsdk::imaproc::attr::InGxKnlZStrip3d > | _pInGxKnlZStrip3d |
| boost::shared_ptr< ipsdk::imaproc::attr::InGyKnlZStrip3d > | _pInGyKnlZStrip3d |
| boost::shared_ptr< ipsdk::imaproc::attr::InGzKnlZStrip3d > | _pInGzKnlZStrip3d |
| boost::shared_ptr< ipsdk::imaproc::attr::InCircleIntensityType > | _pInCircleIntensityType |
| boost::shared_ptr< ipsdk::imaproc::attr::InMaxAngleWithGradDir > | _pInMaxAngleWithGradDir |
| boost::shared_ptr< ipsdk::imaproc::attr::InHoughCirclesRadiusRange > | _pInHoughCirclesRadiusRange |
| boost::shared_ptr< ipsdk::imaproc::attr::InHoughSpheresKernelXYZ > | _pInHoughSpheresKernelXYZ |
| boost::shared_ptr< ipsdk::imaproc::attr::OutZStrip3d > | _pOutZStrip3d |
Parsed data attributes | |
| boost::shared_ptr< LineStripParser > | _pInGxKnlZStrip3dBuf |
| Data preparator associated to attribute InGxKnlZStrip3d. | |
| boost::shared_ptr< LineStripParser > | _pInGyKnlZStrip3dBuf |
| Data preparator associated to attribute InGyKnlZStrip3d. | |
| boost::shared_ptr< LineStripParser > | _pInGzKnlZStrip3dBuf |
| Data preparator associated to attribute InGzKnlZStrip3d. | |
| boost::shared_ptr< LineStripParser > | _pOutZStrip3dBuf |
| Data preparator associated to attribute OutZStrip3d. | |
Protected Attributes inherited from ipsdk::processor::BaseProcessor | |
| eProcessorProgressAvailability | _processorProgressAvailability |
| ipUInt32 | _nbIter |
Protected Attributes inherited from ipsdk::core::BaseAction | |
| eCR_Failure | |
| eCR_Exception | |
| eCR_Cancellation | |
| eERD_Success | |
| eERD_Failure | |
| eERD_Canceled | |
| eERD_Running | |
Protected Attributes inherited from ipsdk::SerializationObjectWithGuid | |
| Guid | _guid |
Additional Inherited Members | |
Public Types inherited from ipsdk::processor::BaseProcessingAlgorithm | |
| typedef DataTypeIdentifierColl | DataTypeIdColl |
| typedef AlgorithmFunctionIdentifier | FunctionId |
| typedef AlgorithmFunctionSelector | FunctionSelector |
| typedef BoolResult(BaseProcessingAlgorithm::* | FunctionType) (const ProcessingInfo &info) |
Level 3 algorithm: detects circles in images of gradient using Hough algorithm.
See Computation of accumulator matrix for Hough spheres detection for a complete algorithm description.
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InGxKnlZStrip3d | [Input]image z strip 3d containing gradient computed along x-axis | X |
| ipsdk::imaproc::attr::InGyKnlZStrip3d | [Input]image z strip 3d containing gradient computed along y-axis | X |
| ipsdk::imaproc::attr::InGzKnlZStrip3d | [Input]image z strip 3d containing gradient computed along z-axis | X |
| ipsdk::imaproc::attr::InCircleIntensityType | [Input] circle intensity type for detection algorithms | X |
| ipsdk::imaproc::attr::InMaxAngleWithGradDir | [Input] maximum angle with gradient direction, in degrees | X |
| ipsdk::imaproc::attr::InHoughCirclesRadiusRange | [Input] range of radius of circles to detect using Hough circles algorithm | X |
| ipsdk::imaproc::attr::InHoughSpheresKernelXYZ | [Input] kernel information associated to Hough circles detector | X |
| ipsdk::imaproc::attr::OutZStrip3d | [Output] z strip 3d for operation | X |
Global rule on attributes is given by
ipsdk::processor::none ()
Processing function selection for this algorithm is based on following attribute data types :
For More informations about algorithm function selection see AlgorithmFunctionSelection
Algorithm parsed data is based on following attributes :
For More informations about algorithm parsed data see AlgorithmParsedData
| TAttribute::StorageType ipsdk::imaproc::fd::HoughSpheres3dImgLvl3::getStorage | ( | ) |
retrieve storage associated to a given attribute
| ipsdk::processor::IPSDKBaseProcessingException | if isInit() == false |
|
protectedvirtual |
method called before processing
Reimplemented from ipsdk::processor::BaseProcessingAlgorithm.
1.8.14