Medical Imaging Interaction Toolkit  2018.4.99-eed36131
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 (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 #ifndef MITKOPENCVIMAGESOURCE_H
13 #define MITKOPENCVIMAGESOURCE_H
14 
15 #include <mitkCommon.h>
16 
17 #include "opencv2/core.hpp"
18 
19 namespace mitk
20 {
24  class OpenCVImageSource: virtual public itk::Object
25  {
26  public:
31 
35  virtual cv::Mat GetImage() = 0;
36  };
37 }
38 
39 #endif // MITKOPENCVIMAGESOURCE_H
DataCollection - Class to facilitate loading/accessing structured data.
mitkClassMacroItkParent(OpenCVImageSource, itk::Object)
virtual cv::Mat GetImage()=0