go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkGPUBSplineDecompositionImageFilter.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 __itkGPUBSplineDecompositionImageFilter_h
19#define __itkGPUBSplineDecompositionImageFilter_h
20
21#include "itkBSplineDecompositionImageFilter.h"
23
24namespace itk
25{
27itkGPUKernelClassMacro( GPUBSplineDecompositionImageFilterKernel );
28
40template< typename TInputImage, typename TOutputImage >
42 public GPUImageToImageFilter< TInputImage, TOutputImage,
43 BSplineDecompositionImageFilter< TInputImage, TOutputImage > >
44{
45public:
46
49 typedef BSplineDecompositionImageFilter<
50 TInputImage, TOutputImage > CPUSuperclass;
52 TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass;
54 typedef SmartPointer< const Self > ConstPointer;
55
57 itkNewMacro( Self );
58
61
65 typedef typename GPUSuperclass::SplinePolesVectorType SplinePolesVectorType;
66
68 typedef TInputImage InputImageType;
69 typedef typename InputImageType::Pointer InputImagePointer;
70 typedef typename InputImageType::ConstPointer InputImageConstPointer;
71 typedef typename InputImageType::RegionType InputImageRegionType;
72 typedef typename InputImageType::PixelType InputImagePixelType;
73
75 itkStaticConstMacro( InputImageDimension, unsigned int,
76 TInputImage::ImageDimension );
77 itkStaticConstMacro( OutputImageDimension, unsigned int,
78 TOutputImage::ImageDimension );
79
80protected:
81
84 void PrintSelf( std::ostream & os, Indent indent ) const override;
85
86 virtual void GPUGenerateData( void );
87
88private:
89
90 GPUBSplineDecompositionImageFilter( 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 "itkGPUBSplineDecompositionImageFilter.hxx"
101#endif
102
103#endif /* __itkGPUBSplineDecompositionImageFilter_h */
GPU version of BSplineDecompositionImageFilter.
GPUSuperclass::OutputImageRegionType OutputImageRegionType
GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass
void PrintSelf(std::ostream &os, Indent indent) const override
BSplineDecompositionImageFilter< TInputImage, TOutputImage > CPUSuperclass
GPUSuperclass::SplinePolesVectorType SplinePolesVectorType
itkStaticConstMacro(OutputImageDimension, unsigned int, TOutputImage::ImageDimension)
itkStaticConstMacro(InputImageDimension, unsigned int, TInputImage::ImageDimension)
class to abstract the behaviour of the GPU filters.
Superclass::OutputImageRegionType OutputImageRegionType
Superclass::OutputImagePixelType OutputImagePixelType
itkGPUKernelClassMacro(GPUBSplineTransformKernel)


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo