Medical Imaging Interaction Toolkit  2023.04.00
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 {
22 class MITKOPENCVVIDEOSUPPORT_EXPORT BasicCombinationOpenCVImageFilter : public AbstractOpenCVImageFilter
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
mitk::AbstractOpenCVImageFilter
Interface for image filters on OpenCV images.
Definition: mitkAbstractOpenCVImageFilter.h:36
mitk::BasicCombinationOpenCVImageFilter
Definition: mitkBasicCombinationOpenCVImageFilter.h:22
mitk
DataCollection - Class to facilitate loading/accessing structured data.
Definition: RenderingTests.dox:1
mitk::BasicCombinationOpenCVImageFilter::m_FilterList
std::vector< AbstractOpenCVImageFilter::Pointer > m_FilterList
All filters applied to the given image during call of mitk::mitkBasicCombinationOpenCVImageFilter::Fi...
Definition: mitkBasicCombinationOpenCVImageFilter.h:68
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitkAbstractOpenCVImageFilter.h