go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedAffineTransform.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 __elxAdvancedAffineTransform_H_
16 #define __elxAdvancedAffineTransform_H_
17 
20 
22 #include "elxIncludes.h"
23 
24 namespace elastix
25 {
26 
74  template < class TElastix >
77  typename elx::TransformBase<TElastix>::CoordRepType,
78  elx::TransformBase<TElastix>::FixedImageDimension > ,
79  public elx::TransformBase<TElastix>
80  {
81  public:
82 
89  typedef itk::SmartPointer<Self> Pointer;
90  typedef itk::SmartPointer<const Self> ConstPointer;
91 
98 
100  itkNewMacro( Self );
101 
104 
109  elxClassNameMacro( "AffineTransform" );
110 
112  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
113 
127 
140 
142  typedef typename FixedImageType::IndexType IndexType;
143  typedef typename IndexType::IndexValueType IndexValueType;
144  typedef typename FixedImageType::SizeType SizeType;
145  typedef typename FixedImageType::PointType PointType;
146  typedef typename FixedImageType::SpacingType SpacingType;
147  typedef typename FixedImageType::RegionType RegionType;
148  typedef typename FixedImageType::DirectionType DirectionType;
149 
150  //typedef CenteredTransformInitializer<
155 
158 
163  virtual void BeforeRegistration( void );
164 
180  virtual void InitializeTransform( void );
181 
189  virtual void SetScales( void );
190 
195  virtual void ReadFromFile( void );
196 
200  virtual void WriteToFile( const ParametersType & param ) const;
201 
202  protected:
203 
208 
214  virtual bool ReadCenterOfRotationIndex( InputPointType & rotationPoint ) const;
215 
221  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
222 
223  private:
224 
226  AdvancedAffineTransformElastix( const Self& ); // purposely not implemented
228  void operator=( const Self& ); // purposely not implemented
229 
231 
232  }; // end class AdvancedAffineTransformElastix
233 
234 
235 } // end namespace elastix
236 
237 #ifndef ITK_MANUAL_INSTANTIATION
238 #include "elxAdvancedAffineTransform.hxx"
239 #endif
240 
241 #endif // end #ifndef __elxAdvancedAffineTransform_H_
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
Superclass1::NumberOfParametersType NumberOfParametersType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
CenteredTransformInitializer2 is a helper class intended to initialize the center of rotation and the...
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass2::ConfigurationType ConfigurationType
Superclass2::CombinationTransformType CombinationTransformType
OptimizerType::ScalesType ScalesType
itk::SmartPointer< const Self > ConstPointer
A transform based on the itk::AdvancedMatrixOffsetTransformBase.
Superclass2::RegistrationPointer RegistrationPointer
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
ElastixType::FixedImageType FixedImageType
itk::CenteredTransformInitializer2< AffineTransformType, FixedImageType, MovingImageType > TransformInitializerType
virtual void WriteToFile(void) const
Superclass::ElastixType ElastixType
Transform maps points, vectors and covariant vectors from an input space to an output space...
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
TransformInitializerType::Pointer TransformInitializerPointer
Superclass::NumberOfParametersType NumberOfParametersType
itk::AdvancedMatrixOffsetTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > AffineTransformType
This class is the elastix base class for all Transforms.
Superclass::ConfigurationType ConfigurationType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
virtual bool ReadCenterOfRotationIndex(InputPointType &rotationPoint) const
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)


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