Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
Medical Imaging Interaction Toolkit
mitkOclImageFilter.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 __mitkOclImageFilter_h
14 #define __mitkOclImageFilter_h
15 
16 #include "mitkOclFilter.h"
17 #include "mitkOclImage.h"
18 
19 #define FILTER_UCHAR 0
20 #define FILTER_SHORT 1
21 
22 namespace mitk
23 {
24 class OclFilter;
25 class OclImageFilter;
26 
34 class MITKOPENCL_EXPORT OclImageFilter: public OclFilter
35 {
36 public:
41  void SetInput(mitk::OclImage::Pointer image);
42 
47  void SetInput(mitk::Image::Pointer image);
48 
49 protected:
51 
52  virtual ~OclImageFilter();
53 
55  mitk::OclImage::Pointer m_Input;
56 
59 };
60 }
61 #endif // __mitkOclImageFilter_h
DataCollection - Class to facilitate loading/accessing structured data.
The OclImageFilter is the topmost class for all filter which take images as input.
mitk::OclImage::Pointer m_Input
Superclass for all OpenCL based filter.
Definition: mitkOclFilter.h:33