go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAffineLogTransform.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 _ELXAFFINELOGTRANSFORM_H_
19 #define _ELXAFFINELOGTRANSFORM_H_
20 
22 #include "itkAffineLogTransform.h"
23 #include "itkCenteredTransformInitializer.h"
24 #include "elxIncludes.h"
25 
26 namespace elastix
27 {
28 
42 template< class TElastix >
45  typename elx::TransformBase< TElastix >::CoordRepType,
46  elx::TransformBase< TElastix >::FixedImageDimension >,
47  public elx::TransformBase< TElastix >
48 {
49 public:
50 
57  typedef itk::SmartPointer< Self > Pointer;
58  typedef itk::SmartPointer< const Self > ConstPointer;
59 
63  typename elx::TransformBase< TElastix >::CoordRepType,
65 
67  itkNewMacro( Self );
68 
71 
76  elxClassNameMacro( "AffineLogTransform" );
77 
79  itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
80 
86 
95 
98 
111 
113  typedef typename FixedImageType::IndexType IndexType;
114  typedef typename IndexType::IndexValueType IndexValueType;
115  typedef typename FixedImageType::SizeType SizeType;
116  typedef typename FixedImageType::PointType PointType;
117  typedef typename FixedImageType::SpacingType SpacingType;
118  typedef typename FixedImageType::RegionType RegionType;
119  typedef typename FixedImageType::DirectionType DirectionType;
120 
121  typedef itk::CenteredTransformInitializer<
123  typedef typename TransformInitializerType::Pointer TransformInitializerPointer;
124 
127 
132  virtual void BeforeRegistration( void );
133 
149  virtual void InitializeTransform( void );
150 
158  virtual void SetScales( void );
159 
164  virtual void ReadFromFile( void );
165 
169  virtual void WriteToFile( const ParametersType & param ) const;
170 
171 protected:
172 
175 
178 
181  virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
182 
183 private:
184 
186  AffineLogTransformElastix( const Self & ); // purposely not implemented
188  void operator=( const Self & ); // purposely not implemented
189 
190  AffineLogTransformPointer m_AffineLogTransform;
191 
192 };
193 
194 } // end namespace elastix
195 
196 #endif // ELXAFFINELOGTRANSFORM_H
197 
198 #ifndef ITK_MANUAL_INSTANTIATION
199 #include "elxAffineLogTransform.hxx"
200 #endif
This class combines two transforms: an &#39;initial transform&#39; with a &#39;current transform&#39;.
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::CombinationTransformType CombinationTransformType
Superclass1::OutputPointType OutputPointType
Superclass::InputCovariantVectorType InputCovariantVectorType
itk::AffineLogTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineLogTransformType
AffineLogTransformType::Pointer AffineLogTransformPointer
Superclass::RegistrationPointer RegistrationPointer
Superclass2::RegistrationType RegistrationType
Superclass2::ConfigurationType ConfigurationType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass2::FixedImageType FixedImageType
virtual void WriteToFile(void) const
virtual void InitializeTransform(void)
IndexType::IndexValueType IndexValueType
Superclass1::OutputVectorType OutputVectorType
TransformInitializerType::Pointer TransformInitializerPointer
Superclass::OffsetType OffsetType
OptimizerType::ScalesType ScalesType
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass1::JacobianType JacobianType
elx::TransformBase< TElastix > Superclass2
Superclass2::ElastixPointer ElastixPointer
AffineLogTransformType::OffsetType OffsetType
Superclass1::OutputVnlVectorType OutputVnlVectorType
Superclass1::InputPointType InputPointType
FixedImageType::SpacingType SpacingType
ElastixType::FixedImageType FixedImageType
Superclass2::ConfigurationPointer ConfigurationPointer
FixedImageType::RegionType RegionType
FixedImageType::DirectionType DirectionType
Superclass::ElastixType ElastixType
Superclass2::RegistrationPointer RegistrationPointer
Transform maps points, vectors and covariant vectors from an input space to an output space...
Superclass2::CoordRepType CoordRepType
Superclass1::InputVectorType InputVectorType
itk::CenteredTransformInitializer< AffineLogTransformType, FixedImageType, MovingImageType > TransformInitializerType
elxClassNameMacro("AffineLogTransform")
ElastixType::MovingImageType MovingImageType
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass::ElastixPointer ElastixPointer
ElastixType::CoordRepType CoordRepType
Superclass::RegistrationType RegistrationType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass2::MovingImageType MovingImageType
This class is the elastix base class for all Transforms.
itk::SmartPointer< const Self > ConstPointer
Superclass1::ParametersType ParametersType
Superclass::ConfigurationType ConfigurationType
Superclass::OutputVnlVectorType OutputVnlVectorType
AffineLogTransformPointer m_AffineLogTransform
Superclass::ConfigurationPointer ConfigurationPointer
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
Superclass::InputVnlVectorType InputVnlVectorType
This transform is an affine transformation, with a different parametrisation than the usual one...
virtual void BeforeRegistration(void)
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass1::NumberOfParametersType NumberOfParametersType


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.13 elastix logo