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 
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  void BeforeRegistration( void ) override;
133 
149  virtual void InitializeTransform( void );
150 
158  virtual void SetScales( void );
159 
164  void ReadFromFile( void ) override;
165 
169  void WriteToFile( const ParametersType & param ) const override;
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 
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 transform is an affine transformation, with a different parametrisation than the usual one.
void BeforeRegistration(void) override
Superclass2::ElastixPointer ElastixPointer
void ReadFromFile(void) override
Superclass1::InputCovariantVectorType InputCovariantVectorType
Superclass1::OutputPointType OutputPointType
Superclass2::MovingImageType MovingImageType
AffineLogTransformType::OffsetType OffsetType
Superclass1::InputVectorType InputVectorType
Superclass1::NumberOfParametersType NumberOfParametersType
itk::CenteredTransformInitializer< AffineLogTransformType, FixedImageType, MovingImageType > TransformInitializerType
Superclass1::InputPointType InputPointType
Superclass1::OutputVnlVectorType OutputVnlVectorType
FixedImageType::DirectionType DirectionType
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
IndexType::IndexValueType IndexValueType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::RegistrationType RegistrationType
Superclass1::OutputVectorType OutputVectorType
Superclass2::CombinationTransformType CombinationTransformType
TransformInitializerType::Pointer TransformInitializerPointer
itk::SmartPointer< const Self > ConstPointer
Superclass2::ConfigurationType ConfigurationType
AffineLogTransformType::Pointer AffineLogTransformPointer
AffineLogTransformPointer m_AffineLogTransform
elxClassNameMacro("AffineLogTransform")
Superclass2::RegistrationPointer RegistrationPointer
itk::AffineLogTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > AffineLogTransformType
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
Superclass2::CoordRepType CoordRepType
FixedImageType::SpacingType SpacingType
Superclass1::ParametersType ParametersType
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
FixedImageType::RegionType RegionType
Superclass2::FixedImageType FixedImageType
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass1::JacobianType JacobianType
virtual void InitializeTransform(void)
void WriteToFile(const ParametersType &param) const override
Superclass1::InputVnlVectorType InputVnlVectorType
elx::TransformBase< TElastix > Superclass2
A class that deals with user given parameters and command line arguments.
This class is the elastix base class for all Transforms.
Configuration::Pointer ConfigurationPointer
ElastixType::FixedImageType FixedImageType
itk::WeakPointer< ElastixType > ElastixPointer
OptimizerType::ScalesType ScalesType
RegistrationType * RegistrationPointer
ElastixType::MovingImageType MovingImageType
ElastixType::CoordRepType CoordRepType
ElastixType::RegistrationBaseType RegistrationType
This class combines two transforms: an 'initial transform' with a 'current transform'.
Superclass::InputCovariantVectorType InputCovariantVectorType
Superclass::OutputVnlVectorType OutputVnlVectorType
Superclass::OutputCovariantVectorType OutputCovariantVectorType
Superclass::NumberOfParametersType NumberOfParametersType
Superclass::InputVnlVectorType InputVnlVectorType
Transform maps points, vectors and covariant vectors from an input space to an output space.
Superclass::ParametersType ParametersType
Superclass::InputPointType InputPointType
Superclass::OffsetType OffsetType
SmartPointer< Self > Pointer


Generated on 1652341256 for elastix by doxygen 1.9.1 elastix logo