NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Rigid-body + PCA deformation model transformation. More...
Public Types | |
typedef RigidPCADeformationModelTransform | Self |
typedef PCADeformationModelTransform < TScalarType, NDimensions > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::VectorPixelType | VectorPixelType |
typedef Superclass::FieldType | FieldType |
typedef Superclass::DisplacementType | DisplacementType |
typedef Superclass::FieldPointer | FieldPointer |
typedef Superclass::FieldConstPointer | FieldConstPointer |
typedef Superclass::FieldIterator | FieldIterator |
typedef Superclass::FieldConstIterator | FieldConstIterator |
typedef Superclass::FieldConstPointerArray | FieldConstPointerArray |
typedef Superclass::FieldPointerArray | FieldPointerArray |
typedef Superclass::FieldIteratorArray | FieldIteratorArray |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef Superclass::FieldIndexType | FieldIndexType |
typedef Superclass::FieldRegionType | FieldRegionType |
typedef Superclass::FieldSizeType | FieldSizeType |
typedef Superclass::FieldInterpolatorType | FieldInterpolatorType |
typedef Superclass::FieldInterpolatorPointer | FieldInterpolatorPointer |
typedef Superclass::FieldInterpolatorPointerArray | FieldInterpolatorPointerArray |
typedef itk::Matrix< double, NDimensions, NDimensions > | MatrixType |
typedef Superclass::ScalarType | ScalarType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::JacobianType | JacobianType |
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 |
Public Types inherited from itk::PCADeformationModelTransform< TScalarType, NDimensions > | |
typedef PCADeformationModelTransform | Self |
typedef Transform< TScalarType, NDimensions, NDimensions > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef itk::Vector < TScalarType, NDimensions > | VectorPixelType |
typedef itk::Image < VectorPixelType, NDimensions > | FieldType |
typedef FieldType::PixelType | DisplacementType |
typedef FieldType::Pointer | FieldPointer |
typedef FieldType::ConstPointer | FieldConstPointer |
typedef ImageRegionIterator < FieldType > | FieldIterator |
typedef ImageRegionConstIterator < FieldType > | FieldConstIterator |
typedef std::vector < FieldConstPointer > | FieldConstPointerArray |
typedef std::vector< FieldPointer > | FieldPointerArray |
typedef std::vector < FieldConstIterator > | FieldIteratorArray |
typedef itk::ContinuousIndex < TScalarType, NDimensions > | ContinuousIndexType |
typedef FieldType::IndexType | FieldIndexType |
typedef FieldType::RegionType | FieldRegionType |
typedef FieldType::SizeType | FieldSizeType |
typedef VectorLinearInterpolateNearestNeighborExtrapolateImageFunction < FieldType, TScalarType > | FieldInterpolatorType |
typedef FieldInterpolatorType::Pointer | FieldInterpolatorPointer |
typedef std::vector < FieldInterpolatorPointer > | FieldInterpolatorPointerArray |
typedef Superclass::ScalarType | ScalarType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::JacobianType | JacobianType |
typedef Vector< TScalarType, itkGetStaticConstMacro(SpaceDimension)> | InputVectorType |
typedef Vector< TScalarType, itkGetStaticConstMacro(SpaceDimension)> | OutputVectorType |
typedef CovariantVector < TScalarType, itkGetStaticConstMacro(SpaceDimension)> | InputCovariantVectorType |
typedef CovariantVector < TScalarType, itkGetStaticConstMacro(SpaceDimension)> | OutputCovariantVectorType |
typedef vnl_vector_fixed < TScalarType, itkGetStaticConstMacro(SpaceDimension)> | InputVnlVectorType |
typedef vnl_vector_fixed < TScalarType, itkGetStaticConstMacro(SpaceDimension)> | OutputVnlVectorType |
typedef Point< TScalarType, itkGetStaticConstMacro(SpaceDimension)> | InputPointType |
typedef Point< TScalarType, itkGetStaticConstMacro(SpaceDimension)> | OutputPointType |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::PCADeformationModelTransform< TScalarType, NDimensions > | |
static Pointer | New () |
Protected Member Functions | |
RigidPCADeformationModelTransform () | |
virtual | ~RigidPCADeformationModelTransform () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ComputeMatrix (void) |
Protected Member Functions inherited from itk::PCADeformationModelTransform< TScalarType, NDimensions > | |
PCADeformationModelTransform () | |
virtual | ~PCADeformationModelTransform () |
void | PrintSelf (std::ostream &os, Indent indent) const |
Protected Attributes | |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_InPlateMatrix |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_RotationsZ |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_RollingMatrix |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_RotationsY |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_Translations |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_TranslateToCentre |
Matrix< TScalarType, NDimensions+1, NDimensions+1 > | m_BackTranslateCentre |
InputPointType | m_centre |
Protected Attributes inherited from itk::PCADeformationModelTransform< TScalarType, NDimensions > | |
TScalarType | m_meanCoefficient |
unsigned int | m_NumberOfFields |
FieldPointerArray | m_FieldArray |
FieldPointer | m_SingleField |
FieldInterpolatorPointerArray | m_Interpolators |
Rigid-body + PCA deformation model transformation.
Transformation model based on the resulting deformation fields (mean field and N eigen fields) of a PCA analysis of training deformation fields. The eigen deformation fields are assumed to be rescaled such that they represent 1 standard deviation.
The N coefficients scaling the eigen fields are the free N free parameters, i.e. T(x) = x + T0(x) + c1*T1(x) + ... + cN*TN(x) + t where T0(x): mean deformation field Ti(x): ith eigen deformation field ci: parameter[i-1] t: translation parameters t_x, t_y, t_z r: rotation parameters r_y(rolling), r_z(in-plane rotation)
A deformation field is represented as a image whose pixel type is some vector type with at least N elements, where N is the dimension of the input image. The vector type must support element access via operator [].
The output image is produced by inverse mapping: the output pixels are mapped back onto the input image. This scheme avoids the creation of any holes and overlaps in the output image.
Each vector in the deformation field represent the distance between a geometric point in the input space and a point in the output space such that:
Assumes all displacement fields have same size, region and spacing. Uses nearest neighbour interpolation of displacement field.
typedef SmartPointer<const Self> itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::ConstPointer |
typedef Superclass::ContinuousIndexType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::ContinuousIndexType |
typedef Superclass::DisplacementType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::DisplacementType |
typedef Superclass::FieldConstIterator itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldConstIterator |
typedef Superclass::FieldConstPointer itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldConstPointer |
typedef Superclass::FieldConstPointerArray itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldConstPointerArray |
typedef Superclass::FieldIndexType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldIndexType |
typedef Superclass::FieldInterpolatorPointer itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldInterpolatorPointer |
typedef Superclass::FieldInterpolatorPointerArray itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldInterpolatorPointerArray |
typedef Superclass::FieldInterpolatorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldInterpolatorType |
Interpolator typedef support.
typedef Superclass::FieldIterator itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldIterator |
typedef Superclass::FieldIteratorArray itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldIteratorArray |
typedef Superclass::FieldPointer itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldPointer |
Deformation field typedef support.
typedef Superclass::FieldPointerArray itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldPointerArray |
typedef Superclass::FieldRegionType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldRegionType |
typedef Superclass::FieldSizeType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldSizeType |
typedef Superclass::FieldType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::FieldType |
typedef Superclass::InputCovariantVectorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::InputCovariantVectorType |
Standard covariant vector type for this class.
typedef Superclass::InputPointType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::InputPointType |
Standard coordinate point type for this class.
typedef Superclass::InputVectorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::InputVectorType |
Standard vector type for this class.
typedef Superclass::InputVnlVectorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::InputVnlVectorType |
Standard vnl_vector type for this class.
typedef Superclass::JacobianType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::JacobianType |
Jacobian type.
typedef itk::Matrix<double, NDimensions, NDimensions> itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::MatrixType |
typedef Superclass::OutputCovariantVectorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::OutputCovariantVectorType |
typedef Superclass::OutputPointType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::OutputPointType |
typedef Superclass::OutputVectorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::OutputVectorType |
typedef Superclass::OutputVnlVectorType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::OutputVnlVectorType |
typedef Superclass::ParametersType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::ParametersType |
Parameters type.
typedef SmartPointer<Self> itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::Pointer |
typedef Superclass::ScalarType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::ScalarType |
Scalar type.
typedef RigidPCADeformationModelTransform itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::Self |
Standard class typedefs.
typedef PCADeformationModelTransform< TScalarType, NDimensions > itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::Superclass |
typedef Superclass::VectorPixelType itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::VectorPixelType |
Local variable typedefs
|
protected |
Construct an RigidPCADeformationModelTransform object.
|
protectedvirtual |
Destroy an RigidPCADeformationModelTransform object.
|
protected |
Compute the matrix for the rigid-body transformation
const InputPointType& itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::GetCentre | ( | void | ) |
Get centre of the rigid transformation
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::PCADeformationModelTransform< TScalarType, NDimensions >.
|
virtual |
Get the deformation field corresponding to the current parameters
Reimplemented from itk::PCADeformationModelTransform< TScalarType, NDimensions >.
|
virtual |
Initialize must be called before the first call of Evaluate() to allow the class to validate any inputs.
Reimplemented from itk::PCADeformationModelTransform< TScalarType, NDimensions >.
itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned | int, | ||
NDimensions | |||
) |
Dimension of the domain space.
|
static |
New macro for creation of through a smart pointer.
|
protected |
Print contents of a RigidPCADeformationModelTransform
void itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::SetCentre | ( | InputPointType & | ) |
Set centre of the rigid transformation
|
virtual |
Set the number of SDM components
Reimplemented from itk::PCADeformationModelTransform< TScalarType, NDimensions >.
void itk::RigidPCADeformationModelTransform< TScalarType, NDimensions >::SetParameters | ( | const ParametersType & | parameters | ) |
Set parameters. These are the coefficients for the eigen deformation fields
|
virtual |
Get the Jacobian matrix. Transform by the PCA deformation model, returning the transformed point or vector.
Reimplemented from itk::PCADeformationModelTransform< TScalarType, NDimensions >.
|
protected |
|
protected |
Centre of the rigid-body transformation
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |