NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Euler Affine transform. More...
Public Types | |
typedef EulerAffineTransform < TScalarType, NInputDimensions, NOutputDimensions > | Self |
typedef SwitchableAffineTransform < TScalarType, NInputDimensions, NOutputDimensions > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::RotationType | RotationType |
typedef Superclass::TranslationType | TranslationType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::ScalarType | ScalarType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef Superclass::OutputVnlVectorType | OutputVnlVectorType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::MatrixType | MatrixType |
typedef Superclass::InverseMatrixType | InverseMatrixType |
typedef Superclass::InputPointType | CenterType |
typedef Superclass::ScaleType | ScaleType |
typedef Superclass::OutputVectorType | SkewMajorType |
typedef Superclass::OutputVectorType | SkewMinorType |
typedef Superclass::FullAffineTransformType | FullAffineTransformType |
typedef Superclass::FullAffineTransformPointer | FullAffineTransformPointer |
typedef Vector< TScalarType, NInputDimensions > | COGVectorType |
Public Types inherited from itk::SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions > | |
typedef SwitchableAffineTransform < TScalarType, NInputDimensions, NInputDimensions > | Self |
typedef UCLBaseTransform < TScalarType, NInputDimensions, NOutputDimensions > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::ScalarType | ScalarType |
typedef Vector< TScalarType, itkGetStaticConstMacro(InputSpaceDimension)> | InputVectorType |
typedef Vector< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputVectorType |
typedef CovariantVector < TScalarType, itkGetStaticConstMacro(InputSpaceDimension)> | InputCovariantVectorType |
typedef CovariantVector < TScalarType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputCovariantVectorType |
typedef vnl_vector_fixed < TScalarType, itkGetStaticConstMacro(InputSpaceDimension)> | InputVnlVectorType |
typedef vnl_vector_fixed < TScalarType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputVnlVectorType |
typedef Point< TScalarType, itkGetStaticConstMacro(InputSpaceDimension)> | InputPointType |
typedef Point< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension)> | OutputPointType |
typedef Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | MatrixType |
typedef Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | InverseMatrixType |
typedef Matrix< TScalarType, NOutputDimensions+1, NInputDimensions+1 > | FullAffineMatrixType |
typedef AffineTransform < TScalarType, NInputDimensions > | FullAffineTransformType |
typedef FullAffineTransformType::Pointer | FullAffineTransformPointer |
typedef InputPointType | CenterType |
typedef Array< double > | TranslationType |
typedef Array< double > | RotationType |
typedef Array< double > | ScaleType |
typedef Array< double > | SkewType |
typedef Array< double > | RelativeParameterWeightingType |
Public Types inherited from itk::UCLBaseTransform< TScalarType, NInputDimensions, NOutputDimensions > | |
typedef UCLBaseTransform | Self |
typedef Transform< TScalarType, NInputDimensions, NOutputDimensions > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::JacobianType | JacobianType |
Static Public Member Functions | |
static Pointer | New () |
Additional Inherited Members | |
Protected Attributes inherited from itk::SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions > | |
MatrixType | m_Matrix |
OutputVectorType | m_Offset |
Euler Affine transform.
Order of rotations and translation matches SPM.
typedef Superclass::InputPointType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::CenterType |
typedef Vector<TScalarType,NInputDimensions> itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::COGVectorType |
typedef SmartPointer<const Self> itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::ConstPointer |
typedef Superclass::FullAffineTransformPointer itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::FullAffineTransformPointer |
typedef Superclass::FullAffineTransformType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::FullAffineTransformType |
typedef Superclass::InputCovariantVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputCovariantVectorType |
typedef Superclass::InputPointType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputPointType |
typedef Superclass::InputVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputVectorType |
Standard vector type for this class
typedef Superclass::InputVnlVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::InputVnlVectorType |
typedef Superclass::InverseMatrixType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::InverseMatrixType |
typedef Superclass::JacobianType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::JacobianType |
Jacobian Type
typedef Superclass::MatrixType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::MatrixType |
typedef Superclass::OutputCovariantVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputCovariantVectorType |
typedef Superclass::OutputPointType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputPointType |
typedef Superclass::OutputVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputVectorType |
typedef Superclass::OutputVnlVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::OutputVnlVectorType |
typedef Superclass::ParametersType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::ParametersType |
Parameters Type
typedef SmartPointer<Self> itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::Pointer |
typedef Superclass::RotationType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::RotationType |
typedef Superclass::ScalarType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::ScalarType |
Standard scalar type for this class
typedef Superclass::ScaleType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::ScaleType |
typedef EulerAffineTransform<TScalarType, NInputDimensions, NOutputDimensions > itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::Self |
Standard typedefs
typedef Superclass::OutputVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::SkewMajorType |
typedef Superclass::OutputVectorType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::SkewMinorType |
typedef SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions > itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::Superclass |
typedef Superclass::TranslationType itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::TranslationType |
|
protected |
|
protected |
|
protectedvirtual |
Destroy an EulerAffineTransform object
|
protected |
Computes m_Rx, m_Ry etc.
|
virtual |
Get the jacobian with respect to position. This simply returns the inverse of the current Matrix. jac will be resized as needed, but it's more efficient if it's already properly sized.
|
virtual |
|
virtual |
Get the jacobian with respect to position. This simply returns the current Matrix. jac will be resized as needed, but it's more efficient if it's already properly sized.
|
protectedvirtual |
Compute the matrix and offset.
Reimplemented from itk::SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >.
|
protectedvirtual |
Compute the parameters from the matrix.
Reimplemented from itk::SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >.
|
virtual |
To get the inverse. Returns false, if transform is non-invertable.
Implements itk::UCLBaseTransform< TScalarType, NInputDimensions, NOutputDimensions >.
|
virtual |
Compute the Jacobian of the transformation
This method computes the Jacobian matrix of the transformation. given point or vector, returning the transformed point or vector. The rank of the Jacobian will also indicate if the transform is invertible at this point.
Note that the size of this will depend on how many parameters being optimised.
Implements itk::SwitchableAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >.
|
inline |
Initilise the transform with the centers of mass of the fixed and moving images.
|
virtual |
Transforms the point by the inverse matrix.
|
inline |
Invert the transformation.
itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned | int, | ||
NInputDimensions | |||
) |
Dimension of the domain space.
itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned | int, | ||
NOutputDimensions | |||
) |
itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::itkStaticConstMacro | ( | ParametersDimension | , |
unsigned | int, | ||
15 | |||
) |
bool itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::LoadFullAffineMatrix | ( | std::string | filename | ) |
Loads matrix from a plain text file containing 4x4 matrix, returns true if successfull, false otherwise.
|
static |
New macro for creation of through a Smart Pointer
bool itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::SaveFullAffineMatrix | ( | std::string | filename | ) |
Saves matrix as a plain text file containing 4x4 matrix, returns true if successfull, false otherwise.
bool itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::SaveNiftyRegAffineMatrix | ( | std::string | filename | ) |
Saves matrix as a NiftyReg affine transformation text file as a 4x4 matrix, returns true if successfull, false otherwise.
void itk::EulerAffineTransform< TScalarType, NInputDimensions, NOutputDimensions >::SetParametersFromTransform | ( | const FullAffineTransformType * | fullAffine | ) |
Set the full transformation from a matrix. Internally we decompose the matrix, translated from spm_imatrix.m. Also, our matrix order is the same as SPM.