go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxSimilarityTransform.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 __elxSimilarityTransform_H__
16 #define __elxSimilarityTransform_H__
17 
18 #include "itkSimilarityTransform.h"
19 #include "itkCenteredTransformInitializer.h"
20 #include "elxIncludes.h"
21 
22 namespace elastix
23 {
24 
75  template < class TElastix >
78  typename elx::TransformBase< TElastix >::CoordRepType,
79  elx::TransformBase< TElastix >::FixedImageDimension >,
80  public elx::TransformBase< TElastix >
81  {
82  public:
83 
90  typedef itk::SmartPointer<Self> Pointer;
91  typedef itk::SmartPointer<const Self> ConstPointer;
92 
95  typedef itk::SimilarityTransform<
98 
100  itkNewMacro( Self );
101 
104 
109  elxClassNameMacro( "SimilarityTransform" );
110 
112  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
113 
121 
130 
132  typedef typename SimilarityTransformType::Pointer SimilarityTransformPointer;
133  typedef typename SimilarityTransformType::OffsetType OffsetType;
134 
147 
149  typedef typename FixedImageType::IndexType IndexType;
150  typedef typename IndexType::IndexValueType IndexValueType;
151  typedef typename FixedImageType::SizeType SizeType;
152  typedef typename FixedImageType::PointType PointType;
153  typedef typename FixedImageType::SpacingType SpacingType;
154  typedef typename FixedImageType::RegionType RegionType;
155  typedef typename FixedImageType::DirectionType DirectionType;
156 
157  typedef itk::CenteredTransformInitializer<
159  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
160 
163 
168  virtual void BeforeRegistration( void );
169 
185  virtual void InitializeTransform( void );
186 
194  virtual void SetScales( void );
195 
200  virtual void ReadFromFile( void );
201 
205  virtual void WriteToFile( const ParametersType & param ) 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  SimilarityTransformElastix( const Self& ); // purposely not implemented
233  void operator=( const Self& ); // purposely not implemented
234 
236 
237  }; // end class SimilarityTransformElastix
238 
239 
240 } // end namespace elastix
241 
242 #ifndef ITK_MANUAL_INSTANTIATION
243 #include "elxSimilarityTransform.hxx"
244 #endif
245 
246 #endif // end #ifndef __elxSimilarityTransform_H__
247 
itk::CenteredTransformInitializer< SimilarityTransformType, FixedImageType, MovingImageType > TransformInitializerType
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::RegistrationPointer RegistrationPointer
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass2::ConfigurationType ConfigurationType
Superclass1::ParametersType ParametersType
Superclass1::NumberOfParametersType NumberOfParametersType
virtual bool ReadCenterOfRotationIndex(InputPointType &rotationPoint) const
Superclass1::OutputVectorType OutputVectorType
Superclass2::CombinationTransformType CombinationTransformType
virtual void InitializeTransform(void)
Superclass1::InputPointType InputPointType
virtual void BeforeRegistration(void)
OptimizerType::ScalesType ScalesType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
ElastixType::FixedImageType FixedImageType
FixedImageType::SpacingType SpacingType
FixedImageType::DirectionType DirectionType
virtual void WriteToFile(void) const
Superclass::ElastixType ElastixType
Transform maps points, vectors and covariant vectors from an input space to an output space...
Superclass1::OutputPointType OutputPointType
Superclass1::InputVnlVectorType InputVnlVectorType
SimilarityTransformType::OffsetType OffsetType
Superclass2::RegistrationPointer RegistrationPointer
Superclass2::RegistrationType RegistrationType
TransformInitializerType::Pointer TransformInitializerPointer
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
ElastixType::MovingImageType MovingImageType
Superclass1::InputVectorType InputVectorType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
A transform based on the itk SimilarityTransforms.
Superclass2::MovingImageType MovingImageType
itk::SmartPointer< const Self > ConstPointer
SimilarityTransformPointer m_SimilarityTransform
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass::NumberOfParametersType NumberOfParametersType
Superclass2::FixedImageType FixedImageType
SimilarityTransformType::Pointer SimilarityTransformPointer
This class is the elastix base class for all Transforms.
Superclass2::ElastixPointer ElastixPointer
Superclass::ConfigurationType ConfigurationType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::ConfigurationPointer ConfigurationPointer
Superclass1::OutputVnlVectorType OutputVnlVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass::InputVnlVectorType InputVnlVectorType
elxClassNameMacro("SimilarityTransform")
elx::TransformBase< TElastix > Superclass2
itk::SimilarityTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > SimilarityTransformType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1


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