ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Private Member Functions
itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions > Class Template Reference

#include <itkThinPlateSplineKernelTransform.h>

+ Inheritance diagram for itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >:
+ Collaboration diagram for itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef Superclass::JacobianType JacobianType
typedef Superclass::ParametersType ParametersType
typedef SmartPointer< SelfPointer
typedef Superclass::ScalarType ScalarType
typedef
ThinPlateSplineKernelTransform 
Self
typedef KernelTransform
< TScalarType, NDimensions > 
Superclass
- Public Types inherited from itk::KernelTransform< TScalarType, NDimensions >
typedef vnl_matrix_fixed
< TScalarType, NDimensions,
NDimensions > 
AMatrixType
typedef vnl_vector_fixed
< TScalarType, NDimensions > 
BMatrixType
typedef vnl_matrix_fixed
< TScalarType, NDimensions, 1 > 
ColumnMatrixType
typedef vnl_matrix< TScalarType > DMatrixType
typedef vnl_matrix_fixed
< TScalarType, NDimensions,
NDimensions > 
IMatrixType
typedef
Superclass::InputVnlVectorType 
InputVnlVectorType
typedef vnl_matrix< TScalarType > KMatrixType
typedef vnl_matrix< TScalarType > LMatrixType
typedef
Superclass::OutputVnlVectorType 
OutputVnlVectorType
typedef vnl_matrix< TScalarType > PMatrixType
typedef
PointSetType::PointIdentifier 
PointIdentifier
typedef
PointSetType::PointsContainerConstIterator 
PointsConstIterator
typedef
PointSetType::PointsContainer 
PointsContainer
typedef PointSetType::Pointer PointSetPointer
typedef
DefaultStaticMeshTraits
< TScalarType, NDimensions,
NDimensions, TScalarType,
TScalarType > 
PointSetTraitsType
typedef PointSet
< InputPointType, NDimensions,
PointSetTraitsType
PointSetType
typedef vnl_matrix_fixed
< TScalarType, 1, NDimensions > 
RowMatrixType
typedef VectorSetType::Pointer VectorSetPointer
typedef itk::VectorContainer
< SizeValueType,
InputVectorType
VectorSetType
typedef vnl_matrix< TScalarType > WMatrixType
typedef vnl_matrix< TScalarType > YMatrixType
- Public Types inherited from itk::Transform< TScalarType, NDimensions, NDimensions >
typedef Array
< ParametersValueType
DerivativeType
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
typedef DiffusionTensor3D
< TScalarType > 
InputDiffusionTensor3DType
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
typedef
SymmetricSecondRankTensor
< TScalarType,
NInputDimensions > 
InputSymmetricSecondRankTensorType
typedef VariableLengthVector
< TScalarType > 
InputVectorPixelType
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
typedef Transform< TScalarType,
NOutputDimensions,
NInputDimensions > 
InverseTransformBaseType
typedef Matrix< TScalarType,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
typedef DiffusionTensor3D
< TScalarType > 
OutputDiffusionTensor3DType
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
typedef
SymmetricSecondRankTensor
< TScalarType,
NOutputDimensions > 
OutputSymmetricSecondRankTensorType
typedef VariableLengthVector
< TScalarType > 
OutputVectorPixelType
typedef
Superclass::ParametersValueType 
ParametersValueType
- Public Types inherited from itk::TransformBase
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
- Public Member Functions inherited from itk::KernelTransform< TScalarType, NDimensions >
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
void ComputeWMatrix (void)
virtual VectorSetTypeGetDisplacements ()
virtual const ParametersTypeGetFixedParameters (void) const
virtual const ParametersTypeGetParameters (void) const
virtual PointSetTypeGetSourceLandmarks ()
virtual PointSetTypeGetTargetLandmarks ()
virtual bool IsLinear () const
virtual void SetFixedParameters (const ParametersType &)
virtual void SetParameters (const ParametersType &)
virtual void SetSourceLandmarks (PointSetType *)
virtual void SetTargetLandmarks (PointSetType *)
virtual OutputPointType TransformPoint (const InputPointType &thisPoint) const
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
virtual void UpdateParameters (void) const
virtual OutputVectorType TransformVector (const InputVectorType &) const
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
virtual void SetStiffness (double _arg)
virtual double GetStiffness () const
- Public Member Functions inherited from itk::Transform< TScalarType, NDimensions, NDimensions >
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jacobian) const
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
unsigned int GetInputSpaceDimension (void) const
bool GetInverse (Self *) const
virtual InverseTransformBasePointer GetInverseTransform () const
virtual NumberOfParametersType GetNumberOfLocalParameters (void) const
virtual NumberOfParametersType GetNumberOfParameters (void) const
unsigned int GetOutputSpaceDimension (void) const
virtual std::string GetTransformTypeAsString () const
virtual bool HasLocalSupport () const
 itkCloneMacro (Self)
virtual void SetFixedParameters (const ParametersType &)=0
virtual void SetParameters (const ParametersType &)=0
virtual void SetParametersByValue (const ParametersType &p)
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &) const
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const
virtual OutputPointType TransformPoint (const InputPointType &) const =0
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const
virtual OutputVectorType TransformVector (const InputVectorType &) const
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
virtual void UpdateTransformParameters (const DerivativeType &update, TScalarType factor=1.0)
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int SpaceDimension = Superclass::SpaceDimension
- Static Public Attributes inherited from itk::KernelTransform< TScalarType, NDimensions >
- Static Public Attributes inherited from itk::Transform< TScalarType, NDimensions, NDimensions >
static const unsigned int InputSpaceDimension
static const unsigned int OutputSpaceDimension

