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

Implementation of image processor using convolution kernel. More...

#include <CConvolutionProcessorComp.h>

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

Public Types

typedef
iipr::CImageProcessorCompBase 
BaseClass
 
- Public Types inherited from iipr::CImageProcessorCompBase
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
 
- 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
 

Static Public Member Functions

static bool DoConvolutionFilter (const IConvolutionKernel2d &kernel, BackgroundFillMode backgroundMode, iimg::IBitmap::PixelFormat outputPixelFormat, const iimg::IBitmap &inputImage, const iimg::CScanlineMask &resultMask, iimg::IBitmap &outputImage, istd::ILogger *loggerPtr=NULL)
 Calculate complete convolution with all parameters as static function. More...
 

Protected Member Functions

virtual bool ProcessImage (const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &inputImage, iimg::IBitmap &outputImage) const
 
- Protected Member Functions inherited from iipr::CImageProcessorCompBase
BackgroundFillMode GetBackgroundMode (const iprm::IParamsSet *paramsPtr) const
 
iimg::IBitmap::PixelFormat GetOutputPixelFormat (const iprm::IParamsSet *paramsPtr) const
 
AoiMode GetAoiMode (const iprm::IParamsSet *paramsPtr) const
 
- 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::CImageProcessorCompBase
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

Implementation of image processor using convolution kernel.

Definition at line 20 of file CConvolutionProcessorComp.h.

Member Typedef Documentation

Definition at line 23 of file CConvolutionProcessorComp.h.

Member Function Documentation

static bool iipr::CConvolutionProcessorComp::DoConvolutionFilter ( const IConvolutionKernel2d kernel,
BackgroundFillMode  backgroundMode,
iimg::IBitmap::PixelFormat  outputPixelFormat,
const iimg::IBitmap inputImage,
const iimg::CScanlineMask resultMask,
iimg::IBitmap outputImage,
istd::ILogger loggerPtr = NULL 
)
static

Calculate complete convolution with all parameters as static function.

Parameters
kernelconvolution kernel for this filter.
backgroundModemode of background fill.
outputPixelFormatformat of output pixel, if equals iimg::IBitmap::PF_UNKNOWN will automatically calculated.
inputImageinput image.
resultMaskAOI mask where the result pixels should be calculated.
outputImageoutput image.
loggerPtroptional object collecting processing messages.
virtual bool iipr::CConvolutionProcessorComp::ProcessImage ( const iprm::IParamsSet paramsPtr,
const iimg::IBitmap inputImage,
iimg::IBitmap outputImage 
) const
protectedvirtual

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

© 2007-2017 Witold Gantzke and Kirill Lepskiy