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  * Copyright UMC Utrecht and contributors
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef __elxEulerTransform_H__
19 #define __elxEulerTransform_H__
20 
21 #include "elxIncludes.h" // include first to avoid MSVS warning
23 #include "itkEulerTransform.h"
24 #include "itkCenteredTransformInitializer.h"
25 
26 namespace elastix
27 {
28 
73 template< class TElastix >
76  typename elx::TransformBase< TElastix >::CoordRepType,
77  elx::TransformBase< TElastix >::FixedImageDimension >,
78  public elx::TransformBase< TElastix >
79 {
80 public:
81 
84 
88 
90 
93  typedef itk::EulerTransform<
96 
97  typedef itk::SmartPointer< Self > Pointer;
98  typedef itk::SmartPointer< const Self > ConstPointer;
99 
101  itkNewMacro( Self );
102 
104  //itkTypeMacro( EulerTransformElastix, EulerTransform );
106 
111  elxClassNameMacro( "EulerTransform" );
112 
114  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
115 
123 
132 
135 
149 
151  typedef typename FixedImageType::IndexType IndexType;
152  typedef typename IndexType::IndexValueType IndexValueType;
153  typedef typename FixedImageType::SizeType SizeType;
154  typedef typename FixedImageType::PointType PointType;
155  typedef typename FixedImageType::SpacingType SpacingType;
156  typedef typename FixedImageType::RegionType RegionType;
157  typedef typename FixedImageType::DirectionType DirectionType;
158 
159  typedef itk::CenteredTransformInitializer<
161  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
162 
165 
170  virtual void BeforeRegistration( void );
171 
187  virtual void InitializeTransform( void );
188 
196  virtual void SetScales( void );
197 
202  virtual void ReadFromFile( void );
203 
207  virtual void WriteToFile( const ParametersType & param ) const;
208 
213  const ParametersType & param, ParameterMapType * paramsMap ) const;
214 
215 protected:
216 
221 
227  virtual bool ReadCenterOfRotationIndex( InputPointType & rotationPoint ) const;
228 
234  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
235 
236 private:
237 
239  EulerTransformElastix( const Self & ); // purposely not implemented
241  void operator=( const Self & ); // purposely not implemented
242 
244 
245 };
246 
247 } // end namespace elastix
248 
249 #ifndef ITK_MANUAL_INSTANTIATION
250 #include "elxEulerTransform.hxx"
251 #endif
252 
253 #endif // end #ifndef __elxEulerTransform_H__
itk::AdvancedCombinationTransform::JacobianType
Superclass::JacobianType JacobianType
Definition: itkAdvancedCombinationTransform.h:84
itk::AdvancedCombinationTransform::OutputCovariantVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Definition: itkAdvancedCombinationTransform.h:88
elastix::EulerTransformElastix::SpacingType
FixedImageType::SpacingType SpacingType
Definition: elxEulerTransform.h:155
elastix::EulerTransformElastix::OutputVnlVectorType
Superclass1::OutputVnlVectorType OutputVnlVectorType
Definition: elxEulerTransform.h:131
elastix::TransformBase::FixedImageType
ElastixType::FixedImageType FixedImageType
Definition: elxTransformBase.h:157
SmartPointer< Self >
elastix::EulerTransformElastix::operator=
void operator=(const Self &)
elastix::EulerTransformElastix::ElastixType
Superclass2::ElastixType ElastixType
Definition: elxEulerTransform.h:137
elastix::EulerTransformElastix::elxClassNameMacro
elxClassNameMacro("EulerTransform")
elastix::TransformBase::CoordRepType
ElastixType::CoordRepType CoordRepType
Definition: elxTransformBase.h:156
elastix::TransformBase::RegistrationPointer
Superclass::RegistrationPointer RegistrationPointer
Definition: elxTransformBase.h:153
elastix::EulerTransformElastix::EulerTransformPointer
EulerTransformType::Pointer EulerTransformPointer
Definition: elxEulerTransform.h:133
elastix::EulerTransformElastix::Superclass1
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Definition: elxEulerTransform.h:87
elastix::EulerTransformElastix::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: elxEulerTransform.h:98
elastix::EulerTransformElastix::RegionType
FixedImageType::RegionType RegionType
Definition: elxEulerTransform.h:156
itkAdvancedCombinationTransform.h
elastix::EulerTransformElastix::IndexValueType
IndexType::IndexValueType IndexValueType
Definition: elxEulerTransform.h:152
elastix::EulerTransformElastix::OffsetType
EulerTransformType::OffsetType OffsetType
Definition: elxEulerTransform.h:134
elastix::EulerTransformElastix::ReadFromFile
virtual void ReadFromFile(void)
elastix::EulerTransformElastix
A transform based on the itk EulerTransforms.
Definition: elxEulerTransform.h:79
elastix::EulerTransformElastix::InputCovariantVectorType
Superclass1::InputCovariantVectorType InputCovariantVectorType
Definition: elxEulerTransform.h:128
elastix::EulerTransformElastix::Pointer
itk::SmartPointer< Self > Pointer
Definition: elxEulerTransform.h:97
elastix::EulerTransformElastix::EulerTransformType
itk::EulerTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > EulerTransformType
Definition: elxEulerTransform.h:95
elastix::EulerTransformElastix::InputVectorType
Superclass1::InputVectorType InputVectorType
Definition: elxEulerTransform.h:126
elastix::EulerTransformElastix::RegistrationType
Superclass2::RegistrationType RegistrationType
Definition: elxEulerTransform.h:142
elastix::EulerTransformElastix::CoordRepType
Superclass2::CoordRepType CoordRepType
Definition: elxEulerTransform.h:144
elastix::EulerTransformElastix::ReadCenterOfRotationIndex
virtual bool ReadCenterOfRotationIndex(InputPointType &rotationPoint) const
itk::AdvancedCombinationTransform::OutputVectorType
Superclass::OutputVectorType OutputVectorType
Definition: itkAdvancedCombinationTransform.h:86
elastix::EulerTransformElastix::ElastixPointer
Superclass2::ElastixPointer ElastixPointer
Definition: elxEulerTransform.h:138
elastix::EulerTransformElastix::SizeType
FixedImageType::SizeType SizeType
Definition: elxEulerTransform.h:153
elastix::EulerTransformElastix::TransformInitializerPointer
TransformInitializerType::Pointer TransformInitializerPointer
Definition: elxEulerTransform.h:161
itk::AdvancedCombinationTransform::ParametersType
Superclass::ParametersType ParametersType
Definition: itkAdvancedCombinationTransform.h:79
itk::AdvancedCombinationTransform
This class combines two transforms: an 'initial transform' with a 'current transform'.
Definition: itkAdvancedCombinationTransform.h:58
elastix::EulerTransformElastix::SetScales
virtual void SetScales(void)
elastix::TransformBase::MovingImageType
ElastixType::MovingImageType MovingImageType
Definition: elxTransformBase.h:158
itkEulerTransform.h
elastix::EulerTransformElastix::ScalesType
Superclass2::ScalesType ScalesType
Definition: elxEulerTransform.h:164
itk::AdvancedCombinationTransform::ScalarType
Superclass::ScalarType ScalarType
Definition: itkAdvancedCombinationTransform.h:78
elastix::EulerTransformElastix::EulerTransformElastix
EulerTransformElastix(const Self &)
elastix::EulerTransformElastix::m_EulerTransform
EulerTransformPointer m_EulerTransform
Definition: elxEulerTransform.h:243
elastix::TransformBase::ElastixType
Superclass::ElastixType ElastixType
Definition: elxTransformBase.h:141
itk::AdvancedCombinationTransform::OutputPointType
Superclass::OutputPointType OutputPointType
Definition: itkAdvancedCombinationTransform.h:92
elastix::EulerTransformElastix::FixedImageType
Superclass2::FixedImageType FixedImageType
Definition: elxEulerTransform.h:145
elastix::EulerTransformElastix::NumberOfParametersType
Superclass1::NumberOfParametersType NumberOfParametersType
Definition: elxEulerTransform.h:121
elastix::EulerTransformElastix::ReadCenterOfRotationPoint
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
elastix::EulerTransformElastix::ConfigurationType
Superclass2::ConfigurationType ConfigurationType
Definition: elxEulerTransform.h:140
itk::EulerTransform::OffsetType
Superclass::OffsetType OffsetType
Definition: itkEulerTransform.h:171
elastix::EulerTransformElastix::ScalarType
Superclass1::ScalarType ScalarType
Definition: elxEulerTransform.h:119
itk::AdvancedTransform
Transform maps points, vectors and covariant vectors from an input space to an output space.
Definition: itkAdvancedTransform.h:87
elastix::EulerTransformElastix::ConfigurationPointer
Superclass2::ConfigurationPointer ConfigurationPointer
Definition: elxEulerTransform.h:141
elastix::EulerTransformElastix::EulerTransformElastix
EulerTransformElastix()
elastix::EulerTransformElastix::JacobianType
Superclass1::JacobianType JacobianType
Definition: elxEulerTransform.h:122
elastix::EulerTransformElastix::CombinationTransformType
Superclass2::CombinationTransformType CombinationTransformType
Definition: elxEulerTransform.h:148
elastix::TransformBase::ElastixPointer
Superclass::ElastixPointer ElastixPointer
Definition: elxTransformBase.h:145
itk::AdvancedCombinationTransform::OutputVnlVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Definition: itkAdvancedCombinationTransform.h:90
itk::AdvancedCombinationTransform::InputVectorType
Superclass::InputVectorType InputVectorType
Definition: itkAdvancedCombinationTransform.h:85
elastix::EulerTransformElastix::InputPointType
Superclass1::InputPointType InputPointType
Definition: elxEulerTransform.h:124
elastix::EulerTransformElastix::~EulerTransformElastix
virtual ~EulerTransformElastix()
Definition: elxEulerTransform.h:220
elastix::EulerTransformElastix::IndexType
FixedImageType::IndexType IndexType
Definition: elxEulerTransform.h:151
elastix::EulerTransformElastix::InitializeTransform
virtual void InitializeTransform(void)
elastix::EulerTransformElastix::DirectionType
FixedImageType::DirectionType DirectionType
Definition: elxEulerTransform.h:157
elastix::EulerTransformElastix::InputVnlVectorType
Superclass1::InputVnlVectorType InputVnlVectorType
Definition: elxEulerTransform.h:130
elxIncludes.h
elastix::EulerTransformElastix::ParameterMapType
Superclass2::ParameterMapType ParameterMapType
Definition: elxEulerTransform.h:139
itk::AdvancedCombinationTransform::InputVnlVectorType
Superclass::InputVnlVectorType InputVnlVectorType
Definition: itkAdvancedCombinationTransform.h:89
itk::AdvancedCombinationTransform::NumberOfParametersType
Superclass::NumberOfParametersType NumberOfParametersType
Definition: itkAdvancedCombinationTransform.h:82
itk::EulerTransform
This class combines the Euler2DTransform with the Euler3DTransform.
Definition: itkEulerTransform.h:144
elastix::EulerTransformElastix::Superclass2
elx::TransformBase< TElastix > Superclass2
Definition: elxEulerTransform.h:89
elastix::EulerTransformElastix::OutputVectorType
Superclass1::OutputVectorType OutputVectorType
Definition: elxEulerTransform.h:127
elastix::EulerTransformElastix::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
elastix::EulerTransformElastix::BeforeRegistration
virtual void BeforeRegistration(void)
itk::AdvancedCombinationTransform::InputPointType
Superclass::InputPointType InputPointType
Definition: itkAdvancedCombinationTransform.h:91
elastix::EulerTransformElastix::TransformInitializerType
itk::CenteredTransformInitializer< EulerTransformType, FixedImageType, MovingImageType > TransformInitializerType
Definition: elxEulerTransform.h:160
elastix::EulerTransformElastix::MovingImageType
Superclass2::MovingImageType MovingImageType
Definition: elxEulerTransform.h:146
elastix::TransformBase::ConfigurationType
Superclass::ConfigurationType ConfigurationType
Definition: elxTransformBase.h:146
elastix::TransformBase::ScalesType
OptimizerType::ScalesType ScalesType
Definition: elxTransformBase.h:204
itk::AdvancedCombinationTransform::InputCovariantVectorType
Superclass::InputCovariantVectorType InputCovariantVectorType
Definition: itkAdvancedCombinationTransform.h:87
elastix::EulerTransformElastix::OutputCovariantVectorType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Definition: elxEulerTransform.h:129
elastix::TransformBase::ConfigurationPointer
Superclass::ConfigurationPointer ConfigurationPointer
Definition: elxTransformBase.h:147
elastix::EulerTransformElastix::WriteToFile
virtual void WriteToFile(const ParametersType &param) const
elastix::EulerTransformElastix::Self
EulerTransformElastix Self
Definition: elxEulerTransform.h:83
elastix::TransformBase::ParameterMapType
ElastixType::ParameterMapType ParameterMapType
Definition: elxTransformBase.h:207
elastix::EulerTransformElastix::ParametersType
Superclass1::ParametersType ParametersType
Definition: elxEulerTransform.h:120
elastix::EulerTransformElastix::CreateTransformParametersMap
virtual void CreateTransformParametersMap(const ParametersType &param, ParameterMapType *paramsMap) const
elastix::TransformBase
This class is the elastix base class for all Transforms.
Definition: elxTransformBase.h:133
elastix::EulerTransformElastix::ITKBaseType
Superclass2::ITKBaseType ITKBaseType
Definition: elxEulerTransform.h:147
elastix
Definition: elxFixedGenericPyramid.h:25
elastix::EulerTransformElastix::PointType
FixedImageType::PointType PointType
Definition: elxEulerTransform.h:154
elastix::EulerTransformElastix::RegistrationPointer
Superclass2::RegistrationPointer RegistrationPointer
Definition: elxEulerTransform.h:143
elastix::EulerTransformElastix::OutputPointType
Superclass1::OutputPointType OutputPointType
Definition: elxEulerTransform.h:125
elastix::TransformBase::RegistrationType
Superclass::RegistrationType RegistrationType
Definition: elxTransformBase.h:152


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo