Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | List of all members
iblob::CBlobProcessorCompBase Class Referenceabstract

#include <CBlobProcessorCompBase.h>

Inheritance diagram for iblob::CBlobProcessorCompBase:
iproc::TSyncProcessorCompBase< iipr::IImageToFeatureProcessor > ilog::TLoggerCompWrap< Base > iproc::TSyncProcessorWrap< iipr::IImageToFeatureProcessor > ilog::CLoggerBase iipr::IImageToFeatureProcessor ilog::ILoggable istd::ILogger iproc::IProcessor istd::IPolymorphic istd::IPolymorphic istd::IPolymorphic iblob::CPreciseBlobProcessorComp

Public Types

typedef
iproc::TSyncProcessorCompBase
< iipr::IImageToFeatureProcessor
BaseClass
 
- Public Types inherited from iproc::TSyncProcessorCompBase< iipr::IImageToFeatureProcessor >
typedef ilog::CLoggerComponentBase BaseClass
 
typedef
iproc::TSyncProcessorWrap
< iipr::IImageToFeatureProcessor
BaseClass2
 
typedef
iipr::IImageToFeatureProcessor 
InterfaceType
 
- Public Types inherited from iproc::TSyncProcessorWrap< iipr::IImageToFeatureProcessor >
typedef
iipr::IImageToFeatureProcessor 
BaseClass
 
- Public Types inherited from iproc::IProcessor
enum  MessageId { MI_BAD_PARAMS = 0x16372620, MI_PROCESSING_ERROR }
 
enum  ProcessorState { PS_UNKNOWN, PS_INITIALIZATION, PS_READY, PS_INVALID }
 State of processing. More...
 
enum  TaskState {
  TS_NONE, TS_WAIT, TS_OK, TS_CANCELED,
  TS_INVALID
}
 Describe state of task. More...
 

Public Member Functions

virtual int DoExtractFeatures (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &image, iipr::IFeaturesConsumer &results, ibase::IProgressManager *progressManagerPtr=NULL)
 Specialization of processing interface for extraction of features from image. More...
 
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 Do synchronized processing. More...
 
- Public Member Functions inherited from ilog::ILoggable
virtual void SetLogPtr (IMessageConsumer *logPtr)=0
 
virtual IMessageConsumerGetLogPtr () const =0
 
virtual void SetTracingEnabled (bool trace)=0
 
virtual bool IsTracingEnabled () const =0
 
- Public Member Functions inherited from iproc::TSyncProcessorWrap< iipr::IImageToFeatureProcessor >
 TSyncProcessorWrap ()
 
virtual int GetProcessorState (const iprm::IParamsSet *paramsPtr) const
 
virtual bool AreParamsAccepted (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, const istd::IChangeable *outputPtr) const
 
virtual int BeginTask (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
virtual int WaitTaskFinished (int taskId=-1, double timeoutTime=-1, bool killOnTimeout=true)
 
virtual void CancelTask (int taskId=-1)
 
virtual int GetReadyTask ()
 
virtual int GetTaskState (int taskId=-1) const
 
virtual void InitProcessor (const iprm::IParamsSet *paramsPtr)
 

Protected Member Functions

virtual bool CalculateBlobs (const iprm::IParamsSet *paramsPtr, const iblob::IBlobFilterParams *filterParamsPtr, const i2d::IObject2d *aoiPtr, const iimg::IBitmap &image, iipr::IFeaturesConsumer &result)=0
 
- Protected Member Functions inherited from ilog::CLoggerBase
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const
 

Static Protected Member Functions

static bool IsBlobAcceptedByFilter (const iblob::IBlobFilterParams &filterParams, double area, double perimeter, double circularity)
 

Detailed Description

Definition at line 18 of file CBlobProcessorCompBase.h.

Member Typedef Documentation

Definition at line 21 of file CBlobProcessorCompBase.h.

Member Function Documentation

virtual bool iblob::CBlobProcessorCompBase::CalculateBlobs ( const iprm::IParamsSet paramsPtr,
const iblob::IBlobFilterParams filterParamsPtr,
const i2d::IObject2d aoiPtr,
const iimg::IBitmap image,
iipr::IFeaturesConsumer result 
)
protectedpure virtual
virtual int iblob::CBlobProcessorCompBase::DoExtractFeatures ( const iprm::IParamsSet paramsPtr,
const iimg::IBitmap image,
iipr::IFeaturesConsumer results,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual

Specialization of processing interface for extraction of features from image.

Returns
state of this processor task
See Also
iproc::IProcessor::TaskState.

Implements iipr::IImageToFeatureProcessor.

virtual int iblob::CBlobProcessorCompBase::DoProcessing ( const iprm::IParamsSet paramsPtr,
const istd::IPolymorphic inputPtr,
istd::IChangeable outputPtr,
ibase::IProgressManager progressManagerPtr = NULL 
)
virtual

Do synchronized processing.

Returns
state of processing task
See Also
TaskState.

Implements iproc::IProcessor.

static bool iblob::CBlobProcessorCompBase::IsBlobAcceptedByFilter ( const iblob::IBlobFilterParams filterParams,
double  area,
double  perimeter,
double  circularity 
)
staticprotected

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy