Go to the documentation of this file.
6#ifndef iipr_CImageRegionProcessorCompBase_included
7#define iipr_CImageRegionProcessorCompBase_included
40 I_ASSIGN(m_aoiParamIdAttrPtr,
"AoiParamId",
"ID of the AOI region in the parameter set (i2d::IObject2d)",
true,
"AoiParams");
41 I_ASSIGN(m_defaultAoiCompPtr,
"DefaultAoi",
"Area of interest used if not specified in parameters",
false,
"DefaultAoi");
42 I_ASSIGN(m_allowEmptyRegionAttrPtr,
"AllowEmptyAoi",
"If enabled the full image area is used of no AOI was set",
true,
false);
48 const istd::IPolymorphic* inputPtr,
50 bool allowAsync =
false,
65 I_ATTR(QByteArray, m_aoiParamIdAttrPtr);
67 I_ATTR(
bool, m_allowEmptyRegionAttrPtr);
Common interface for describing the 2D-objects.
Definition of single plane bitmap.
Basic implementation for a image region processor.
iproc::CSyncProcessorCompBase BaseClass
virtual bool ProcessImageRegion(const iimg::IBitmap &inputBitmap, const iprm::IParamsSet *paramsPtr, const i2d::IObject2d *aoiPtr, istd::IChangeable *outputPtr) const =0
Process the defined image region.
virtual iproc::CTaskState DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, bool allowAsync=false, iproc::IProgressManager *progressManagerPtr=nullptr) override
Set of general parameters.
Represent state of asynchronous operation.
Consume information about progress of some process.
Simple definition macro for a synchronous processor.
Common interface for data model objects, which can be changed.
Contains the system indenendent definitions of image and related themes.
Contains the image processing classes.
© Witold Gantzke and Kirill Lepskiy