![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <elxAffineDTITransform.h>
A transform based on the itk AffineDTITransform.
This transform is an affine transformation, with a different parametrisation than the usual one. It is specialised for MR-DTI applications. See also the description of the itk::AffineDTI3DTransform.
The parameters used in this class are:
Transform: Select this transform as follows:
(Transform "AffineDTITransform")
Scales: the scale factor for each parameter, used by the optimizer.
example: (Scales -1 -1 -1 100000000 -1 -1 -1 -1 -1 -1 -1 -1)
The scales work a bit different in this transformation, compared with the other transformations like the EulerTransform. By default, if no scales are supplied, the scales are estimated automatically. With the scales parameter, the user can override the automatically determined scales. Values smaller than or equal to 0 are ignored: the automatically estimated value is used for these parameters. Positive values override the automatically estimated scales. So, in the example above, the shear_x parameter is given a very large scale, which effectively turns off the optimization of that parameters. This might be useful in some MR-DTI application.
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.
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)
depecrated! 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)
MatrixTranslation: the parameters as matrix and translation, so written in the same way as the parameters of the normal AffineTransform.
example: (MatrixTranslation 1 0 0 0 1 0 0 0 0.9 0.1 0.1 0.2)
This parameter is just for convenience, so that the user can compare the results between the AffineTransform and AffineDTITransform. It is not a mandatory parameter.
Definition at line 78 of file elxAffineDTITransform.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 | |
AffineDTITransformElastix (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
AffineDTITransformPointer | m_AffineDTITransform |
typedef AffineDTITransformType::Pointer elastix::AffineDTITransformElastix< TElastix >::AffineDTITransformPointer |
Definition at line 133 of file elxAffineDTITransform.h.
typedef itk::AffineDTITransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > elastix::AffineDTITransformElastix< TElastix >::AffineDTITransformType |
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 elxAffineDTITransform.h.
typedef Superclass2::CombinationTransformType elastix::AffineDTITransformElastix< TElastix >::CombinationTransformType |
Definition at line 147 of file elxAffineDTITransform.h.
typedef Superclass2::ConfigurationPointer elastix::AffineDTITransformElastix< TElastix >::ConfigurationPointer |
Definition at line 140 of file elxAffineDTITransform.h.
typedef Superclass2::ConfigurationType elastix::AffineDTITransformElastix< TElastix >::ConfigurationType |
Definition at line 139 of file elxAffineDTITransform.h.
typedef itk::SmartPointer< const Self > elastix::AffineDTITransformElastix< TElastix >::ConstPointer |
Definition at line 93 of file elxAffineDTITransform.h.
typedef Superclass2::CoordRepType elastix::AffineDTITransformElastix< TElastix >::CoordRepType |
Definition at line 143 of file elxAffineDTITransform.h.
typedef FixedImageType::DirectionType elastix::AffineDTITransformElastix< TElastix >::DirectionType |
Definition at line 156 of file elxAffineDTITransform.h.
typedef Superclass2::ElastixPointer elastix::AffineDTITransformElastix< TElastix >::ElastixPointer |
Definition at line 138 of file elxAffineDTITransform.h.
typedef Superclass2::ElastixType elastix::AffineDTITransformElastix< TElastix >::ElastixType |
Typedef's inherited from TransformBase.
Definition at line 137 of file elxAffineDTITransform.h.
typedef Superclass2::FixedImageType elastix::AffineDTITransformElastix< TElastix >::FixedImageType |
Definition at line 144 of file elxAffineDTITransform.h.
typedef FixedImageType::IndexType elastix::AffineDTITransformElastix< TElastix >::IndexType |
Other typedef's.
Definition at line 150 of file elxAffineDTITransform.h.
typedef IndexType::IndexValueType elastix::AffineDTITransformElastix< TElastix >::IndexValueType |
Definition at line 151 of file elxAffineDTITransform.h.
typedef Superclass1::InputCovariantVectorType elastix::AffineDTITransformElastix< TElastix >::InputCovariantVectorType |
Definition at line 128 of file elxAffineDTITransform.h.
typedef Superclass1::InputPointType elastix::AffineDTITransformElastix< TElastix >::InputPointType |
Definition at line 124 of file elxAffineDTITransform.h.
typedef Superclass1::InputVectorType elastix::AffineDTITransformElastix< TElastix >::InputVectorType |
Definition at line 126 of file elxAffineDTITransform.h.
typedef Superclass1::InputVnlVectorType elastix::AffineDTITransformElastix< TElastix >::InputVnlVectorType |
Definition at line 130 of file elxAffineDTITransform.h.
typedef Superclass2::ITKBaseType elastix::AffineDTITransformElastix< TElastix >::ITKBaseType |
Definition at line 146 of file elxAffineDTITransform.h.
typedef Superclass1::JacobianType elastix::AffineDTITransformElastix< TElastix >::JacobianType |
Definition at line 122 of file elxAffineDTITransform.h.
typedef Superclass2::MovingImageType elastix::AffineDTITransformElastix< TElastix >::MovingImageType |
Definition at line 145 of file elxAffineDTITransform.h.
typedef Superclass1::NumberOfParametersType elastix::AffineDTITransformElastix< TElastix >::NumberOfParametersType |
Definition at line 121 of file elxAffineDTITransform.h.
typedef AffineDTITransformType::OffsetType elastix::AffineDTITransformElastix< TElastix >::OffsetType |
Definition at line 134 of file elxAffineDTITransform.h.
typedef Superclass1::OutputCovariantVectorType elastix::AffineDTITransformElastix< TElastix >::OutputCovariantVectorType |
Definition at line 129 of file elxAffineDTITransform.h.
typedef Superclass1::OutputPointType elastix::AffineDTITransformElastix< TElastix >::OutputPointType |
Definition at line 125 of file elxAffineDTITransform.h.
typedef Superclass1::OutputVectorType elastix::AffineDTITransformElastix< TElastix >::OutputVectorType |
Definition at line 127 of file elxAffineDTITransform.h.
typedef Superclass1::OutputVnlVectorType elastix::AffineDTITransformElastix< TElastix >::OutputVnlVectorType |
Definition at line 131 of file elxAffineDTITransform.h.
typedef Superclass1::ParametersType elastix::AffineDTITransformElastix< TElastix >::ParametersType |
Definition at line 120 of file elxAffineDTITransform.h.
typedef itk::SmartPointer< Self > elastix::AffineDTITransformElastix< TElastix >::Pointer |
Definition at line 92 of file elxAffineDTITransform.h.
typedef FixedImageType::PointType elastix::AffineDTITransformElastix< TElastix >::PointType |
Definition at line 153 of file elxAffineDTITransform.h.
typedef FixedImageType::RegionType elastix::AffineDTITransformElastix< TElastix >::RegionType |
Definition at line 155 of file elxAffineDTITransform.h.
typedef Superclass2::RegistrationPointer elastix::AffineDTITransformElastix< TElastix >::RegistrationPointer |
Definition at line 142 of file elxAffineDTITransform.h.
typedef Superclass2::RegistrationType elastix::AffineDTITransformElastix< TElastix >::RegistrationType |
Definition at line 141 of file elxAffineDTITransform.h.
typedef Superclass1::ScalarType elastix::AffineDTITransformElastix< TElastix >::ScalarType |
Typedefs inherited from the superclass. These are both in AffineDTI2D and AffineDTI3D.
Definition at line 119 of file elxAffineDTITransform.h.
typedef Superclass2::ScalesType elastix::AffineDTITransformElastix< TElastix >::ScalesType |
For scales setting in the optimizer
Definition at line 163 of file elxAffineDTITransform.h.
typedef AffineDTITransformElastix elastix::AffineDTITransformElastix< TElastix >::Self |
Standard ITK-stuff.
Definition at line 87 of file elxAffineDTITransform.h.
typedef FixedImageType::SizeType elastix::AffineDTITransformElastix< TElastix >::SizeType |
Definition at line 152 of file elxAffineDTITransform.h.
typedef FixedImageType::SpacingType elastix::AffineDTITransformElastix< TElastix >::SpacingType |
Definition at line 154 of file elxAffineDTITransform.h.
typedef itk::AdvancedCombinationTransform< typename elx::TransformBase< TElastix >::CoordRepType, elx::TransformBase< TElastix >::FixedImageDimension > elastix::AffineDTITransformElastix< TElastix >::Superclass1 |
Definition at line 90 of file elxAffineDTITransform.h.
typedef elx::TransformBase< TElastix > elastix::AffineDTITransformElastix< TElastix >::Superclass2 |
Definition at line 91 of file elxAffineDTITransform.h.
typedef TransformInitializerType::Pointer elastix::AffineDTITransformElastix< TElastix >::TransformInitializerPointer |
Definition at line 160 of file elxAffineDTITransform.h.
typedef itk::CenteredTransformInitializer< AffineDTITransformType, FixedImageType, MovingImageType > elastix::AffineDTITransformElastix< TElastix >::TransformInitializerType |
Definition at line 159 of file elxAffineDTITransform.h.
|
protected |
The constructor.
|
inlineoverrideprotected |
The destructor.
Definition at line 213 of file elxAffineDTITransform.h.
|
private |
The private constructor.
|
overridevirtual |
Execute stuff before the actual registration:
Reimplemented from elastix::BaseComponent.
elastix::AffineDTITransformElastix< TElastix >::elxClassNameMacro | ( | "AffineDTITransform" | ) |
Name of this class. Use this name in the parameter file to select this specific transform.
example: (Transform "AffineDTITransform")
|
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.
elastix::AffineDTITransformElastix< TElastix >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned int | , | ||
Superclass2::FixedImageDimension | |||
) |
Dimension of the fixed image.
|
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.
|
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 226 of file elxAffineDTITransform.h.
Generated on 1667476801 for elastix by ![]() |
![]() |