Skip to content

itk::CompactlySupportedRBFSparseKernelTransform

More...

Inherits from itk::SparseKernelTransform< TScalarType, 3 >, Transform< TScalarType, NDimensions, NDimensions >

Public Types

Name
typedef CompactlySupportedRBFSparseKernelTransform Self
typedef SparseKernelTransform< TScalarType, NDimensions > Superclass
typedef SmartPointer< Self > Pointer
typedef SmartPointer< const Self > ConstPointer
typedef Superclass::ScalarType ScalarType
typedef Superclass::ParametersType ParametersType
typedef Superclass::JacobianType JacobianType
typedef Superclass::InputPointType InputPointType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::InputVectorType InputVectorType
typedef Superclass::OutputVectorType OutputVectorType
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
typedef Superclass::PointsIterator PointsIterator

Protected Types

Name
typedef Superclass::GMatrixType GMatrixType

Public Functions

Name
itkNewMacro(Self )
itkTypeMacro(CompactlySupportedRBFSparseKernelTransform , SparseKernelTransform )
itkStaticConstMacro(SpaceDimension , unsigned int , Superclass::SpaceDimension )
void SetSigma(double sigma)
virtual void ComputeJacobianWithRespectToParameters(const InputPointType & in, JacobianType & jacobian) const

Protected Functions

Name
CompactlySupportedRBFSparseKernelTransform()
virtual ~CompactlySupportedRBFSparseKernelTransform()
virtual const GMatrixType & ComputeG(const InputVectorType & landmarkVector) const override
virtual void ComputeDeformationContribution(const InputPointType & inputPoint, OutputPointType & result) const override

Additional inherited members

Public Types inherited from itk::SparseKernelTransform< TScalarType, 3 >

Name
typedef DefaultStaticMeshTraits< TScalarType, NDimensions, NDimensions, TScalarType, TScalarType > PointSetTraitsType
typedef PointSet< InputPointType, NDimensions, PointSetTraitsType > PointSetType
typedef PointSetType::Pointer PointSetPointer
typedef PointSetType::PointsContainer PointsContainer
typedef PointSetType::PointsContainerConstIterator PointsConstIterator
typedef itk::VectorContainer< unsigned long, InputVectorType > VectorSetType
typedef VectorSetType::Pointer VectorSetPointer
typedef Eigen::Matrix< TScalarType, NDimensions, NDimensions > IMatrixType
typedef Eigen::Triplet< TScalarType > TripletType
typedef Eigen::SparseMatrix< TScalarType > LMatrixType
typedef Eigen::SparseMatrix< TScalarType > KMatrixType
typedef Eigen::SparseMatrix< TScalarType > PMatrixType
typedef Eigen::Matrix< TScalarType, Eigen::Dynamic, Eigen::Dynamic > YMatrixType
typedef Eigen::Matrix< TScalarType, Eigen::Dynamic, Eigen::Dynamic > WMatrixType
typedef Eigen::Matrix< TScalarType, Eigen::Dynamic, Eigen::Dynamic > DMatrixType
typedef Eigen::Matrix< TScalarType, NDimensions, NDimensions > AMatrixType
typedef Eigen::Matrix< TScalarType, NDimensions, 1 > BMatrixType
typedef Eigen::Matrix< TScalarType, 1, NDimensions > RowMatrixType
typedef Eigen::Matrix< TScalarType, NDimensions, 1 > ColumnMatrixType

Public Functions inherited from itk::SparseKernelTransform< TScalarType, 3 >

Name
itkGetObjectMacro(SourceLandmarks , PointSetType )
virtual void SetSourceLandmarks(PointSetType * )
itkGetObjectMacro(TargetLandmarks , PointSetType )
virtual void SetTargetLandmarks(PointSetType * )
itkGetObjectMacro(Displacements , VectorSetType )
void ComputeWMatrix(void ) const
virtual OutputPointType TransformPoint(const InputPointType & thisPoint) const
virtual void SetIdentity()
virtual void SetParameters(const ParametersType & )
virtual void SetFixedParameters(const ParametersType & )
virtual void UpdateParameters(void ) const
virtual const ParametersType & GetParameters(void ) const
virtual const ParametersType & GetFixedParameters(void ) const
virtual void SetStiffness(double stiffness)
itkGetMacro(Stiffness , double )

Protected Functions inherited from itk::SparseKernelTransform< TScalarType, 3 >

Name
SparseKernelTransform()
virtual ~SparseKernelTransform()
void PrintSelf(std::ostream & os, Indent indent) const
virtual const GMatrixType & ComputeReflexiveG(PointsIterator ) const
void ComputeK() const
void ComputeL() const
void ComputeP() const
void ComputeY() const
void ComputeD() const
void ReorganizeW(void ) const

Public Attributes inherited from itk::SparseKernelTransform< TScalarType, 3 >

Name
PointSetPointer m_SourceLandmarks
PointSetPointer m_TargetLandmarks

Protected Attributes inherited from itk::SparseKernelTransform< TScalarType, 3 >

Name
double m_Stiffness
VectorSetPointer m_Displacements
LMatrixType m_LMatrix
LMatrixType m_LMatrixInverse
KMatrixType m_KMatrix
PMatrixType m_PMatrix
YMatrixType m_YMatrix
WMatrixType m_WMatrix
DMatrixType m_DMatrix
AMatrixType m_AMatrix
BMatrixType m_BVector
GMatrixType m_GMatrix
bool m_WMatrixComputed
bool m_LMatrixComputed
bool m_LInverseComputed
IMatrixType m_I

Detailed Description

template <class TScalarType ,
unsigned int NDimensions =3>
class itk::CompactlySupportedRBFSparseKernelTransform;

Public Types Documentation

typedef Self

typedef CompactlySupportedRBFSparseKernelTransform itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::Self;

Standard class typedefs.

typedef Superclass

typedef SparseKernelTransform< TScalarType, NDimensions> itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::Superclass;

typedef Pointer

typedef SmartPointer<Self> itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::Pointer;

typedef ConstPointer

typedef SmartPointer<const Self> itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::ConstPointer;

typedef ScalarType

typedef Superclass::ScalarType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::ScalarType;

Scalar type.

typedef ParametersType

typedef Superclass::ParametersType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::ParametersType;

Parameters type.

typedef JacobianType

typedef Superclass::JacobianType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::JacobianType;

Jacobian Type

typedef InputPointType

typedef Superclass::InputPointType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::InputPointType;

These (rather redundant) typedefs are needed because on SGI, typedefs are not inherited

typedef OutputPointType

typedef Superclass::OutputPointType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::OutputPointType;

typedef InputVectorType

typedef Superclass::InputVectorType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::InputVectorType;

typedef OutputVectorType

typedef Superclass::OutputVectorType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::OutputVectorType;

typedef InputCovariantVectorType

typedef Superclass::InputCovariantVectorType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::InputCovariantVectorType;

typedef OutputCovariantVectorType

typedef Superclass::OutputCovariantVectorType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::OutputCovariantVectorType;

typedef PointsIterator

typedef Superclass::PointsIterator itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::PointsIterator;

Protected Types Documentation

typedef GMatrixType

typedef Superclass::GMatrixType itk::CompactlySupportedRBFSparseKernelTransform< TScalarType, NDimensions >::GMatrixType;

These (rather redundant) typedefs are needed because on SGI, typedefs are not inherited.

Public Functions Documentation

function itkNewMacro

itkNewMacro(
    Self 
)

New macro for creation of through a Smart Pointer

function itkTypeMacro

itkTypeMacro(
    CompactlySupportedRBFSparseKernelTransform ,
    SparseKernelTransform 
)

Run-time type information (and related methods).

function itkStaticConstMacro

itkStaticConstMacro(
    SpaceDimension ,
    unsigned int ,
    Superclass::SpaceDimension 
)

Dimension of the domain space.

function SetSigma

inline void SetSigma(
    double sigma
)

function ComputeJacobianWithRespectToParameters

virtual void ComputeJacobianWithRespectToParameters(
    const InputPointType & in,
    JacobianType & jacobian
) const

Reimplements: itk::SparseKernelTransform::ComputeJacobianWithRespectToParameters

Protected Functions Documentation

function CompactlySupportedRBFSparseKernelTransform

inline CompactlySupportedRBFSparseKernelTransform()

function ~CompactlySupportedRBFSparseKernelTransform

inline virtual ~CompactlySupportedRBFSparseKernelTransform()

function ComputeG

virtual const GMatrixType & ComputeG(
    const InputVectorType & landmarkVector
) const override

Reimplements: itk::SparseKernelTransform::ComputeG

Compute G(x) This is essentially the kernel of the transform. By overriding this method, we can obtain (among others): Elastic body spline Thin plate spline Volume spline

function ComputeDeformationContribution

virtual void ComputeDeformationContribution(
    const InputPointType & inputPoint,
    OutputPointType & result
) const override

Reimplements: itk::SparseKernelTransform::ComputeDeformationContribution

Compute the contribution of the landmarks weighted by the kernel funcion to the global deformation of the space


Updated on 2022-07-23 at 17:50:02 -0600