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 #ifndef __elxAdvancedAffineTransform_H_
15 #define __elxAdvancedAffineTransform_H_
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
21 
22 namespace elastix
23 {
24 
72 template< class TElastix >
75  typename elx::TransformBase< TElastix >::CoordRepType,
76  elx::TransformBase< TElastix >::FixedImageDimension >,
77  public elx::TransformBase< TElastix >
78 {
79 public:
80 
87  typedef itk::SmartPointer< Self > Pointer;
88  typedef itk::SmartPointer< const Self > ConstPointer;
89 
96 
98  itkNewMacro( Self );
99 
102 
107  elxClassNameMacro( "AffineTransform" );
108 
110  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
111 
125 
139 
141  typedef typename FixedImageType::IndexType IndexType;
142  typedef typename IndexType::IndexValueType IndexValueType;
143  typedef typename FixedImageType::SizeType SizeType;
144  typedef typename FixedImageType::PointType PointType;
145  typedef typename FixedImageType::SpacingType SpacingType;
146  typedef typename FixedImageType::RegionType RegionType;
147  typedef typename FixedImageType::DirectionType DirectionType;
148 
149  //typedef CenteredTransformInitializer<
154 
157 
162  virtual void BeforeRegistration( void );
163 
179  virtual void InitializeTransform( void );
180 
188  virtual void SetScales( void );
189 
194  virtual void ReadFromFile( void );
195 
199  virtual void WriteToFile( const ParametersType & param ) const;
200 
204  virtual void CreateTransformParametersMap(
205  const ParametersType & param, ParameterMapType * paramsMap ) const;
206 
207 protected:
208 
213 
219  virtual bool ReadCenterOfRotationIndex( InputPointType & rotationPoint ) const;
220 
226  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
227 
228 private:
229 
231  AdvancedAffineTransformElastix( const Self & ); // purposely not implemented
233  void operator=( const Self & ); // purposely not implemented
234 
236 
237 };
238 
239 } // end namespace elastix
240 
241 #ifndef ITK_MANUAL_INSTANTIATION
242 #include "elxAdvancedAffineTransform.hxx"
243 #endif
244 
245 #endif // end #ifndef __elxAdvancedAffineTransform_H_
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass1::NumberOfParametersType NumberOfParametersType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
ElastixType::ParameterMapType ParameterMapType
itk::AdvancedMatrixOffsetTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > AffineTransformType
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
virtual void CreateTransformParametersMap(const ParametersType &param, ParameterMapType *paramsMap) const
A transform based on the itk::AdvancedMatrixOffsetTransformBase.
Superclass2::RegistrationPointer RegistrationPointer
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
ElastixType::FixedImageType FixedImageType
virtual void WriteToFile(void) const
Superclass::ElastixType ElastixType
Transform maps points, vectors and covariant vectors from an input space to an output space...
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
itk::CenteredTransformInitializer2< AffineTransformType, FixedImageType, MovingImageType > TransformInitializerType
itk::SmartPointer< const Self > ConstPointer
ElastixType::MovingImageType MovingImageType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
TransformInitializerType::Pointer TransformInitializerPointer
Superclass::NumberOfParametersType NumberOfParametersType
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 27-04-2014 for elastix by doxygen 1.8.6 elastix logo