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 
24 namespace itk
25 {
27 itkGPUKernelClassMacro( GPUBSplineDecompositionImageFilterKernel );
28 
40 template< typename TInputImage, typename TOutputImage >
42  public GPUImageToImageFilter< TInputImage, TOutputImage,
43  BSplineDecompositionImageFilter< TInputImage, TOutputImage > >
44 {
45 public:
46 
49  typedef BSplineDecompositionImageFilter<
50  TInputImage, TOutputImage > CPUSuperclass;
51  typedef GPUImageToImageFilter<
52  TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass;
54  typedef SmartPointer< const Self > ConstPointer;
55 
57  itkNewMacro( Self );
58 
60  itkTypeMacro( GPUBSplineDecompositionImageFilter, GPUSuperclass );
61 
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 
79 protected:
80 
83  virtual void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
84 
85  virtual void GPUGenerateData( void );
86 
87 private:
88 
89  GPUBSplineDecompositionImageFilter( const Self & ); // purposely not implemented
90  void operator=( const Self & ); // purposely not implemented
91 
94 };
95 
96 } // end namespace itk
97 
98 #ifndef ITK_MANUAL_INSTANTIATION
99 #include "itkGPUBSplineDecompositionImageFilter.hxx"
100 #endif
101 
102 #endif /* __itkGPUBSplineDecompositionImageFilter_h */
class to abstract the behaviour of the GPU filters.
Superclass::OutputImageRegionType OutputImageRegionType
GPU version of BSplineDecompositionImageFilter.
itkGPUKernelClassMacro(GPUBSplineTransformKernel)
BSplineDecompositionImageFilter< TInputImage, TOutputImage > CPUSuperclass
GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass
GPUSuperclass::OutputImageRegionType OutputImageRegionType
Superclass::OutputImagePixelType OutputImagePixelType


Generated on 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo