Medical Imaging Interaction Toolkit  2018.4.99-b5518f0d
Medical Imaging Interaction Toolkit
mitkBasicCombinationOpenCVImageFilter.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 mitkBasicCombinationOpenCVImageFilter_h
14 #define mitkBasicCombinationOpenCVImageFilter_h
15 
17 
18 //itk headers
19 #include "itkObjectFactory.h"
20 
21 namespace mitk {
23 {
24 public:
26  itkFactorylessNewMacro(Self);
27  itkCloneMacro(Self);
28 
33  bool OnFilterImage( cv::Mat& image ) override;
34 
38  void PushFilter( AbstractOpenCVImageFilter::Pointer filter );
39 
44  AbstractOpenCVImageFilter::Pointer PopFilter( );
45 
50  bool RemoveFilter( AbstractOpenCVImageFilter::Pointer filter );
51 
56  bool GetIsFilterOnTheList( AbstractOpenCVImageFilter::Pointer filter );
57 
62  bool GetIsEmpty();
63 
64 protected:
68  std::vector<AbstractOpenCVImageFilter::Pointer> m_FilterList;
69 };
70 
71 } // namespace mitk
72 
73 #endif // mitkBasicCombinationOpenCVImageFilter_h
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKOPENCVVIDEOSUPPORT_EXPORT
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Interface for image filters on OpenCV images.
std::vector< AbstractOpenCVImageFilter::Pointer > m_FilterList
All filters applied to the given image during call of mitk::mitkBasicCombinationOpenCVImageFilter::Fi...