CImageCopyProcessorComp.h
Go to the documentation of this file.
1 #ifndef iipr_CImageCopyProcessorComp_included
2 #define iipr_CImageCopyProcessorComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QString>
7 
8 // ACF includes
9 #include <i2d/CRectangle.h>
10 #include <iimg/CScanlineMask.h>
11 
12 // ACF-Solutions includes
14 #include <imeas/INumericValue.h>
16 
17 
18 namespace iipr
19 {
20 
21 
26 {
27 public:
29 
30  I_BEGIN_COMPONENT(CImageCopyProcessorComp);
31  I_END_COMPONENT;
32 
33  static bool DoImageCopy(
34  iimg::IBitmap::PixelFormat outputPixelFormat,
35  const iimg::IBitmap& inputImage,
36  const iimg::CScanlineMask& resultMask,
37  iimg::IBitmap& outputImage,
38  istd::ILogger* loggerPtr = NULL);
39 
40 protected:
41  // reimplemented (iipr::CImageProcessorCompBase)
42  virtual bool ProcessImage(
43  const iprm::IParamsSet* paramsPtr,
44  const iimg::IBitmap& inputImage,
45  iimg::IBitmap& outputImage) const;
46 };
47 
48 
49 } // namespace iipr
50 
51 
52 #endif // !iipr_CImageCopyProcessorComp_included
53 
54 
virtual bool ProcessImage(const iprm::IParamsSet *paramsPtr, const iimg::IBitmap &inputImage, iimg::IBitmap &outputImage) const
iipr::CImageProcessorCompBase BaseClass
static bool DoImageCopy(iimg::IBitmap::PixelFormat outputPixelFormat, const iimg::IBitmap &inputImage, const iimg::CScanlineMask &resultMask, iimg::IBitmap &outputImage, istd::ILogger *loggerPtr=NULL)
Basic implementation for a simple bitmap processor.
Implementation of image copy with convertion of image type.

© 2007-2017 Witold Gantzke and Kirill Lepskiy