CAutoImageNormalizeProcessorComp.h
Go to the documentation of this file.
1 #ifndef iipr_CAutoImageNormalizeProcessorComp_included
2 #define iipr_CAutoImageNormalizeProcessorComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 // ACF includes
9 #include "i2d/CRectangle.h"
10 
11 // ACF-Solutions includes
12 #include "imeas/INumericValue.h"
13 
15 
16 
17 namespace iipr
18 {
19 
20 
22 {
23 public:
25 
26  I_BEGIN_COMPONENT(CAutoImageNormalizeProcessorComp);
27  I_ASSIGN(m_aoiParamIdAttrPtr, "AoiParamId", "ID of rectangle AOI area in parameter set, only this area will processed", false, "AoiParamId");
28  I_ASSIGN(m_defaultAoiParamCompPtr, "DefaultAoiParam", "Default parameter for rectangle AOI area, if no parameters are specified", false, "DefaultAoiParam");
29  I_ASSIGN(m_clippingThresholdIdAttrPtr, "ClippingThresholdId", "ID of the clipping threshold in parameter set, only this area will processed", false, "ClippingThresholdId");
30  I_ASSIGN(m_defaultClippingThresholdCompPtr, "DefaultClippingThreshold", "Default parameter for clipping threshold, if no parameters are specified", false, "DefaultClippingThreshold");
31  I_END_COMPONENT;
32 
33 protected:
34  // reimplemented (iipr::CImageProcessorCompBase)
35  virtual bool ProcessImage(
36  const iprm::IParamsSet* paramsPtr,
37  const iimg::IBitmap& inputImage,
38  iimg::IBitmap& outputImage);
39 
40 private:
41  I_ATTR(QByteArray, m_aoiParamIdAttrPtr);
42  I_REF(i2d::CRectangle, m_defaultAoiParamCompPtr);
43 
44  I_ATTR(QByteArray, m_clippingThresholdIdAttrPtr);
45  I_REF(imeas::INumericValue, m_defaultClippingThresholdCompPtr);
46 };
47 
48 
49 } // namespace iipr
50 
51 
52 #endif // !iipr_CAutoImageNormalizeProcessorComp_included
53 
54 
Basic implementation for a simple bitmap processor.
General parameter set containing list of numeric values.
Definition: INumericValue.h:19
virtual bool ProcessImage(const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &inputImage, iimg::IBitmap &outputImage)

© 2007-2011 Witold Gantzke and Kirill Lepskiy