Medical Imaging Interaction Toolkit
2023.12.00
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 (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 mitkOclImageToImageFilter_h
14
#define mitkOclImageToImageFilter_h
15
16
#include "
mitkOclImageFilter.h
"
17
18
namespace
mitk
19
{
20
class
OclImageFilter;
21
class
OclImageToImageFilter;
22
26
class
MITKOPENCL_EXPORT
OclImageToImageFilter
:
public
OclImageFilter
27
{
28
public
:
32
mitk::Image::Pointer
GetOutput();
33
40
mitk::OclImage::Pointer GetGPUOutput();
41
42
protected
:
46
OclImageToImageFilter
();
47
49
virtual
~
OclImageToImageFilter
();
50
52
mitk::OclImage::Pointer
m_Output
;
53
55
virtual
void
Update() = 0;
56
58
virtual
mitk::PixelType
GetOutputType();
59
66
bool
InitExec(cl_kernel ckKernel);
67
bool
InitExec(cl_kernel ckKernel,
unsigned
int
* dimensions);
68
70
virtual
int
GetBytesPerElem();
71
72
private
:
74
unsigned
int
m_BlockDims[3];
75
76
};
77
}
78
#endif
mitk::OclImageFilter
The OclImageFilter is the topmost class for all filter which take images as input.
Definition:
mitkOclImageFilter.h:34
mitkOclImageFilter.h
mitk::OclImageToImageFilter::m_Output
mitk::OclImage::Pointer m_Output
Definition:
mitkOclImageToImageFilter.h:52
itk::SmartPointer< Self >
mitk
Find image slices visible on a given plane.
Definition:
RenderingTests.dox:1
mitk::PixelType
Class for defining the data type of pixels.
Definition:
mitkPixelType.h:51
mitk::OclImageToImageFilter
The OclImageToImageFilter is the base class for all OpenCL image filter generating images.
Definition:
mitkOclImageToImageFilter.h:26
src
MITK
Modules
OpenCL
mitkOclImageToImageFilter.h
Generated on Thu Nov 30 2023 15:58:54 for Medical Imaging Interaction Toolkit by
1.8.17