Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkOclImageToImageFilter.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef __mitkOclImageToImageFilter_h
18 #define __mitkOclImageToImageFilter_h
19 
20 #include "mitkOclImageFilter.h"
21 
22 namespace mitk
23 {
24 class OclImageFilter;
25 class OclImageToImageFilter;
26 
30 class MITKOPENCL_EXPORT OclImageToImageFilter: public OclImageFilter
31 {
32 public:
36  mitk::Image::Pointer GetOutput();
37 
44  mitk::OclImage::Pointer GetGPUOutput();
45 
46 protected:
51 
53  virtual ~OclImageToImageFilter();
54 
57 
59  virtual void Update() = 0;
60 
62  virtual mitk::PixelType GetOutputType();
63 
70  bool InitExec(cl_kernel ckKernel);
71 
73  virtual int GetBytesPerElem();
74 
75 private:
77  unsigned int m_BlockDims[3];
78 
79 };
80 }
81 #endif // __mitkOclImageToImageFilter_h
itk::SmartPointer< Self > Pointer
static void Update(vtkPolyData *)
Definition: mitkSurface.cpp:35
DataCollection - Class to facilitate loading/accessing structured data.
The OclImageToImageFilter is the base class for all OpenCL image filter generating images...
The OclImageFilter is the topmost class for all filter which take images as input.
Class for defining the data type of pixels.
Definition: mitkPixelType.h:55