go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxEulerTransform.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 __elxEulerTransform_H__
15 #define __elxEulerTransform_H__
16 
17 #include "elxIncludes.h" // include first to avoid MSVS warning
19 #include "itkEulerTransform.h"
20 #include "itkCenteredTransformInitializer.h"
21 
22 namespace elastix
23 {
24 
69 template< class TElastix >
72  typename elx::TransformBase< TElastix >::CoordRepType,
73  elx::TransformBase< TElastix >::FixedImageDimension >,
74  public elx::TransformBase< TElastix >
75 {
76 public:
77 
80 
84 
86 
89  typedef itk::EulerTransform<
92 
93  typedef itk::SmartPointer< Self > Pointer;
94  typedef itk::SmartPointer< const Self > ConstPointer;
95 
97  itkNewMacro( Self );
98 
100  //itkTypeMacro( EulerTransformElastix, EulerTransform );
102 
107  elxClassNameMacro( "EulerTransform" );
108 
110  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
111 
119 
128 
129  typedef typename EulerTransformType::Pointer EulerTransformPointer;
130  typedef typename EulerTransformType::OffsetType OffsetType;
131 
145 
147  typedef typename FixedImageType::IndexType IndexType;
148  typedef typename IndexType::IndexValueType IndexValueType;
149  typedef typename FixedImageType::SizeType SizeType;
150  typedef typename FixedImageType::PointType PointType;
151  typedef typename FixedImageType::SpacingType SpacingType;
152  typedef typename FixedImageType::RegionType RegionType;
153  typedef typename FixedImageType::DirectionType DirectionType;
154 
155  typedef itk::CenteredTransformInitializer<
157  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
158 
161 
166  virtual void BeforeRegistration( void );
167 
183  virtual void InitializeTransform( void );
184 
192  virtual void SetScales( void );
193 
198  virtual void ReadFromFile( void );
199 
203  virtual void WriteToFile( const ParametersType & param ) const;
204 
208  virtual void CreateTransformParametersMap(
209  const ParametersType & param, ParameterMapType * paramsMap ) const;
210 
211 protected:
212 
217 
223  virtual bool ReadCenterOfRotationIndex( InputPointType & rotationPoint ) const;
224 
230  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
231 
232 private:
233 
235  EulerTransformElastix( const Self & ); // purposely not implemented
237  void operator=( const Self & ); // purposely not implemented
238 
240 
241 };
242 
243 } // end namespace elastix
244 
245 #ifndef ITK_MANUAL_INSTANTIATION
246 #include "elxEulerTransform.hxx"
247 #endif
248 
249 #endif // end #ifndef __elxEulerTransform_H__
This class combines two transforms: an 'initial transform' with a 'current transform'.
IndexType::IndexValueType IndexValueType
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass::InputCovariantVectorType InputCovariantVectorType
virtual void InitializeTransform(void)
Superclass::RegistrationPointer RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
virtual bool ReadCenterOfRotationIndex(InputPointType &rotationPoint) const
EulerTransformType::Pointer EulerTransformPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
ElastixType::ParameterMapType ParameterMapType
Superclass2::ScalesType ScalesType
FixedImageType::IndexType IndexType
Superclass2::CoordRepType CoordRepType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
virtual void CreateTransformParametersMap(const ParametersType &param, ParameterMapType *paramsMap) const
FixedImageType::SizeType SizeType
elx::TransformBase< TElastix > Superclass2
virtual void ReadFromFile(void)
virtual void SetScales(void)
OptimizerType::ScalesType ScalesType
itk::SmartPointer< const Self > ConstPointer
FixedImageType::SpacingType SpacingType
Superclass2::RegistrationType RegistrationType
Superclass2::CombinationTransformType CombinationTransformType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
ElastixType::FixedImageType FixedImageType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::MovingImageType MovingImageType
Superclass1::InputVectorType InputVectorType
Superclass1::NumberOfParametersType NumberOfParametersType
virtual void WriteToFile(void) const
TransformInitializerType::Pointer TransformInitializerPointer
Superclass::ElastixType ElastixType
itk::CenteredTransformInitializer< EulerTransformType, FixedImageType, MovingImageType > TransformInitializerType
itk::EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > EulerTransformType
Transform maps points, vectors and covariant vectors from an input space to an output space...
itk::SmartPointer< Self > Pointer
EulerTransformPointer m_EulerTransform
Superclass2::FixedImageType FixedImageType
Superclass2::ITKBaseType ITKBaseType
Superclass1::OutputVectorType OutputVectorType
virtual void BeforeRegistration(void)
Superclass2::ParameterMapType ParameterMapType
A transform based on the itk EulerTransforms.
EulerTransformType::OffsetType OffsetType
Superclass1::ScalarType ScalarType
Superclass1::JacobianType JacobianType
Superclass1::OutputPointType OutputPointType
ElastixType::MovingImageType MovingImageType
void operator=(const Self &)
Superclass::ElastixPointer ElastixPointer
FixedImageType::DirectionType DirectionType
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Superclass2::ConfigurationType ConfigurationType
Superclass1::OutputVnlVectorType OutputVnlVectorType
FixedImageType::PointType PointType
Superclass::NumberOfParametersType NumberOfParametersType
This class is the elastix base class for all Transforms.
Superclass2::ElastixType ElastixType
Superclass::ConfigurationType ConfigurationType
Superclass1::ParametersType ParametersType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass2::ElastixPointer ElastixPointer
Superclass::ConfigurationPointer ConfigurationPointer
Superclass::InputVnlVectorType InputVnlVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
elxClassNameMacro("EulerTransform")
Superclass1::InputPointType InputPointType
Superclass1::InputVnlVectorType InputVnlVectorType
FixedImageType::RegionType RegionType


Generated on 27-04-2014 for elastix by doxygen 1.8.6 elastix logo