Medical Imaging Interaction Toolkit  2023.04.00
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 
23 class MITKOPENCVVIDEOSUPPORT_EXPORT ConvertGrayscaleOpenCVImageFilter : public AbstractOpenCVImageFilter
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
mitk::AbstractOpenCVImageFilter
Interface for image filters on OpenCV images.
Definition: mitkAbstractOpenCVImageFilter.h:36
mitk::ConvertGrayscaleOpenCVImageFilter
Definition: mitkConvertGrayscaleOpenCVImageFilter.h:23
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkAbstractOpenCVImageFilter.h