CImageHistogramProcessorComp.h
Go to the documentation of this file.
1 #ifndef iipr_CImageHistogramProcessorComp_included
2 #define iipr_CImageHistogramProcessorComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QStringList>
7 
8 
9 // ACF-Solutions includes
13 
14 
15 namespace iipr
16 {
17 
18 
23 {
24 public:
26 
27  I_BEGIN_COMPONENT(CImageHistogramProcessorComp);
28  I_END_COMPONENT;
29 
30 protected:
32  {
33  public:
34  HistogramChannelInfo(const QStringList& channelNames);
35 
36  // reimplemented (imeas::INumericConstraints)
37  virtual int GetNumericValuesCount() const;
38  virtual QString GetNumericValueName(int index) const;
39  virtual QString GetNumericValueDescription(int index) const;
40 
41  private:
42  QStringList m_channelNames;
43  };
44 
45  // reimplemented (CImageRegionProcessorCompBase)
46  virtual bool ProcessImageRegion(
47  const iimg::IBitmap& inputBitmap,
48  const iprm::IParamsSet* paramsPtr,
49  const i2d::IObject2d* aoiPtr,
50  istd::IChangeable* outputPtr) const;
51 };
52 
53 
54 } // namespace iipr
55 
56 
57 #endif // !iipr_CImageHistogramProcessorComp_included
58 
virtual bool ProcessImageRegion(const iimg::IBitmap &inputBitmap, const iprm::IParamsSet *paramsPtr, const i2d::IObject2d *aoiPtr, istd::IChangeable *outputPtr) const
Process the defined image region.
HistogramChannelInfo(const QStringList &channelNames)
virtual int GetNumericValuesCount() const
Get number of expected numeric values.
virtual QString GetNumericValueName(int index) const
Get human readable name of numeric value for specified list index.
Simple base class for implementations of interface imeas::IDataSequenceInfo.
Basic implementation for a image region processor.
virtual QString GetNumericValueDescription(int index) const
Get human readable description of numeric value for specified list index.
Implementation of a processor for the image histogram calculation.

© 2007-2011 Witold Gantzke and Kirill Lepskiy