![]() |
ICF 3.1.1.10
Technical documentation of ICF Libraries
|
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 |
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 ilog::TLoggerCompWrap< Base > | |
| enum | MessageId { MI_BAD_DEPENDENCY = 0x8a340 } |
| typedef Base | BaseClass |
| typedef ilog::CLoggerBase | BaseClass2 |
Public Types inherited from iproc::TSyncProcessorWrap< Base > | |
| 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 override |
| void | OnComponentCreated () override |
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::TLoggerCompWrap< Base > | |
| 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 | |
Public Member Functions inherited from iipr::CImageProcessorCompBase | |
| 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::IMessageConsumer * | GetLogPtr () const override |
| Get log. | |
Public Member Functions inherited from ilog::ILoggable | |
Public Member Functions inherited from iproc::TSyncProcessorWrap< Base > | |
| 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 Attributes inherited from ilog::CLoggerBase | |
| QSet< int > | m_onceMessageIds |
Implementation of image smooth operator with homogeneous rectangle kernel.
This implementation uses moving average alghorithm.
Definition at line 25 of file CRectImageSmoothProcessorComp.h.
Definition at line 28 of file CRectImageSmoothProcessorComp.h.
| Enumerator | |
|---|---|
| BM_STRETCH_KERNEL | |
| BM_REDUCE_OUTPUT | |
Definition at line 37 of file CRectImageSmoothProcessorComp.h.
| Enumerator | |
|---|---|
| UM_PIXEL | |
| UM_PERCENT | |
| UM_PERCENT_DIAG | |
Definition at line 30 of file CRectImageSmoothProcessorComp.h.
|
static |
|
static |
|
static |
|
overrideprotected |
|
overrideprotectedvirtual |
Implements iipr::CImageProcessorCompBase.
© Witold Gantzke and Kirill Lepskiy