NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Class to apply the affine transformation matrix to a 3D image. More...
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetAffineTransform (EulerAffineTransformType *_arg) |
virtual EulerAffineTransformType * | GetAffineTransform () |
void | SetVolumeSize (const VolumeSizeType &r) |
Set the volume size. More... | |
void | GetAffineTransformationSparseMatrix (SparseMatrixType &R, VolumeSizeType &inSize, EulerAffineTransformParametersType ¶meters) |
Calculate and return the affine transformation matrix. More... | |
void | GetAffineTransformationSparseMatrixT (SparseMatrixType &R, SparseMatrixType &RTrans, VolumeSizeType &inSize) |
Calculate and return the transpose of the affine transformation matrix. More... | |
void | CalculteMatrixVectorMultiplication (SparseMatrixType &R, VectorType const &inputImageVector, VectorType &outputImageVector) |
Calculate and return the multiplication of the affine transformation matrix and image vector. More... | |
void | SetFDMDifference (const double &diffVal) |
Set the Finite Difference Method (FDM) difference value. More... | |
void | CalculteMatrixVectorGradient (VolumeSizeType &inSize, VectorType const &inputImageVector, VectorType &outputGradVector, EulerAffineTransformParametersType ¶meters, unsigned int paraNum) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (using FDM) More... | |
void | CalculteMatrixVectorGradient (FullMatrixType &jacobianMatrix, VolumeSizeType &inSize, EulerAffineTransformParametersType ¶meters) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (overloaded using Jacobian) More... | |
virtual const char * | GetClassName () const |
virtual void | SetAffineTransform (EulerAffineTransformType *_arg) |
virtual EulerAffineTransformType * | GetAffineTransform () |
void | SetVolumeSize (const VolumeSizeType &r) |
Set the volume size. More... | |
void | GetAffineTransformationSparseMatrix (SparseMatrixType &R, VolumeSizeType &inSize, EulerAffineTransformParametersType ¶meters) |
Calculate and return the affine transformation matrix. More... | |
void | GetAffineTransformationSparseMatrixT (SparseMatrixType &R, SparseMatrixType &RTrans, VolumeSizeType &inSize) |
Calculate and return the transpose of the affine transformation matrix. More... | |
void | CalculteMatrixVectorMultiplication (SparseMatrixType &R, VectorType const &inputImageVector, VectorType &outputImageVector) |
Calculate and return the multiplication of the affine transformation matrix and image vector. More... | |
void | CalculteMatrixVectorGradient (VolumeSizeType &inSize, VectorType const &inputImageVector, VectorType &outputGradVector, EulerAffineTransformParametersType ¶meters, unsigned int paraNum) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (using FDM) More... | |
void | CalculteMatrixVectorGradient (FullMatrixType &jacobianMatrix, VolumeSizeType &inSize, EulerAffineTransformParametersType ¶meters) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (overloaded using Jacobian) More... | |
Static Public Member Functions | |
static Pointer | New () |
static Pointer | New () |
Protected Member Functions | |
EulerAffineTransformMatrixAndItsVariations () | |
virtual | ~EulerAffineTransformMatrixAndItsVariations (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
EulerAffineTransformMatrixAndItsVariations () | |
virtual | ~EulerAffineTransformMatrixAndItsVariations (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
VolumeSizeType | m_VolumeSize |
A pointer to the 3D volume size. More... | |
unsigned long int | m_input3DImageTotalSize |
double | m_FDMDiffValue |
FDM difference value. More... | |
bool | m_FlagInitialised |
Flag indicating whether the object has been initialised. More... | |
FullMatrixType | m_affineCoreMatrix |
VectorType | m_inputCoordinateVector |
VectorType | m_outputCoordinateVector |
EulerAffineTransformType::Pointer | m_AffineTransform |
EulerAffineTransformType::JacobianType | m_JacobianArray |
FullMatrixType | m_affineCoreMatrixInverse |
Class to apply the affine transformation matrix to a 3D image.
typedef SmartPointer<const Self> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::ConstPointer |
typedef SmartPointer<const Self> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::ConstPointer |
typedef EulerAffineTransformType::ParametersType itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::EulerAffineTransformParametersType |
typedef EulerAffineTransformType::ParametersType itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::EulerAffineTransformParametersType |
typedef EulerAffineTransformType::Pointer itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::EulerAffineTransformPointerType |
typedef EulerAffineTransformType::Pointer itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::EulerAffineTransformPointerType |
typedef itk::EulerAffineTransform<double, 3, 3> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::EulerAffineTransformType |
typedef itk::EulerAffineTransform<double, 3, 3> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::EulerAffineTransformType |
typedef vnl_matrix<TScalarType> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::FullMatrixType |
typedef vnl_matrix<TScalarType> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::FullMatrixType |
typedef SmartPointer<Self> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::Pointer |
typedef SmartPointer<Self> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::Pointer |
typedef EulerAffineTransformMatrixAndItsVariations itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::Self |
Standard class typedefs.
typedef EulerAffineTransformMatrixAndItsVariations itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::Self |
Standard class typedefs.
typedef vnl_sparse_matrix<TScalarType> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::SparseMatrixType |
Create a sparse matrix to store the affine transformation matrix coefficients
typedef vnl_sparse_matrix<TScalarType> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::SparseMatrixType |
Create a sparse matrix to store the affine transformation matrix coefficients
typedef Object itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::Superclass |
typedef Object itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::Superclass |
typedef vnl_vector<TScalarType> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::VectorType |
typedef vnl_vector<TScalarType> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::VectorType |
typedef itk::Size<3> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::VolumeSizeType |
Some convenient typedefs.
typedef itk::Size<3> itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::VolumeSizeType |
Some convenient typedefs.
|
protected |
|
inlineprotectedvirtual |
|
protected |
|
inlineprotectedvirtual |
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::CalculteMatrixVectorGradient | ( | VolumeSizeType & | inSize, |
VectorType const & | inputImageVector, | ||
VectorType & | outputGradVector, | ||
EulerAffineTransformParametersType & | parameters, | ||
unsigned int | paraNum | ||
) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (using FDM)
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::CalculteMatrixVectorGradient | ( | FullMatrixType & | jacobianMatrix, |
VolumeSizeType & | inSize, | ||
EulerAffineTransformParametersType & | parameters | ||
) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (overloaded using Jacobian)
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::CalculteMatrixVectorGradient | ( | VolumeSizeType & | inSize, |
VectorType const & | inputImageVector, | ||
VectorType & | outputGradVector, | ||
EulerAffineTransformParametersType & | parameters, | ||
unsigned int | paraNum | ||
) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (using FDM)
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::CalculteMatrixVectorGradient | ( | FullMatrixType & | jacobianMatrix, |
VolumeSizeType & | inSize, | ||
EulerAffineTransformParametersType & | parameters | ||
) |
Calculate and return the gradient vector of the affine transformation matrix per each parameter (overloaded using Jacobian)
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::CalculteMatrixVectorMultiplication | ( | SparseMatrixType & | R, |
VectorType const & | inputImageVector, | ||
VectorType & | outputImageVector | ||
) |
Calculate and return the multiplication of the affine transformation matrix and image vector.
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::CalculteMatrixVectorMultiplication | ( | SparseMatrixType & | R, |
VectorType const & | inputImageVector, | ||
VectorType & | outputImageVector | ||
) |
Calculate and return the multiplication of the affine transformation matrix and image vector.
|
virtual |
Get the affine transformation
|
virtual |
Get the affine transformation
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::GetAffineTransformationSparseMatrix | ( | SparseMatrixType & | R, |
VolumeSizeType & | inSize, | ||
EulerAffineTransformParametersType & | parameters | ||
) |
Calculate and return the affine transformation matrix.
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::GetAffineTransformationSparseMatrix | ( | SparseMatrixType & | R, |
VolumeSizeType & | inSize, | ||
EulerAffineTransformParametersType & | parameters | ||
) |
Calculate and return the affine transformation matrix.
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::GetAffineTransformationSparseMatrixT | ( | SparseMatrixType & | R, |
SparseMatrixType & | RTrans, | ||
VolumeSizeType & | inSize | ||
) |
Calculate and return the transpose of the affine transformation matrix.
void itk::EulerAffineTransformMatrixAndItsVariations< TScalarType >::GetAffineTransformationSparseMatrixT | ( | SparseMatrixType & | R, |
SparseMatrixType & | RTrans, | ||
VolumeSizeType & | inSize | ||
) |
Calculate and return the transpose of the affine transformation matrix.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
static |
Method for creation through the object factory.
|
protected |
|
protected |
|
virtual |
Set the affine transformation
|
virtual |
Set the affine transformation
|
inline |
Set the Finite Difference Method (FDM) difference value.
|
inline |
Set the volume size.
|
inline |
Set the volume size.
|
protected |
The affin transform core matrix and its inverse matrix
|
protected |
|
protected |
The affine transform
|
protected |
FDM difference value.
|
protected |
Flag indicating whether the object has been initialised.
|
protected |
|
protected |
The input and output coordinate vectors
|
protected |
|
protected |
|
protected |
A pointer to the 3D volume size.