go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxAdvancedAffineTransform.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 __elxAdvancedAffineTransform_H_
19#define __elxAdvancedAffineTransform_H_
20
21#include "elxIncludes.h" // include first to avoid MSVS warning
25
26namespace elastix
27{
28
76template< class TElastix >
79 typename elx::TransformBase< TElastix >::CoordRepType,
80 elx::TransformBase< TElastix >::FixedImageDimension >,
81 public elx::TransformBase< TElastix >
82{
83public:
84
91 typedef itk::SmartPointer< Self > Pointer;
92 typedef itk::SmartPointer< const Self > ConstPointer;
93
100
102 itkNewMacro( Self );
103
106
111 elxClassNameMacro( "AffineTransform" );
112
114 itkStaticConstMacro( SpaceDimension, unsigned int, Superclass2::FixedImageDimension );
115
129
143
145 typedef typename FixedImageType::IndexType IndexType;
146 typedef typename IndexType::IndexValueType IndexValueType;
147 typedef typename FixedImageType::SizeType SizeType;
148 typedef typename FixedImageType::PointType PointType;
149 typedef typename FixedImageType::SpacingType SpacingType;
150 typedef typename FixedImageType::RegionType RegionType;
151 typedef typename FixedImageType::DirectionType DirectionType;
152
153 //typedef CenteredTransformInitializer<
158
161
166 void BeforeRegistration( void ) override;
167
183 virtual void InitializeTransform( void );
184
192 virtual void SetScales( void );
193
198 void ReadFromFile( void ) override;
199
203 void WriteToFile( const ParametersType & param ) const override;
204
209 const ParametersType & param, ParameterMapType * paramsMap ) const override;
210
211protected:
212
217
223 virtual bool ReadCenterOfRotationPoint( InputPointType & rotationPoint ) const;
224
225private:
226
228 AdvancedAffineTransformElastix( const Self & ); // purposely not implemented
230 void operator=( const Self & ); // purposely not implemented
231
233
234};
235
236} // end namespace elastix
237
238#ifndef ITK_MANUAL_INSTANTIATION
239#include "elxAdvancedAffineTransform.hxx"
240#endif
241
242#endif // end #ifndef __elxAdvancedAffineTransform_H_
A transform based on the itk::AdvancedMatrixOffsetTransformBase.
void WriteToFile(const ParametersType &param) const override
itk::SmartPointer< const Self > ConstPointer
itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > Superclass1
Superclass2::RegistrationPointer RegistrationPointer
Superclass1::OutputVnlVectorType OutputVnlVectorType
Superclass1::NumberOfParametersType NumberOfParametersType
void CreateTransformParametersMap(const ParametersType &param, ParameterMapType *paramsMap) const override
itkStaticConstMacro(SpaceDimension, unsigned int, Superclass2::FixedImageDimension)
itk::AdvancedMatrixOffsetTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > AffineTransformType
Superclass2::CombinationTransformType CombinationTransformType
Superclass1::InputVnlVectorType InputVnlVectorType
Superclass2::ConfigurationPointer ConfigurationPointer
Superclass2::ConfigurationType ConfigurationType
Superclass1::InputCovariantVectorType InputCovariantVectorType
virtual bool ReadCenterOfRotationPoint(InputPointType &rotationPoint) const
Superclass1::OutputCovariantVectorType OutputCovariantVectorType
TransformInitializerType::Pointer TransformInitializerPointer
itk::CenteredTransformInitializer2< AffineTransformType, FixedImageType, MovingImageType > TransformInitializerType
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
ElastixType::ParameterMapType ParameterMapType
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.
CenteredTransformInitializer2 is a helper class intended to initialize the center of rotation and the...


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo