Medical Imaging Interaction Toolkit  2016.11.0
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,
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 
17 #ifndef mitkConvertGrayscaleOpenCVImageFilter_h
18 #define mitkConvertGrayscaleOpenCVImageFilter_h
19 
21 
22 //itk headers
23 #include "itkObjectFactory.h"
24 
25 namespace mitk {
26 
27 class MITKOPENCVVIDEOSUPPORT_EXPORT ConvertGrayscaleOpenCVImageFilter : public AbstractOpenCVImageFilter
28 {
29 
30 public:
32  itkFactorylessNewMacro(Self)
33  itkCloneMacro(Self)
34 
35 
39  bool OnFilterImage( cv::Mat& image ) override;
40 };
41 
42 } // namespace mitk
43 
44 #endif // mitkConvertGrayscaleOpenCVImageFilter_h
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Interface for image filters on OpenCV images.