go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPURecursiveGaussianImageFilter.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef __itkGPURecursiveGaussianImageFilter_h
19#define __itkGPURecursiveGaussianImageFilter_h
20
21#include "itkRecursiveGaussianImageFilter.h"
23
24namespace itk
25{
27itkGPUKernelClassMacro( GPURecursiveGaussianImageFilterKernel );
28
41template< typename TInputImage, typename TOutputImage >
43 public GPUInPlaceImageFilter< TInputImage, TOutputImage,
44 RecursiveGaussianImageFilter< TInputImage, TOutputImage > >
45{
46public:
47
50 typedef RecursiveGaussianImageFilter< TInputImage, TOutputImage > CPUSuperclass;
53 typedef SmartPointer< const Self > ConstPointer;
54
56 itkNewMacro( Self );
57
60
64 typedef typename CPUSuperclass::ScalarRealType ScalarRealType;
65
67 typedef TInputImage InputImageType;
68 typedef typename InputImageType::Pointer InputImagePointer;
69 typedef typename InputImageType::ConstPointer InputImageConstPointer;
70 typedef typename InputImageType::RegionType InputImageRegionType;
71 typedef typename InputImageType::PixelType InputImagePixelType;
72
74 itkStaticConstMacro( InputImageDimension, unsigned int,
75 TInputImage::ImageDimension );
76 itkStaticConstMacro( OutputImageDimension, unsigned int,
77 TOutputImage::ImageDimension );
78
79protected:
80
83
84 void PrintSelf( std::ostream & os, Indent indent ) const override;
85
86 virtual void GPUGenerateData();
87
88private:
89
90 GPURecursiveGaussianImageFilter( const Self & ); // purposely not implemented
91 void operator=( const Self & ); // purposely not implemented
92
95};
96
97} // end namespace itk
98
99#ifndef ITK_MANUAL_INSTANTIATION
100#include "itkGPURecursiveGaussianImageFilter.hxx"
101#endif
102
103#endif /* __itkGPURecursiveGaussianImageFilter_h */
class to abstract the behaviour of the GPU filters.
Superclass::OutputImageRegionType OutputImageRegionType
Superclass::OutputImagePixelType OutputImagePixelType
Base class for GPU filters that take an image as input and overwrite that image as the output.
GPU version of RecursiveGaussianImageFilter.
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
void PrintSelf(std::ostream &os, Indent indent) const override
GPUSuperclass::OutputImageRegionType OutputImageRegionType
GPUSuperclass::OutputImagePixelType OutputImagePixelType
GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
RecursiveGaussianImageFilter< TInputImage, TOutputImage > CPUSuperclass
itkGPUKernelClassMacro(GPUBSplineTransformKernel)


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo