Go to the documentation of this file.
6#ifndef iipr_CImageNormalizeProcessorComp_included
7#define iipr_CImageNormalizeProcessorComp_included
11#include <QtCore/QString>
34 I_ASSIGN(m_adjustParamsIdAttrPtr,
"AdjustParamsId",
"ID of parameters for contrast and brightness in parameter set",
false,
"AdjustParamsId");
35 I_ASSIGN(m_defaultAdjustParamsCompPtr,
"DefaultAdjustParams",
"Default adjust parameters, if no parameters are specified",
false,
"DefaultAdjustParams");
36 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");
37 I_ASSIGN(m_defaultClippingThresholdCompPtr,
"DefaultHistogramClipThreshold",
"Default parameter for clipping threshold, if no parameters are specified",
false,
"DefaultHistogramClipThreshold");
38 I_ASSIGN(m_useHistogramAdjustmentCompPtr,
"UseHistogramAdjustment",
"If enabled the histogram adjustment will be done before appling the other parameters",
true,
false);
59 I_ATTR(QByteArray, m_adjustParamsIdAttrPtr);
61 I_ATTR(QByteArray, m_clippingThresholdIdAttrPtr);
63 I_ATTR(
bool, m_useHistogramAdjustmentCompPtr);
Representation of a 2D-region as container of bitmap line scans.
Definition of single plane bitmap.
PixelFormat
Bitmap pixel format description.
Implementation of contrast and brightness adjustment processor supporting dynamic correction based on...
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=nullptr)
virtual bool ProcessImage(const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &inputImage, iimg::IBitmap &outputImage) const override
iipr::CImageProcessorCompBase BaseClass
Basic implementation for a simple bitmap processor.
Get parameter of linear adjust.
General parameter set containing list of numeric values.
Set of general parameters.
Common interface for classes sending some log info.
Contains the image processing classes.
© Witold Gantzke and Kirill Lepskiy