ICF 3.1.1.10
Technical documentation of ICF Libraries
CImageHistogramProcessorComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#ifndef iipr_CImageHistogramProcessorComp_included
7#define iipr_CImageHistogramProcessorComp_included
8
9
10// Qt includes
11#include <QtCore/QStringList>
12
13// ICF includes
16
17
18namespace iipr
19{
20
21
26{
27public:
29
30 I_BEGIN_COMPONENT(CImageHistogramProcessorComp);
31 I_END_COMPONENT;
32
33 static bool CalculateHistogram(
34 const iimg::IBitmap& inputBitmap,
35 const i2d::IObject2d* aoiPtr,
36 istd::IChangeable* outputPtr,
37 QString& errorString);
38
39protected:
40 // reimplemented (CImageRegionProcessorCompBase)
41 virtual bool ProcessImageRegion(
42 const iimg::IBitmap& inputBitmap,
43 const iprm::IParamsSet* paramsPtr,
44 const i2d::IObject2d* aoiPtr,
45 istd::IChangeable* outputPtr) const override;
46};
47
48
49} // namespace iipr
50
51
52#endif // !iipr_CImageHistogramProcessorComp_included
53
Common interface for describing the 2D-objects.
Definition IObject2d.h:30
Definition of single plane bitmap.
Definition IBitmap.h:24
Implementation of a processor for the image histogram calculation.
virtual bool ProcessImageRegion(const iimg::IBitmap &inputBitmap, const iprm::IParamsSet *paramsPtr, const i2d::IObject2d *aoiPtr, istd::IChangeable *outputPtr) const override
Process the defined image region.
static bool CalculateHistogram(const iimg::IBitmap &inputBitmap, const i2d::IObject2d *aoiPtr, istd::IChangeable *outputPtr, QString &errorString)
Basic implementation for a image region processor.
Set of general parameters.
Definition IParamsSet.h:29
Common interface for data model objects, which can be changed.
Definition IChangeable.h:32
Contains the image processing classes.

© Witold Gantzke and Kirill Lepskiy