Implementation of image smooth operator with homogeneous rectangle kernel. More...
#include <CRectImageSmoothProcessorComp.h>
Public Types | |
enum | UnitMode { UM_PIXEL, UM_PERCENT, UM_PERCENT_DIAG } |
enum | BorderMode { BM_STRETCH_KERNEL, BM_REDUCE_OUTPUT } |
typedef CImageProcessorCompBase | BaseClass |
![]() | |
enum | AoiMode { AM_INPUT_PIXELS, AM_OUTPUT_PIXELS } |
Describes modes of AOI interpretation. More... | |
enum | BackgroundFillMode { BFM_NONE, BFM_RESET, BFM_UNCHANGED, BFM_INPUT } |
Describes modes for out-of-AOI background fill. More... | |
typedef iproc::CSyncProcessorCompBase | BaseClass |
![]() | |
typedef ilog::CLoggerComponentBase | BaseClass |
typedef iproc::TSyncProcessorWrap < Base > | BaseClass2 |
typedef Interface | InterfaceType |
![]() | |
typedef Base | BaseClass |
Static Public Member Functions | |
static bool | DoRectFilter (int filterWidth, int filterHeight, iimg::IBitmap::PixelFormat outputPixelFormat, const iimg::IBitmap &inputBitmap, iimg::IBitmap &outputBitmap, BorderMode borderMode=BM_STRETCH_KERNEL) |
static bool | DoRectFilterHorizontal (int filterWidth, iimg::IBitmap::PixelFormat outputPixelFormat, const iimg::IBitmap &inputBitmap, iimg::IBitmap &outputBitmap, BorderMode borderMode=BM_STRETCH_KERNEL) |
static bool | DoRectFilterVertical (int filterHeight, iimg::IBitmap::PixelFormat outputPixelFormat, const iimg::IBitmap &inputBitmap, iimg::IBitmap &outputBitmap, BorderMode borderMode=BM_STRETCH_KERNEL) |
Protected Member Functions | |
virtual bool | ProcessImage (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &inputImage, iimg::IBitmap &outputImage) const |
virtual void | OnComponentCreated () |
![]() | |
BackgroundFillMode | GetBackgroundMode (const iprm::IParamsSet *paramsPtr) const |
iimg::IBitmap::PixelFormat | GetOutputPixelFormat (const iprm::IParamsSet *paramsPtr) const |
AoiMode | GetAoiMode (const iprm::IParamsSet *paramsPtr) const |
![]() | |
virtual void | DecorateMessage (istd::IInformationProvider::InformationCategory category, int id, int flags, QString &message, QString &messageSource) const |
Additional Inherited Members | |
![]() | |
virtual int | DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL) |
![]() | |
virtual void | SetLogPtr (IMessageConsumer *logPtr)=0 |
virtual IMessageConsumer * | GetLogPtr () const =0 |
virtual void | SetTracingEnabled (bool trace)=0 |
virtual bool | IsTracingEnabled () const =0 |
![]() | |
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) |
Implementation of image smooth operator with homogeneous rectangle kernel.
This implementation uses moving average alghorithm.
Definition at line 20 of file CRectImageSmoothProcessorComp.h.
Definition at line 23 of file CRectImageSmoothProcessorComp.h.
Enumerator | |
---|---|
BM_STRETCH_KERNEL | |
BM_REDUCE_OUTPUT |
Definition at line 32 of file CRectImageSmoothProcessorComp.h.
Enumerator | |
---|---|
UM_PIXEL | |
UM_PERCENT | |
UM_PERCENT_DIAG |
Definition at line 25 of file CRectImageSmoothProcessorComp.h.
|
static |
|
static |
|
static |
|
protectedvirtual |
|
protectedvirtual |
Implements iipr::CImageProcessorCompBase.
© 2007-2017 Witold Gantzke and Kirill Lepskiy