![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxAdvancedAffineTransform.h>
A transform based on the itk::AdvancedMatrixOffsetTransformBase.
This transform is an affine transformation.
The first couple of parameters (4 in 2D and 9 in 3D) define the affine matrix, the last couple (2 in 2D and 3 in 3D) define the translation.
The parameters used in this class are:
Transform: Select this transform as follows:
(Transform "AffineTransform")
Scales: the scale factor between the rotations and translations, used in the optimizer.
example: (Scales 200000.0)
example: (Scales 100000.0 60000.0 ... 80000.0)
If only one argument is given, that factor is used for the rotations. If more than one argument is given, then the number of arguments should be equal to the number of parameters: for each parameter its scale factor. If this parameter option is not used, by default the rotations are scaled by a factor of 100000.0. See also the AutomaticScalesEstimation parameter.
AutomaticScalesEstimation: if this parameter is set to "true" the Scales parameter is ignored and the scales are determined automatically.
example: ( AutomaticScalesEstimation "true" )
Default: "false" (for backwards compatibility). Recommended: "true".
CenterOfRotation: an index around which the image is rotated.
example: (CenterOfRotation 128 128 90)
By default the CenterOfRotation is set to the geometric center of the image.
AutomaticTransformInitialization: whether or not the initial translation between images should be estimated as the distance between their centers.
example: (AutomaticTransformInitialization "true")
By default "false" is assumed. So, no initial translation.
AutomaticTransformInitializationMethod: how to initialize this transform. Should be one of {GeometricalCenter, CenterOfGravity, Origins, GeometryTop}.
example: (AutomaticTransformInitializationMethod "CenterOfGravity")
By default "GeometricalCenter" is assumed.
The transform parameters necessary for transformix, additionally defined by this class, are:
CenterOfRotation: stores the center of rotation as an index.
example: (CenterOfRotation 128 128 90)
deprecated! From elastix version 3.402 this is changed to CenterOfRotationPoint!
CenterOfRotationPoint: stores the center of rotation, expressed in world coordinates.
example: (CenterOfRotationPoint 10.555 6.666 12.345)
Definition at line 77 of file elxAdvancedAffineTransform.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static std::string | ConvertSecondsToDHMS (const double totalSeconds, const unsigned int precision) |
static void | InitializeElastixExecutable () |
static bool | IsElastixLibrary () |
Private Member Functions | |
AdvancedAffineTransformElastix (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
AffineTransformPointer | m_AffineTransform |
typedef AffineTransformType::Pointer elastix::AdvancedAffineTransformElastix< TElastix >::AffineTransformPointer |
Definition at line 157 of file elxAdvancedAffineTransform.h.
typedef itk::AdvancedMatrixOffsetTransformBase< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension, elx::TransformBase< TElastix >::MovingImageDimension > elastix::AdvancedAffineTransformElastix< TElastix >::AffineTransformType |
The ITK-class that provides most of the functionality, and that is set as the "CurrentTransform" in the CombinationTransform
Definition at line 99 of file elxAdvancedAffineTransform.h.
typedef Superclass2::CombinationTransformType elastix::AdvancedAffineTransformElastix< TElastix >::CombinationTransformType |
Definition at line 142 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ConfigurationPointer elastix::AdvancedAffineTransformElastix< TElastix >::ConfigurationPointer |
Definition at line 135 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ConfigurationType elastix::AdvancedAffineTransformElastix< TElastix >::ConfigurationType |
Definition at line 134 of file elxAdvancedAffineTransform.h.
typedef itk::SmartPointer< const Self > elastix::AdvancedAffineTransformElastix< TElastix >::ConstPointer |
Definition at line 92 of file elxAdvancedAffineTransform.h.
typedef Superclass2::CoordRepType elastix::AdvancedAffineTransformElastix< TElastix >::CoordRepType |
Definition at line 138 of file elxAdvancedAffineTransform.h.
typedef FixedImageType::DirectionType elastix::AdvancedAffineTransformElastix< TElastix >::DirectionType |
Definition at line 151 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ElastixPointer elastix::AdvancedAffineTransformElastix< TElastix >::ElastixPointer |
Definition at line 132 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ElastixType elastix::AdvancedAffineTransformElastix< TElastix >::ElastixType |
Typedef's from the TransformBase class.
Definition at line 131 of file elxAdvancedAffineTransform.h.
typedef Superclass2::FixedImageType elastix::AdvancedAffineTransformElastix< TElastix >::FixedImageType |
Definition at line 139 of file elxAdvancedAffineTransform.h.
typedef FixedImageType::IndexType elastix::AdvancedAffineTransformElastix< TElastix >::IndexType |
Other typedef's.
Definition at line 145 of file elxAdvancedAffineTransform.h.
typedef IndexType::IndexValueType elastix::AdvancedAffineTransformElastix< TElastix >::IndexValueType |
Definition at line 146 of file elxAdvancedAffineTransform.h.
typedef Superclass1::InputCovariantVectorType elastix::AdvancedAffineTransformElastix< TElastix >::InputCovariantVectorType |
Definition at line 123 of file elxAdvancedAffineTransform.h.
typedef Superclass1::InputPointType elastix::AdvancedAffineTransformElastix< TElastix >::InputPointType |
Definition at line 127 of file elxAdvancedAffineTransform.h.
typedef Superclass1::InputVectorType elastix::AdvancedAffineTransformElastix< TElastix >::InputVectorType |
Definition at line 121 of file elxAdvancedAffineTransform.h.
typedef Superclass1::InputVnlVectorType elastix::AdvancedAffineTransformElastix< TElastix >::InputVnlVectorType |
Definition at line 125 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ITKBaseType elastix::AdvancedAffineTransformElastix< TElastix >::ITKBaseType |
Definition at line 141 of file elxAdvancedAffineTransform.h.
typedef Superclass1::JacobianType elastix::AdvancedAffineTransformElastix< TElastix >::JacobianType |
Definition at line 120 of file elxAdvancedAffineTransform.h.
typedef Superclass2::MovingImageType elastix::AdvancedAffineTransformElastix< TElastix >::MovingImageType |
Definition at line 140 of file elxAdvancedAffineTransform.h.
typedef Superclass1::NumberOfParametersType elastix::AdvancedAffineTransformElastix< TElastix >::NumberOfParametersType |
Definition at line 119 of file elxAdvancedAffineTransform.h.
typedef Superclass1::OutputCovariantVectorType elastix::AdvancedAffineTransformElastix< TElastix >::OutputCovariantVectorType |
Definition at line 124 of file elxAdvancedAffineTransform.h.
typedef Superclass1::OutputPointType elastix::AdvancedAffineTransformElastix< TElastix >::OutputPointType |
Definition at line 128 of file elxAdvancedAffineTransform.h.
typedef Superclass1::OutputVectorType elastix::AdvancedAffineTransformElastix< TElastix >::OutputVectorType |
Definition at line 122 of file elxAdvancedAffineTransform.h.
typedef Superclass1::OutputVnlVectorType elastix::AdvancedAffineTransformElastix< TElastix >::OutputVnlVectorType |
Definition at line 126 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ParameterMapType elastix::AdvancedAffineTransformElastix< TElastix >::ParameterMapType |
Definition at line 133 of file elxAdvancedAffineTransform.h.
typedef Superclass1::ParametersType elastix::AdvancedAffineTransformElastix< TElastix >::ParametersType |
Definition at line 118 of file elxAdvancedAffineTransform.h.
typedef itk::SmartPointer< Self > elastix::AdvancedAffineTransformElastix< TElastix >::Pointer |
Definition at line 91 of file elxAdvancedAffineTransform.h.
typedef FixedImageType::PointType elastix::AdvancedAffineTransformElastix< TElastix >::PointType |
Definition at line 148 of file elxAdvancedAffineTransform.h.
typedef FixedImageType::RegionType elastix::AdvancedAffineTransformElastix< TElastix >::RegionType |
Definition at line 150 of file elxAdvancedAffineTransform.h.
typedef Superclass2::RegistrationPointer elastix::AdvancedAffineTransformElastix< TElastix >::RegistrationPointer |
Definition at line 137 of file elxAdvancedAffineTransform.h.
typedef Superclass2::RegistrationType elastix::AdvancedAffineTransformElastix< TElastix >::RegistrationType |
Definition at line 136 of file elxAdvancedAffineTransform.h.
typedef Superclass1::ScalarType elastix::AdvancedAffineTransformElastix< TElastix >::ScalarType |
Typedefs inherited from the superclass.
Definition at line 117 of file elxAdvancedAffineTransform.h.
typedef Superclass2::ScalesType elastix::AdvancedAffineTransformElastix< TElastix >::ScalesType |
For scales setting in the optimizer
Definition at line 160 of file elxAdvancedAffineTransform.h.
typedef AdvancedAffineTransformElastix elastix::AdvancedAffineTransformElastix< TElastix >::Self |
Standard ITK-stuff.
Definition at line 86 of file elxAdvancedAffineTransform.h.
typedef FixedImageType::SizeType elastix::AdvancedAffineTransformElastix< TElastix >::SizeType |
Definition at line 147 of file elxAdvancedAffineTransform.h.
typedef FixedImageType::SpacingType elastix::AdvancedAffineTransformElastix< TElastix >::SpacingType |
Definition at line 149 of file elxAdvancedAffineTransform.h.
typedef itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > elastix::AdvancedAffineTransformElastix< TElastix >::Superclass1 |
Definition at line 89 of file elxAdvancedAffineTransform.h.
typedef elx::TransformBase< TElastix > elastix::AdvancedAffineTransformElastix< TElastix >::Superclass2 |
Definition at line 90 of file elxAdvancedAffineTransform.h.
typedef TransformInitializerType::Pointer elastix::AdvancedAffineTransformElastix< TElastix >::TransformInitializerPointer |
Definition at line 156 of file elxAdvancedAffineTransform.h.
typedef itk::CenteredTransformInitializer2< AffineTransformType, FixedImageType, MovingImageType > elastix::AdvancedAffineTransformElastix< TElastix >::TransformInitializerType |
Definition at line 155 of file elxAdvancedAffineTransform.h.
|
protected |
The constructor.
|
inlineoverrideprotected |
The destructor.
Definition at line 216 of file elxAdvancedAffineTransform.h.
|
private |
The private constructor.
|
overridevirtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
|
overridevirtual |
Function to create transform-parameters map. Creates the TransformParametersmap
Reimplemented from elastix::TransformBase< TElastix >.
elastix::AdvancedAffineTransformElastix< TElastix >::elxClassNameMacro | ( | "AffineTransform" | ) |
Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "AffineTransform")
|
virtual |
Run-time type information (and related methods).
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Initialize Transform.
It is not yet possible to enter an initial rotation angle or scaling.
elastix::AdvancedAffineTransformElastix< TElastix >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
Superclass2::FixedImageDimension | |||
) |
Dimension of the domain space.
|
static |
Method for creation through the object factory.
|
private |
The private copy constructor.
|
protectedvirtual |
Try to read the CenterOfRotationPoint from the transform parameter file The CenterOfRotationPoint is already in world coordinates. Transform parameter files generated by elastix version > 3.402 save the center of rotation in this way.
|
overridevirtual |
Function to read transform-parameters from a file.
It reads the center of rotation and calls the superclass' implementation.
Reimplemented from elastix::TransformBase< TElastix >.
|
virtual |
Set the scales
|
overridevirtual |
Function to write transform-parameters to a file. It writes the center of rotation to file and calls the superclass' implementation.
Reimplemented from elastix::TransformBase< TElastix >.
|
private |
Definition at line 232 of file elxAdvancedAffineTransform.h.
Generated on 1667476801 for elastix by ![]() |
![]() |