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 
24 namespace itk
25 {
27 itkGPUKernelClassMacro( GPURecursiveGaussianImageFilterKernel );
28 
41 template< typename TInputImage, typename TOutputImage >
43  public GPUInPlaceImageFilter< TInputImage, TOutputImage,
44  RecursiveGaussianImageFilter< TInputImage, TOutputImage > >
45 {
46 public:
47 
50  typedef RecursiveGaussianImageFilter< TInputImage, TOutputImage > CPUSuperclass;
53  typedef SmartPointer< const Self > ConstPointer;
54 
56  itkNewMacro( Self );
57 
59  itkTypeMacro( GPURecursiveGaussianImageFilter, GPUSuperclass );
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 
79 protected:
80 
83 
84  virtual void PrintSelf( std::ostream & os, Indent indent ) const ITK_OVERRIDE;
85 
86  virtual void GPUGenerateData();
87 
88 private:
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
itkGPUKernelClassMacro(GPUBSplineTransformKernel)
RecursiveGaussianImageFilter< TInputImage, TOutputImage > CPUSuperclass
GPUSuperclass::OutputImageRegionType OutputImageRegionType
GPU version of RecursiveGaussianImageFilter.
Base class for GPU filters that take an image as input and overwrite that image as the output...
GPUSuperclass::OutputImagePixelType OutputImagePixelType
GPUImageToImageFilter< TInputImage, TOutputImage, CPUSuperclass > GPUSuperclass
Superclass::OutputImagePixelType OutputImagePixelType


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