go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxRayCastResampleInterpolator.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 
15 #ifndef __elxRayCastResampleInterpolator_h
16 #define __elxRayCastResampleInterpolator_h
17 
20 #include "itkAdvancedTransform.h"
21 #include "../Transforms/EulerTransform/itkEulerTransform.h"
22 #include "elxIncludes.h"
23 
24 namespace elastix
25 {
26 using namespace itk;
27 
35 template < class TElastix >
37 public
39  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::InputImageType,
40  ITK_TYPENAME ResampleInterpolatorBase<TElastix>::CoordRepType >,
41 public ResampleInterpolatorBase<TElastix>
42 {
43 public:
44 
51  typedef SmartPointer<Self> Pointer;
52  typedef SmartPointer<const Self> ConstPointer;
53 
55  itkNewMacro( Self );
56 
59 
64  elxClassNameMacro( "FinalRayCastInterpolator" );
65 
67  itkStaticConstMacro( ImageDimension, unsigned int,Superclass1::ImageDimension );
68 
75  typedef typename Superclass1::SizeType SizeType;
76  typedef typename InputImageType::SpacingType SpacingType;
77 
86 
88  typedef typename itk::EulerTransform<
89  typename InterpolatorBase<TElastix>::CoordRepType,ImageDimension >
91  typedef typename EulerTransformType::ParametersType TransformParametersType;
92  typedef typename EulerTransformType::Pointer EulerTransformPointer;
93  typedef typename itk::AdvancedTransform<
95  itkGetStaticConstMacro( ImageDimension ),
96  itkGetStaticConstMacro( ImageDimension )> AdvancedTransformType;
98  typedef typename itk::AdvancedCombinationTransform<
100  itkGetStaticConstMacro( ImageDimension ) > CombinationTransformType;
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 
117 
120 
124  void InitializeRayCastInterpolator( void );
125 
126 private:
127 
129  RayCastResampleInterpolator( const Self& ); // purposely not implemented
130 
132  void operator=( const Self& ); // purposely not implemented
133 
137 
138 }; // end class RayCastResampleInterpolator
139 
140 
141 } // end namespace elastix
142 
143 
144 #ifndef ITK_MANUAL_INSTANTIATION
145 #include "elxRayCastResampleInterpolator.hxx"
146 #endif
147 
148 
149 #endif // end __elxRayCastResampleInterpolator_h
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
Superclass::RegistrationType RegistrationType
InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
itk::EulerTransform< typename InterpolatorBase< TElastix >::CoordRepType, ImageDimension > EulerTransformType
Superclass2::ConfigurationPointer ConfigurationPointer
#define elxClassNameMacro(_name)
Definition: elxMacro.h:254
ElastixType::MovingImageType InputImageType
AdvancedRayCastInterpolateImageFunction< typename ResampleInterpolatorBase< TElastix >::InputImageType, typename ResampleInterpolatorBase< TElastix >::CoordRepType > Superclass1
AdvancedTransformType::Pointer AdvancedTransformPointer
CombinationTransformType::Pointer CombinationTransformPointer
itk::AdvancedCombinationTransform< typename InterpolatorBase< TElastix >::CoordRepType, itkGetStaticConstMacro(ImageDimension) > CombinationTransformType
EulerTransformType::ParametersType TransformParametersType
itk::AdvancedTransform< typename InterpolatorBase< TElastix >::CoordRepType, itkGetStaticConstMacro(ImageDimension), itkGetStaticConstMacro(ImageDimension)> AdvancedTransformType
SmartPointer< Self > Pointer
Superclass2::ConfigurationType ConfigurationType
Transform maps points, vectors and covariant vectors from an input space to an output space...
Superclass2::RegistrationPointer RegistrationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::ContinuousIndexType ContinuousIndexType
ResampleInterpolatorBase< TElastix > Superclass2
This class is the elastix base class for all ResampleInterpolators.
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationPointer RegistrationPointer
Projective interpolation of an image at specified positions.
Superclass::ConfigurationType ConfigurationType


Generated on 06-12-2013 for elastix by doxygen 1.8.5 elastix logo