Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkOpenCVImageSource.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef MITKOPENCVIMAGESOURCE_H
17 #define MITKOPENCVIMAGESOURCE_H
18 
19 #include <cv.h>
20 #include <mitkCommon.h>
21 
22 namespace mitk
23 {
27  class OpenCVImageSource: virtual public itk::Object
28  {
29  public:
34 
38  virtual cv::Mat GetImage() = 0;
39  };
40 }
41 
42 #endif // MITKOPENCVIMAGESOURCE_H
DataCollection - Class to facilitate loading/accessing structured data.
mitkClassMacroItkParent(OpenCVImageSource, itk::Object)
virtual cv::Mat GetImage()=0