Medical Imaging Interaction Toolkit  2023.04.00
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
mitk::OpenCVImageSource::mitkClassMacroItkParent
mitkClassMacroItkParent(OpenCVImageSource, itk::Object)
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::OpenCVImageSource
Definition: mitkOpenCVImageSource.h:24
mitkCommon.h
mitk::OpenCVImageSource::GetImage
virtual cv::Mat GetImage()=0