CGrayToRgbProcessorComp.h
Go to the documentation of this file.
1 #ifndef iipr_CGrayToRgbProcessorComp_included
2 #define iipr_CGrayToRgbProcessorComp_included
3 
4 
5 // ACF includes
6 #include <iimg/IBitmap.h>
7 
8 // ACF-Solutions includes
10 
11 
12 namespace iipr
13 {
14 
15 
20 {
21 public:
23 
24  I_BEGIN_COMPONENT(CGrayToRgbProcessorComp);
25  I_END_COMPONENT;
26 
27  // reimplemented (iproc::IProcessor)
28  virtual int DoProcessing(
29  const iprm::IParamsSet* paramsPtr,
30  const istd::IPolymorphic* inputPtr,
31  istd::IChangeable* outputPtr,
32  ibase::IProgressManager* progressManagerPtr = NULL);
33 
34 private:
35  bool ConvertImage(const iimg::IBitmap& inputBitmap, iimg::IBitmap& outputBitmap) const;
36 };
37 
38 
39 } // namespace iipr
40 
41 
42 #endif // !iipr_CGrayToRgbProcessorComp_included
43 
Simple definition macro for a synchronous processor.
virtual int DoProcessing(const iprm::IParamsSet *paramsPtr, const istd::IPolymorphic *inputPtr, istd::IChangeable *outputPtr, ibase::IProgressManager *progressManagerPtr=NULL)
Implementation of a processor for the Grayscale-To-RGB image conversion.
iproc::CSyncProcessorCompBase BaseClass

© 2007-2017 Witold Gantzke and Kirill Lepskiy