MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkConvertGrayscaleOpenCVImageFilter.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found 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
21namespace mitk {
22
23class MITKOPENCVVIDEOSUPPORT_EXPORT ConvertGrayscaleOpenCVImageFilter : public AbstractOpenCVImageFilter
24{
25
26public:
30
35 bool OnFilterImage( cv::Mat& image ) override;
36};
37
38} // namespace mitk
39
40#endif
Interface for image filters on OpenCV images.
mitkClassMacro(ConvertGrayscaleOpenCVImageFilter, AbstractOpenCVImageFilter)
IGT Exceptions.