Protected Types

typedef Superclass::GMatrixType GMatrixType

Protected Member Functions

virtual void ComputeDeformationContribution (const InputPointType &inputPoint, OutputPointType &result) const
virtual void ComputeG (const InputVectorType &landmarkVector, GMatrixType &gmatrix) const
- Protected Member Functions inherited from itk::KernelTransform< TScalarType, NDimensions >
void ComputeD ()
void ComputeK ()
void ComputeL ()
void ComputeP ()
virtual const GMatrixTypeComputeReflexiveG (PointsIterator) const
void ComputeY ()
void ReorganizeW (void)
 KernelTransform ()
virtual ~KernelTransform ()
void PrintSelf (std::ostream &os, Indent indent) const
- Protected Member Functions inherited from itk::Transform< TScalarType, NDimensions, NDimensions >
virtual LightObject::Pointer InternalClone () const
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 Transform ()
 Transform (NumberOfParametersType NumberOfParameters)
virtual ~Transform ()
- Protected Member Functions inherited from itk::TransformBase
 TransformBase ()
virtual ~TransformBase ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)
 ThinPlateSplineKernelTransform (const Self &)
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
 ThinPlateSplineKernelTransform ()
virtual ~ThinPlateSplineKernelTransform ()

Additional Inherited Members

- Protected Attributes inherited from itk::KernelTransform< TScalarType, NDimensions >
AMatrixType m_AMatrix
BMatrixType m_BVector
VectorSetPointer m_Displacements
DMatrixType m_DMatrix
GMatrixType m_GMatrix
IMatrixType m_I
KMatrixType m_KMatrix
LMatrixType m_LMatrix
PMatrixType m_PMatrix
PointSetPointer m_SourceLandmarks
double m_Stiffness
PointSetPointer m_TargetLandmarks
WMatrixType m_WMatrix
bool m_WMatrixComputed
YMatrixType m_YMatrix
- Protected Attributes inherited from itk::Transform< TScalarType, NDimensions, NDimensions >
DirectionChangeMatrix m_DirectionChange
ParametersType m_FixedParameters
ParametersType m_Parameters

Detailed Description

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

This class defines the thin plate spline (TPS) transformation. It is implemented in as straightforward a manner as possible from the IEEE TMI paper by Davis, Khotanzad, Flamig, and Harms, Vol. 16 No. 3 June 1997

Definition at line 36 of file itkThinPlateSplineKernelTransform.h.


Member Typedef Documentation

template<class TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer< const Self > itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ConstPointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::GMatrixType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::GMatrixType
protected

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

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 78 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::InputCovariantVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::InputCovariantVectorType

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 69 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::InputPointType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::InputPointType

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 65 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::InputVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::InputVectorType

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 67 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::JacobianType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::JacobianType

Jacobian Type

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 59 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::OutputCovariantVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::OutputCovariantVectorType

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 70 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::OutputPointType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::OutputPointType

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 66 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::OutputVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::OutputVectorType

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 68 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::ParametersType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ParametersType

Parameters type.

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 56 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef SmartPointer< Self > itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::Pointer
template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::PointsIterator itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::PointsIterator

These (rather redundant) typedefs are needed because typedefs are not inherited

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 71 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef Superclass::ScalarType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ScalarType

Scalar type.

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 50 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef ThinPlateSplineKernelTransform itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::Self

Standard class typedefs.

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 41 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
typedef KernelTransform< TScalarType, NDimensions > itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::Superclass

Constructor & Destructor Documentation

template<class TScalarType , unsigned int NDimensions = 3>
itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ThinPlateSplineKernelTransform ( )
inlineprotected

These (rather redundant) typedefs are needed because typedefs are not inherited

Definition at line 73 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
virtual itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::~ThinPlateSplineKernelTransform ( )
inlineprotectedvirtual

These (rather redundant) typedefs are needed because typedefs are not inherited

Definition at line 74 of file itkThinPlateSplineKernelTransform.h.

template<class TScalarType , unsigned int NDimensions = 3>
itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ThinPlateSplineKernelTransform ( const Self )
private

Member Function Documentation

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ComputeDeformationContribution ( const InputPointType inputPoint,
OutputPointType result 
) const
protectedvirtual

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

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

template<class TScalarType , unsigned int NDimensions = 3>
virtual void itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ComputeG ( const InputVectorType landmarkVector,
GMatrixType gmatrix 
) const
protectedvirtual

Compute G(x) For the thin plate spline, this is: G(x) = r(x)*I $ G(x) = r(x)*I $ where r(x) = Euclidean norm = sqrt[x1^2 + x2^2 + x3^2]

\[ r(x) = \sqrt{ x_1^2 + x_2^2 + x_3^2 } \]

I = identity matrix.

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

template<class TScalarType , unsigned int NDimensions = 3>
virtual::itk::LightObject::Pointer itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

template<class TScalarType , unsigned int NDimensions = 3>
virtual const char* itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

template<class TScalarType , unsigned int NDimensions = 3>
static Pointer itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::New ( )
static

New macro for creation of through a Smart Pointer

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

template<class TScalarType , unsigned int NDimensions = 3>
void itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::operator= ( const Self )
private

Mutex lock to protect modification to the reference count

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.


Member Data Documentation

template<class TScalarType , unsigned int NDimensions = 3>
const unsigned int itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::SpaceDimension = Superclass::SpaceDimension
static

Dimension of the domain space.

Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.

Definition at line 62 of file itkThinPlateSplineKernelTransform.h.


The documentation for this class was generated from the following file: