NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
mitkStereoTwoTimePointVideoProcessorTemplateMethod.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 mitkStereoTwoTimePointVideoProcessorTemplateMethod_h
16 #define mitkStereoTwoTimePointVideoProcessorTemplateMethod_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  StereoTwoTimePointVideoProcessorTemplateMethod(const bool& writeInterleaved, CvCapture *capture = NULL, CvVideoWriter *writer = NULL);
49  StereoTwoTimePointVideoProcessorTemplateMethod(const bool& writeInterleaved, const std::string& inputFile, const std::string& outputFile);
50 
53 
57  virtual void DoProcessing(
58  const IplImage &leftT1,
59  const IplImage &rightT1,
60  const IplImage &leftT2,
61  const IplImage &rightT2,
62  IplImage &leftOutput,
63  IplImage &rightOutput) = 0;
64 
65 private:
66 
67  IplImage *m_LeftT1;
68  IplImage *m_RightT1;
69  IplImage *m_LeftT2;
70  IplImage *m_RightT2;
71  IplImage *m_LeftOutput;
72  IplImage *m_RightOutput;
73 
74 }; // end class
75 
76 } // end namespace
77 
78 #endif // MITKSTEREOTWOTIMEPOINTVIDEOPROCESSORTEMPLATEMETHOD_H
Definition: ReceptorMemberCommandTest.cxx:25
Definition: mitkStereoVideoProcessorTemplateMethod.h:30
#define NIFTKOPENCV_EXPORT
Definition: niftkSequentialCpuQds.h:27
Definition: mitkStereoTwoTimePointVideoProcessorTemplateMethod.h:28
GLsizei const GLcharARB ** string
Definition: glew.h:5194