![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Crop the image region and rectificate (de-calibrate) it. More...
#include <CImageCropDecalibrateProcessorComp.h>
Public Types | |
enum | OrientationMode { OM_SIMPLE , OM_VISUAL , OM_NO_REFLEXION } |
enum | InterpolationMode { IM_SIMPLE , IM_LINEAR } |
typedef iproc::CSyncProcessorCompBase | BaseClass |
![]() | |
typedef ilog::CLoggerComponentBase | BaseClass |
typedef iproc::TSyncProcessorWrap< Base > | BaseClass2 |
typedef Interface | InterfaceType |
![]() | |
enum | MessageId { MI_BAD_DEPENDENCY = 0x8a340 } |
typedef Base | BaseClass |
typedef ilog::CLoggerBase | BaseClass2 |
![]() | |
typedef Base | BaseClass |
Public Member Functions | |
CImageCropDecalibrateProcessorComp () | |
virtual iproc::CTaskState | DoProcessing (const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override |
![]() | |
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. | |
![]() | |
![]() | |
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 |
Static Public Member Functions | |
static bool | CropImage (const i2d::CRectangle &sourceAoi, int cellSize, const iimg::IBitmap &inputBitmap, iimg::IBitmap &outputBitmap, istd::CIndex2d *outputImageSizePtr=nullptr, int interpolationMode=IM_LINEAR, int orientationMode=OM_SIMPLE, ilog::IMessageConsumer *resultConsumerPtr=nullptr) |
static bool | CalcCalibration (const i2d::CRectangle &sourceAoi, icalib::CAffineCalibration2d &outputCalib, istd::CIndex2d *outputImageSizePtr=nullptr, int orientationMode=OM_SIMPLE) |
Static Protected Member Functions | |
static bool | CalcOutputImageSize (const i2d::CRectangle &sourceAoi, istd::CIndex2d &result) |
Additional Inherited Members | |
![]() | |
virtual 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 |
![]() | |
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. | |
![]() | |
![]() | |
QSet< int > | m_onceMessageIds |
Crop the image region and rectificate (de-calibrate) it.
Definition at line 28 of file CImageCropDecalibrateProcessorComp.h.
Definition at line 31 of file CImageCropDecalibrateProcessorComp.h.
Enumerator | |
---|---|
IM_SIMPLE | |
IM_LINEAR |
Definition at line 57 of file CImageCropDecalibrateProcessorComp.h.
Enumerator | |
---|---|
OM_SIMPLE | |
OM_VISUAL | |
OM_NO_REFLEXION |
Definition at line 50 of file CImageCropDecalibrateProcessorComp.h.
iipr::CImageCropDecalibrateProcessorComp::CImageCropDecalibrateProcessorComp | ( | ) |
|
static |
|
staticprotected |
|
static |
|
overridevirtual |
© Witold Gantzke and Kirill Lepskiy