Public Types | Protected Member Functions | List of all members
iipr::CMorphologicalProcessorComp Class Reference

Processor for image cropping. More...

#include <CMorphologicalProcessorComp.h>

Inheritance diagram for iipr::CMorphologicalProcessorComp:
iipr::CImageRegionProcessorCompBase iproc::TSyncProcessorCompBase< Base, Interface > ilog::TLoggerCompWrap< Base > iproc::TSyncProcessorWrap< Base > ilog::CLoggerBase ilog::ILoggable istd::ILogger istd::IPolymorphic istd::IPolymorphic

Public Types

enum  ProcessingMode {
  PM_FIRST, PM_EROSION = PM_FIRST, PM_DILATATION, PM_OPENING,
  PM_CLOSING, PM_WHITE_TOP_HAT, PM_BLACK_TOP_HAT, PM_MORPHO_GRADIENT,
  PM_LAST = PM_MORPHO_GRADIENT
}
 
enum  KernelType { KT_FIRST, KT_RECT = KT_FIRST, KT_CIRCLE, KT_LAST = KT_CIRCLE }
 
typedef
CImageRegionProcessorCompBase 
BaseClass
 
- Public Types inherited from iipr::CImageRegionProcessorCompBase
typedef
iproc::CSyncProcessorCompBase 
BaseClass
 
- Public Types inherited from iproc::TSyncProcessorCompBase< Base, Interface >
typedef ilog::CLoggerComponentBase BaseClass
 
typedef
iproc::TSyncProcessorWrap
< Base > 
BaseClass2
 
typedef Interface InterfaceType
 
- Public Types inherited from iproc::TSyncProcessorWrap< Base >
typedef Base BaseClass
 

Protected Member Functions

virtual bool ProcessImageRegion (const iimg::IBitmap &inputBitmap, const iprm::IParamsSet *paramsPtr, const i2d::IObject2d *aoiPtr, istd::IChangeable *outputPtr) const
 Process the defined image region. More...
 
void OnComponentCreated ()
 
- Protected Member Functions inherited from ilog::CLoggerBase
virtual void DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const
 

Additional Inherited Members

- Public Member Functions inherited from iipr::CImageRegionProcessorCompBase
virtual int DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
 
- 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< Base >
 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)
 

Detailed Description

Processor for image cropping.

Definition at line 21 of file CMorphologicalProcessorComp.h.

Member Typedef Documentation

Definition at line 24 of file CMorphologicalProcessorComp.h.

Member Enumeration Documentation

Enumerator
KT_FIRST 
KT_RECT 
KT_CIRCLE 
KT_LAST 

Definition at line 39 of file CMorphologicalProcessorComp.h.

Enumerator
PM_FIRST 
PM_EROSION 
PM_DILATATION 
PM_OPENING 
PM_CLOSING 
PM_WHITE_TOP_HAT 
PM_BLACK_TOP_HAT 
PM_MORPHO_GRADIENT 
PM_LAST 

Definition at line 26 of file CMorphologicalProcessorComp.h.

Member Function Documentation

void iipr::CMorphologicalProcessorComp::OnComponentCreated ( )
protected
virtual bool iipr::CMorphologicalProcessorComp::ProcessImageRegion ( const iimg::IBitmap inputBitmap,
const iprm::IParamsSet paramsPtr,
const i2d::IObject2d aoiPtr,
istd::IChangeable outputPtr 
) const
protectedvirtual

Process the defined image region.

Implements iipr::CImageRegionProcessorCompBase.


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

© 2007-2017 Witold Gantzke and Kirill Lepskiy