NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkStereoOneTimePointVideoProcessorTemplateMethod.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 mitkStereoOneTimePointVideoProcessorTemplateMethod_h
16 #define mitkStereoOneTimePointVideoProcessorTemplateMethod_h
17 
18 #include "niftkOpenCVExports.h"
20 
26 namespace mitk {
27 
29 {
30 
31 public:
32 
34 
35 
38  virtual void Initialize() override;
39 
43  virtual void Run() override;
44 
45 protected:
46 
48  StereoOneTimePointVideoProcessorTemplateMethod(const bool& writeInterleaved, CvCapture *capture = NULL, CvVideoWriter *writer = NULL);
49  StereoOneTimePointVideoProcessorTemplateMethod(const bool& writeInterleaved, const std::string& inputFile, const std::string& outputFile);
50 
53 
57  virtual void DoProcessing(const IplImage &leftInput, const IplImage &rightInput, IplImage &leftOutput, IplImage &rightOutput) = 0;
58 
59 private:
60 
61  IplImage *m_LeftInput;
62  IplImage *m_RightInput;
63  IplImage *m_LeftOutput;
64  IplImage *m_RightOutput;
65 
66 }; // end class
67 
68 } // end namespace
69 
70 #endif // MITKSTEREOONETIMEPOINTVIDEOPROCESSORTEMPLATEMETHOD_H
Definition: ReceptorMemberCommandTest.cxx:25
Definition: mitkStereoVideoProcessorTemplateMethod.h:30
#define NIFTKOPENCV_EXPORT
Definition: niftkSequentialCpuQds.h:27
Definition: mitkStereoOneTimePointVideoProcessorTemplateMethod.h:28
GLsizei const GLcharARB ** string
Definition: glew.h:5194