ICF 3.0.5.47
Technical documentation of ICF Libraries
iipr::CHoughLineFinderComp Class Reference

Processor using Hough transformation to find the lines on the image. More...

#include <CHoughLineFinderComp.h>

Inheritance diagram for iipr::CHoughLineFinderComp:
Collaboration diagram for iipr::CHoughLineFinderComp:

Public Types

enum  MessageId { FOUND_LINE = 0x934d740 , HOUGH_SPACE }
 
typedef ilog::CLoggerComponentBase BaseClass
 
- Public Types inherited from ilog::TLoggerCompWrap< Base >
enum  MessageId { MI_BAD_DEPENDENCY = 0x8a340 }
 
typedef Base BaseClass
 
typedef ilog::CLoggerBase BaseClass2
 
- Public Types inherited from iproc::TSyncProcessorWrap< IImageToFeatureProcessor >
typedef IImageToFeatureProcessor BaseClass
 

Public Member Functions

virtual iproc::CTaskState DoExtractFeatures (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &image, IFeaturesConsumer &results, iproc::IProgressManager *progressManagerPtr=nullptr) override
 
virtual iproc::CTaskState DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override
 
- Public Member Functions inherited from ilog::CLoggerBase
 CLoggerBase ()
 
const QByteArray & GetVerboseSenderId () const
 Get sender ID for verbose messages.
 
void SetVerboseSenderId (const QByteArray &id)
 Set sender ID for verbose messages.
 
void SetLogPtr (ilog::IMessageConsumer *logPtr) override
 Install log.
 
ilog::IMessageConsumerGetLogPtr () const override
 Get log.
 
- Public Member Functions inherited from ilog::ILoggable
- Public Member Functions inherited from iproc::TSyncProcessorWrap< IImageToFeatureProcessor >
 TSyncProcessorWrap ()
 
int GetProcessorState (const iprm::IParamsSet *paramsPtr) const override
 
bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const override
 
void InitProcessor (const iprm::IParamsSet *paramsPtr, bool doReset) override
 

Protected Member Functions

bool CreateHoughSpace ()
 
void UpdateHoughSpace (const i2d::CVector2d &position, const i2d::CVector2d &direction, double radiusOffset)
 
void OnComponentCreated () override
 
- Protected Member Functions inherited from ilog::TLoggerCompWrap< Base >
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const override
 Decorate message parts before outputting.
 
void OnComponentCreated () override
 
void OnComponentDestroyed () override
 
- Protected Member Functions inherited from ilog::CLoggerBase
bool IsVerboseEnabled () const
 Check if verbose messages are enabled.
 
bool SendVerboseMessage (const QString &message, const QString &messageSource=QString()) const
 Send verbose message.
 
bool SendInfoMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send info message to log.
 
bool SendWarningMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send warning message to log.
 
bool SendErrorMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send error message to log.
 
bool SendCriticalMessage (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send critical message to log.
 
bool SendInfoMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once info message to log.
 
bool SendWarningMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once warning message to log.
 
bool SendErrorMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once error message to log.
 
bool SendCriticalMessageOnce (int id, const QString &message, const QString &messageSource=QString(), int flags=0) const
 Send once critical message to log.
 
bool SendUserMessage (const istd::IInformationProvider *messagePtr) const
 Send message with user object.
 
bool AllowMessageOnceAgain (int id)
 Reset message lock.
 
bool IsLogConsumed (const istd::IInformationProvider::InformationCategory *categoryPtr=nullptr, const int *flagsPtr=nullptr) const override
 Check if any log message is consumed.
 
bool SendLogMessage (istd::IInformationProvider::InformationCategory category, int id, const QString &message, const QString &messageSource, int flags=0) const override
 Send any message to log.
 
- Protected Member Functions inherited from istd::ILogger

Additional Inherited Members

- Protected Attributes inherited from ilog::CLoggerBase
QSet< int > m_onceMessageIds
 

Detailed Description

Processor using Hough transformation to find the lines on the image.

Definition at line 28 of file CHoughLineFinderComp.h.

Member Typedef Documentation

◆ BaseClass

Member Enumeration Documentation

◆ MessageId

Enumerator
FOUND_LINE 
HOUGH_SPACE 

Definition at line 49 of file CHoughLineFinderComp.h.

Member Function Documentation

◆ CreateHoughSpace()

bool iipr::CHoughLineFinderComp::CreateHoughSpace ( )
protected

◆ DoExtractFeatures()

virtual iproc::CTaskState iipr::CHoughLineFinderComp::DoExtractFeatures ( const iprm::IParamsSet * paramsPtr,
const iimg::IBitmap & image,
IFeaturesConsumer & results,
iproc::IProgressManager * progressManagerPtr = nullptr )
overridevirtual

◆ DoProcessing()

virtual iproc::CTaskState iipr::CHoughLineFinderComp::DoProcessing ( const iprm::IParamsSet * paramsPtr,
const istd::IPolymorphic * inputPtr,
istd::IChangeable * outputPtr,
bool allowAsync = false,
iproc::IProgressManager * progressManagerPtr = nullptr )
overridevirtual

◆ OnComponentCreated()

void iipr::CHoughLineFinderComp::OnComponentCreated ( )
overrideprotected

◆ UpdateHoughSpace()

void iipr::CHoughLineFinderComp::UpdateHoughSpace ( const i2d::CVector2d & position,
const i2d::CVector2d & direction,
double radiusOffset )
protected

The documentation for this class was generated from the following file:

© Witold Gantzke and Kirill Lepskiy