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 
34 template < class TElastix >
36 public
38  typename ResampleInterpolatorBase<TElastix>::InputImageType,
39  typename ResampleInterpolatorBase<TElastix>::CoordRepType >,
40 public ResampleInterpolatorBase<TElastix>
41 {
42 public:
43 
50  typedef itk::SmartPointer<Self> Pointer;
51  typedef itk::SmartPointer<const Self> ConstPointer;
52 
54  itkNewMacro( Self );
55 
58 
63  elxClassNameMacro( "FinalRayCastInterpolator" );
64 
66  itkStaticConstMacro( ImageDimension, unsigned int,Superclass1::ImageDimension );
67 
74  typedef typename Superclass1::SizeType SizeType;
75  typedef typename InputImageType::SpacingType SpacingType;
76 
85 
87  typedef typename itk::EulerTransform<
88  typename InterpolatorBase<TElastix>::CoordRepType,ImageDimension >
90  typedef typename EulerTransformType::ParametersType TransformParametersType;
91  typedef typename EulerTransformType::Pointer EulerTransformPointer;
92  typedef typename itk::AdvancedTransform<
94  itkGetStaticConstMacro( ImageDimension ),
95  itkGetStaticConstMacro( ImageDimension )> AdvancedTransformType;
97  typedef typename itk::AdvancedCombinationTransform<
99  itkGetStaticConstMacro( ImageDimension ) > CombinationTransformType;
101 
102  virtual int BeforeAll( void );
103 
104  virtual void BeforeRegistration( void );
105 
107  virtual void ReadFromFile( void );
108 
110  virtual void WriteToFile( void ) const;
111 
112 protected:
113 
116 
119 
123  void InitializeRayCastInterpolator( void );
124 
125 private:
126 
128  RayCastResampleInterpolator( const Self& ); // purposely not implemented
129 
131  void operator=( const Self& ); // purposely not implemented
132 
136 
137 }; // end class RayCastResampleInterpolator
138 
139 
140 } // end namespace elastix
141 
142 
143 #ifndef ITK_MANUAL_INSTANTIATION
144 #include "elxRayCastResampleInterpolator.hxx"
145 #endif
146 
147 
148 #endif // end __elxRayCastResampleInterpolator_h
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
Superclass::RegistrationType RegistrationType
virtual void WriteToFile(void) const
itk::EulerTransform< typename InterpolatorBase< TElastix >::CoordRepType, ImageDimension > EulerTransformType
Superclass2::ConfigurationPointer ConfigurationPointer
ElastixType::MovingImageType InputImageType
itk::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
itkStaticConstMacro(ImageDimension, unsigned int, Superclass1::ImageDimension)
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.
elxClassNameMacro("FinalRayCastInterpolator")
itk::InterpolateImageFunction< InputImageType, CoordRepType > ITKBaseType
Superclass::ConfigurationType ConfigurationType


Generated on 04-01-2014 for elastix by doxygen 1.8.5 elastix logo