NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkStereoVideoProcessorTemplateMethod.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 mitkStereoVideoProcessorTemplateMethod_h
16 #define mitkStereoVideoProcessorTemplateMethod_h
17 
18 #include "niftkOpenCVExports.h"
19 #include "mitkBaseVideoProcessor.h"
20 
28 namespace mitk {
29 
31 {
32 
33 public:
34 
36 
37 
40  virtual void Initialize() override;
41 
42 protected:
43 
45  StereoVideoProcessorTemplateMethod(const bool& writeInterleaved, CvCapture *capture = NULL, CvVideoWriter *writer = NULL);
46  StereoVideoProcessorTemplateMethod(const bool& writeInterleaved, const std::string& inputFile, const std::string& outputFile);
47 
48  StereoVideoProcessorTemplateMethod(const StereoVideoProcessorTemplateMethod&); // Purposefully not implemented.
49  StereoVideoProcessorTemplateMethod& operator=(const StereoVideoProcessorTemplateMethod&); // Purposefully not implemented.
50 
56  CvSize GetOutputImageSize() override;
57 
61  virtual void WriteOutput(IplImage &leftOutput, IplImage &rightOutput);
62 
63 private:
64 
65  bool m_WriteInterleaved;
66  IplImage *m_OutputImage;
67  int m_FrameCount;
68 
69 }; // end class
70 
71 } // end namespace
72 
73 #endif // MITKSTEREOVIDEOPROCESSORTEMPLATEMETHOD_H
Definition: ReceptorMemberCommandTest.cxx:25
Definition: mitkStereoVideoProcessorTemplateMethod.h:30
Definition: mitkBaseVideoProcessor.h:36
#define NIFTKOPENCV_EXPORT
Definition: niftkSequentialCpuQds.h:27
GLsizei const GLcharARB ** string
Definition: glew.h:5194