1 #ifndef iipr_CImageNormalizeProcessorComp_included
2 #define iipr_CImageNormalizeProcessorComp_included
6 #include <QtCore/QString>
31 I_ASSIGN(m_adjustParamsIdAttrPtr,
"AdjustParamsId",
"ID of parameters for contrast and brightness in parameter set",
false,
"AdjustParamsId");
32 I_ASSIGN(m_defaultAdjustParamsCompPtr,
"DefaultAdjustParams",
"Default adjust parameters, if no parameters are specified",
false,
"DefaultAdjustParams");
33 I_ASSIGN(m_clippingThresholdIdAttrPtr,
"HistogramClipThresholdId",
"ID of the histogram clipping threshold in parameter set, only histogram parts over this area will be processed",
false,
"HistogramClipThreshold");
34 I_ASSIGN(m_defaultClippingThresholdCompPtr,
"DefaultHistogramClipThreshold",
"Default parameter for clipping threshold, if no parameters are specified",
false,
"DefaultHistogramClipThreshold");
35 I_ASSIGN(m_useHistogramAdjustmentCompPtr,
"UseHistogramAdjustment",
"If enabled the histogram adjustment will be done before appling the other parameters",
true,
false);
42 iimg::IBitmap::PixelFormat outputPixelFormat,
56 I_ATTR(QByteArray, m_adjustParamsIdAttrPtr);
58 I_ATTR(QByteArray, m_clippingThresholdIdAttrPtr);
60 I_ATTR(
bool, m_useHistogramAdjustmentCompPtr);
67 #endif // !iipr_CImageNormalizeProcessorComp_included
Get parameter of linear adjust.
Implementation of contrast and brightness adjustment processor supporting dynamic correction based on...
iipr::CImageProcessorCompBase BaseClass
Basic implementation for a simple bitmap processor.
static bool DoAdjustFilter(double contrast, double brightness, int backgroundMode, iimg::IBitmap::PixelFormat outputPixelFormat, const iimg::IBitmap &inputImage, const iimg::CScanlineMask &resultMask, iimg::IBitmap &outputImage, istd::ILogger *loggerPtr=NULL)
General parameter set containing list of numeric values.
virtual bool ProcessImage(const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &inputImage, iimg::IBitmap &outputImage) const