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<
94  typename elx::TransformBase< TElastix >::CoordRepType,
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 
212  virtual void CreateTransformParametersMap(
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 
243  EulerTransformPointer m_EulerTransform;
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__
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
Superclass::OffsetType OffsetType
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
This class combines the Euler2DTransform with the Euler3DTransform.
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 04-09-2015 for elastix by doxygen 1.8.9.1 elastix logo