![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkAffineDTI3DTransform.h>
AffineDTI3DTransform of a vector space (e.g. space coordinates)
This transform applies an affine transformation, but is parameterized by angles, shear factors, scales, and translation, instead of by the affine matrix. It is meant for registration of MR diffusion weighted images, but could be used for other images as well of course.
The affine model is adopted from the following paper: [1] A. Leemans and D.K. Jones. "The B-matrix must be rotated when correcting for subject motion in DTI data". Magnetic Resonance in Medicine, Volume 61, Issue 6, pages 1336 - 1349, 2009.
The model is as follows:
T(x) = R G S (x-c) + t
with:
Using this model, the rotation components can be easily extracted an applied to the B-matrix.
The parameters are ordered as follows: [ AngleX AngleY AngleZ ShearX ShearY ShearZ ScaleX ScaleY ScaleZ TranslationX TranslationY TranslationZ ]
The serialization of the fixed parameters is an array of 3 elements defining the center of rotation.
Definition at line 75 of file itkAffineDTI3DTransform.h.
typedef Superclass::ScalarType itk::AffineDTI3DTransform< TScalarType >::AngleType |
Definition at line 113 of file itkAffineDTI3DTransform.h.
typedef Superclass::CenterType itk::AffineDTI3DTransform< TScalarType >::CenterType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 110 of file itkAffineDTI3DTransform.h.
typedef SmartPointer<const Self> itk::AffineDTI3DTransform< TScalarType >::ConstPointer |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 83 of file itkAffineDTI3DTransform.h.
typedef Superclass::InputCovariantVectorType itk::AffineDTI3DTransform< TScalarType >::InputCovariantVectorType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 102 of file itkAffineDTI3DTransform.h.
typedef Superclass::InputPointType itk::AffineDTI3DTransform< TScalarType >::InputPointType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 106 of file itkAffineDTI3DTransform.h.
typedef Superclass::InputVectorType itk::AffineDTI3DTransform< TScalarType >::InputVectorType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 100 of file itkAffineDTI3DTransform.h.
typedef Superclass::InputVnlVectorType itk::AffineDTI3DTransform< TScalarType >::InputVnlVectorType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 104 of file itkAffineDTI3DTransform.h.
typedef Superclass::InternalMatrixType itk::AffineDTI3DTransform< TScalarType >::InternalMatrixType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 123 of file itkAffineDTI3DTransform.h.
typedef Superclass::InverseMatrixType itk::AffineDTI3DTransform< TScalarType >::InverseMatrixType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 109 of file itkAffineDTI3DTransform.h.
typedef Superclass ::JacobianOfSpatialHessianType itk::AffineDTI3DTransform< TScalarType >::JacobianOfSpatialHessianType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 122 of file itkAffineDTI3DTransform.h.
typedef Superclass ::JacobianOfSpatialJacobianType itk::AffineDTI3DTransform< TScalarType >::JacobianOfSpatialJacobianType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 119 of file itkAffineDTI3DTransform.h.
typedef Superclass::JacobianType itk::AffineDTI3DTransform< TScalarType >::JacobianType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 98 of file itkAffineDTI3DTransform.h.
typedef Superclass::MatrixType itk::AffineDTI3DTransform< TScalarType >::MatrixType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 108 of file itkAffineDTI3DTransform.h.
typedef Superclass ::NonZeroJacobianIndicesType itk::AffineDTI3DTransform< TScalarType >::NonZeroJacobianIndicesType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 116 of file itkAffineDTI3DTransform.h.
typedef Superclass::OffsetType itk::AffineDTI3DTransform< TScalarType >::OffsetType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 112 of file itkAffineDTI3DTransform.h.
typedef Superclass::OutputCovariantVectorType itk::AffineDTI3DTransform< TScalarType >::OutputCovariantVectorType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 103 of file itkAffineDTI3DTransform.h.
typedef Superclass::OutputPointType itk::AffineDTI3DTransform< TScalarType >::OutputPointType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 107 of file itkAffineDTI3DTransform.h.
typedef Superclass::OutputVectorType itk::AffineDTI3DTransform< TScalarType >::OutputVectorType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 101 of file itkAffineDTI3DTransform.h.
typedef Superclass::OutputVnlVectorType itk::AffineDTI3DTransform< TScalarType >::OutputVnlVectorType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 105 of file itkAffineDTI3DTransform.h.
typedef Superclass::ParametersType itk::AffineDTI3DTransform< TScalarType >::ParametersType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 97 of file itkAffineDTI3DTransform.h.
typedef SmartPointer<Self> itk::AffineDTI3DTransform< TScalarType >::Pointer |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 82 of file itkAffineDTI3DTransform.h.
typedef FixedArray< ScalarType > itk::AffineDTI3DTransform< TScalarType >::ScalarArrayType |
Definition at line 125 of file itkAffineDTI3DTransform.h.
typedef Superclass::ScalarType itk::AffineDTI3DTransform< TScalarType >::ScalarType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 99 of file itkAffineDTI3DTransform.h.
typedef AffineDTI3DTransform itk::AffineDTI3DTransform< TScalarType >::Self |
Standard class typedefs.
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 80 of file itkAffineDTI3DTransform.h.
typedef Superclass::SpatialHessianType itk::AffineDTI3DTransform< TScalarType >::SpatialHessianType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 120 of file itkAffineDTI3DTransform.h.
typedef Superclass::SpatialJacobianType itk::AffineDTI3DTransform< TScalarType >::SpatialJacobianType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 117 of file itkAffineDTI3DTransform.h.
typedef AdvancedMatrixOffsetTransformBase< TScalarType,3,3 > itk::AffineDTI3DTransform< TScalarType >::Superclass |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 81 of file itkAffineDTI3DTransform.h.
typedef Superclass::TranslationType itk::AffineDTI3DTransform< TScalarType >::TranslationType |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
Definition at line 111 of file itkAffineDTI3DTransform.h.
itk::AffineDTI3DTransform< TScalarType >::AffineDTI3DTransform | ( | ) | [protected] |
itk::AffineDTI3DTransform< TScalarType >::AffineDTI3DTransform | ( | const MatrixType & | matrix, |
const OutputPointType & | offset | ||
) | [protected] |
itk::AffineDTI3DTransform< TScalarType >::AffineDTI3DTransform | ( | unsigned int | outputSpaceDims, |
unsigned int | paramsSpaceDims | ||
) | [protected] |
itk::AffineDTI3DTransform< TScalarType >::~AffineDTI3DTransform | ( | ) | [inline, protected] |
Definition at line 150 of file itkAffineDTI3DTransform.h.
itk::AffineDTI3DTransform< TScalarType >::AffineDTI3DTransform | ( | const Self & | ) | [private] |
void itk::AffineDTI3DTransform< TScalarType >::ComputeMatrix | ( | void | ) | [protected, virtual] |
Compute the components of the rotation matrix in the superclass.
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
void itk::AffineDTI3DTransform< TScalarType >::ComputeMatrixParameters | ( | void | ) | [protected, virtual] |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
virtual const char* itk::AffineDTI3DTransform< TScalarType >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
virtual void itk::AffineDTI3DTransform< TScalarType >::GetJacobian | ( | const InputPointType & | , |
JacobianType & | , | ||
NonZeroJacobianIndicesType & | |||
) | const [virtual] |
Compute the Jacobian of the transformation.
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
const ParametersType& itk::AffineDTI3DTransform< TScalarType >::GetParameters | ( | void | ) | const |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
itk::AffineDTI3DTransform< TScalarType >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned | int, | ||
3 | |||
) |
Dimension of the space.
itk::AffineDTI3DTransform< TScalarType >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned | int, | ||
3 | |||
) |
itk::AffineDTI3DTransform< TScalarType >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned | int, | ||
3 | |||
) |
itk::AffineDTI3DTransform< TScalarType >::itkStaticConstMacro | ( | ParametersDimension | , |
unsigned | int, | ||
12 | |||
) |
static Pointer itk::AffineDTI3DTransform< TScalarType >::New | ( | ) | [static] |
New macro for creation of through a Smart Pointer.
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
void itk::AffineDTI3DTransform< TScalarType >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
virtual void itk::AffineDTI3DTransform< TScalarType >::PrecomputeJacobianOfSpatialJacobian | ( | void | ) | [protected, virtual] |
Update the m_JacobianOfSpatialJacobian.
void itk::AffineDTI3DTransform< TScalarType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected] |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
virtual void itk::AffineDTI3DTransform< TScalarType >::SetIdentity | ( | void | ) | [virtual] |
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
void itk::AffineDTI3DTransform< TScalarType >::SetParameters | ( | const ParametersType & | parameters | ) |
Set/Get the transformation from a container of parameters This is typically used by optimizers. There are 12 parameters. [ Rx Ry Rz Gx Gy Gz Sx Sy Sz Tx Ty Tz ] ~rotation, scale, skew, translation
Reimplemented from itk::AdvancedMatrixOffsetTransformBase< TScalarType, 3, 3 >.
void itk::AffineDTI3DTransform< TScalarType >::SetVarAngleScaleShear | ( | ScalarArrayType | angle, |
ScalarArrayType | shear, | ||
ScalarArrayType | scale | ||
) | [protected] |
Set values of angles etc directly without recomputing other parameters.
ScalarArrayType itk::AffineDTI3DTransform< TScalarType >::m_Angle [private] |
Definition at line 171 of file itkAffineDTI3DTransform.h.
ScalarArrayType itk::AffineDTI3DTransform< TScalarType >::m_Scale [private] |
Definition at line 173 of file itkAffineDTI3DTransform.h.
ScalarArrayType itk::AffineDTI3DTransform< TScalarType >::m_Shear [private] |
Definition at line 172 of file itkAffineDTI3DTransform.h.
Generated on 24-05-2012 for elastix by ![]() |
![]() |