go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxCUDAResampler.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 __elxCUDAResampler_h
19 #define __elxCUDAResampler_h
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 
24 namespace elastix
25 {
26 
42 template< class TElastix >
45  typename ResamplerBase< TElastix >::InputImageType,
46  typename ResamplerBase< TElastix >::OutputImageType,
47  typename ResamplerBase< TElastix >::CoordRepType >,
48  public ResamplerBase< TElastix >
49 {
50 public:
51 
59  typedef itk::SmartPointer< Self > Pointer;
60  typedef itk::SmartPointer< const Self > ConstPointer;
61 
63  itkNewMacro( Self );
64 
67 
72  elxClassNameMacro( "CUDAResampler" );
73 
84  typedef typename Superclass1::SizeType SizeType;
92 
101 
102  /* . */
103  virtual int BeforeAll( void );
104 
105  virtual void BeforeRegistration( void );
106 
108  virtual void ReadFromFile( void );
109 
111  virtual void WriteToFile( void ) const;
112 
113 protected:
114 
118  virtual ~CUDAResampler() {}
119 
123  virtual void CheckForValidConfiguration( ValidTransformPointer & bSplineTransform );
124 
125 private:
126 
128  CUDAResampler( const Self & ); // purposely not implemented
130  void operator=( const Self & ); // purposely not implemented
131 
132 };
133 
134 // end class CUDAResampler
135 
136 } // end namespace elastix
137 
138 #ifndef ITK_MANUAL_INSTANTIATION
139 #include "elxCUDAResampler.hxx"
140 #endif
141 
142 #endif // end #ifndef __elxCUDAResampler_h
itk::SmartPointer< Self > Pointer
Superclass::OutputImageType OutputImageType
virtual int BeforeAll(void)
Superclass2::ElastixPointer ElastixPointer
Superclass2::ElastixType ElastixType
Superclass::TransformPointerType TransformPointerType
Superclass::InterpolatorPointerType InterpolatorPointerType
Superclass1::SizeType SizeType
Superclass::ElastixPointer ElastixPointer
Resample an image on the GPU via a coordinate transform.
Superclass2::ConfigurationPointer ConfigurationPointer
itk::SmartPointer< const Self > ConstPointer
Superclass::InputImageRegionType InputImageRegionType
ElastixType::CoordRepType CoordRepType
A resampler based on the itk::CUDAResampleImageFilter.
Superclass::InputImagePointer InputImagePointer
Superclass1::TransformPointerType TransformPointerType
Superclass::RegistrationType RegistrationType
void operator=(const Self &)
Superclass1::TransformType TransformType
itk::itkCUDAResampleImageFilter< typename ResamplerBase< TElastix >::InputImageType, typename ResamplerBase< TElastix >::OutputImageType, typename ResamplerBase< TElastix >::CoordRepType > Superclass1
elxClassNameMacro("CUDAResampler")
ElastixType::MovingImageType InputImageType
ElastixType::MovingImageType OutputImageType
Superclass::ElastixType ElastixType
Superclass::RegistrationPointer RegistrationPointer
Superclass::ConfigurationType ConfigurationType
Superclass1::ValidTransformPointer ValidTransformPointer
Superclass1::InputImageType InputImageType
Superclass::OutputImagePointer OutputImagePointer
Superclass1::OriginPointType OriginPointType
Superclass1::OutputImageRegionType OutputImageRegionType
Superclass1::InputImagePointer InputImagePointer
virtual void BeforeRegistration(void)
Superclass2::ConfigurationType ConfigurationType
Superclass1::InterpolatorType InterpolatorType
Superclass2::RegistrationType RegistrationType
virtual void CheckForValidConfiguration(ValidTransformPointer &bSplineTransform)
Superclass::InputImageType InputImageType
Superclass1::OutputImagePointer OutputImagePointer
Superclass1::OutputImageType OutputImageType
Superclass1::InputImageRegionType InputImageRegionType
virtual void WriteToFile(void) const
virtual void ReadFromFile(void)
Superclass::OriginPointType OriginPointType
Superclass1::InterpolatorPointerType InterpolatePointerType
Superclass::OutputImageRegionType OutputImageRegionType
Superclass2::ITKBaseType ITKBaseType
itk::ResampleImageFilter< InputImageType, OutputImageType, CoordRepType > ITKBaseType
Superclass1::SpacingType SpacingType
Superclass::ConfigurationPointer ConfigurationPointer
ResamplerBase< TElastix > Superclass2
Superclass1::IndexType IndexType
Superclass::InterpolatorType InterpolatorType
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::PixelType PixelType
Superclass1::PointType PointType


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