NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkMonoVideoProcessorTemplateMethod.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef mitkMonoVideoProcessorTemplateMethod_h
16 #define mitkMonoVideoProcessorTemplateMethod_h
17 
18 #include "niftkOpenCVExports.h"
19 #include "mitkBaseVideoProcessor.h"
20 
27 namespace mitk {
28 
30 {
31 
32 public:
33 
35 
36 
39  virtual void Initialize() override;
40 
44  virtual void Run() override;
45 
46 protected:
47 
49  MonoVideoProcessorTemplateMethod(CvCapture *capture = NULL, CvVideoWriter *writer = NULL);
50  MonoVideoProcessorTemplateMethod(const std::string& inputFile, const std::string& outputFile);
51 
52  MonoVideoProcessorTemplateMethod(const MonoVideoProcessorTemplateMethod&); // Purposefully not implemented.
53  MonoVideoProcessorTemplateMethod& operator=(const MonoVideoProcessorTemplateMethod&); // Purposefully not implemented.
54 
59  CvSize GetOutputImageSize() override;
60 
64  virtual void DoProcessing(const IplImage &input, IplImage &output) = 0;
65 
66 private:
67 
68  IplImage *m_OutputImage;
69 
70 }; // end class
71 
72 } // end namespace
73 
74 #endif // MITKMONOVIDEOPROCESSORTEMPLATEMETHOD_H
GLenum GLenum GLenum input
Definition: glew.h:12016
Definition: ReceptorMemberCommandTest.cxx:25
Definition: mitkBaseVideoProcessor.h:36
Definition: mitkMonoVideoProcessorTemplateMethod.h:29
#define NIFTKOPENCV_EXPORT
Definition: niftkSequentialCpuQds.h:27
GLsizei const GLcharARB ** string
Definition: glew.h:5194