Medical Imaging Interaction Toolkit  2018.4.99-c4b6bb11
Medical Imaging Interaction Toolkit
mitkConvertGrayscaleOpenCVImageFilter.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 
13 #ifndef mitkConvertGrayscaleOpenCVImageFilter_h
14 #define mitkConvertGrayscaleOpenCVImageFilter_h
15 
17 
18 //itk headers
19 #include "itkObjectFactory.h"
20 
21 namespace mitk {
22 
24 {
25 
26 public:
28  itkFactorylessNewMacro(Self);
29  itkCloneMacro(Self);
30 
35  bool OnFilterImage( cv::Mat& image ) override;
36 };
37 
38 } // namespace mitk
39 
40 #endif // mitkConvertGrayscaleOpenCVImageFilter_h
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKOPENCVVIDEOSUPPORT_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
mitk::Image::Pointer image
Interface for image filters on OpenCV images.