ITK
4.4.0
Insight Segmentation and Registration Toolkit
|
#include <itkThinPlateSplineKernelTransform.h>
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.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::JacobianType | JacobianType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef Superclass::PointsIterator | PointsIterator |
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 SmartPointer< const Self > | ConstPointer |
typedef vnl_matrix< TScalarType > | DMatrixType |
typedef vnl_matrix_fixed < TScalarType, NDimensions, NDimensions > | GMatrixType |
typedef vnl_matrix_fixed < TScalarType, NDimensions, NDimensions > | IMatrixType |
typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
typedef Superclass::InputPointType | InputPointType |
typedef Superclass::InputVectorType | InputVectorType |
typedef Superclass::InputVnlVectorType | InputVnlVectorType |
typedef Superclass::JacobianType | JacobianType |
typedef vnl_matrix< TScalarType > | KMatrixType |
typedef vnl_matrix< TScalarType > | LMatrixType |
typedef Superclass::OutputCovariantVectorType | OutputCovariantVectorType |
typedef Superclass::OutputPointType | OutputPointType |
typedef Superclass::OutputVectorType | OutputVectorType |
typedef Superclass::OutputVnlVectorType | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef vnl_matrix< TScalarType > | PMatrixType |
typedef SmartPointer< Self > | Pointer |
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 PointSetType::PointsContainerIterator | PointsIterator |
typedef vnl_matrix_fixed < TScalarType, 1, NDimensions > | RowMatrixType |
typedef Superclass::ScalarType | ScalarType |
typedef KernelTransform | Self |
typedef Transform< TScalarType, NDimensions, NDimensions > | Superclass |
typedef Superclass::TransformCategoryType | TransformCategoryType |
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 SmartPointer< const Self > | ConstPointer |
typedef Array < ParametersValueType > | DerivativeType |
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | DirectionChangeMatrix |
typedef CovariantVector < TScalarType, NInputDimensions > | InputCovariantVectorType |
typedef DiffusionTensor3D < TScalarType > | InputDiffusionTensor3DType |
typedef Matrix< double, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | InputDirectionMatrix |
typedef Point< TScalarType, NInputDimensions > | InputPointType |
typedef SymmetricSecondRankTensor < TScalarType, NInputDimensions > | InputSymmetricSecondRankTensorType |
typedef VariableLengthVector < TScalarType > | InputVectorPixelType |
typedef Vector< TScalarType, NInputDimensions > | InputVectorType |
typedef vnl_vector_fixed < TScalarType, NInputDimensions > | InputVnlVectorType |
typedef InverseTransformBaseType::Pointer | InverseTransformBasePointer |
typedef Transform< TScalarType, NOutputDimensions, NInputDimensions > | InverseTransformBaseType |
typedef Array2D < ParametersValueType > | JacobianType |
typedef Matrix< TScalarType, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> | MatrixType |
typedef Superclass::NumberOfParametersType | NumberOfParametersType |
typedef CovariantVector < TScalarType, NOutputDimensions > | OutputCovariantVectorType |
typedef DiffusionTensor3D < TScalarType > | OutputDiffusionTensor3DType |
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | OutputDirectionMatrix |
typedef Point< TScalarType, NOutputDimensions > | OutputPointType |
typedef SymmetricSecondRankTensor < TScalarType, NOutputDimensions > | OutputSymmetricSecondRankTensorType |
typedef VariableLengthVector < TScalarType > | OutputVectorPixelType |
typedef Vector< TScalarType, NOutputDimensions > | OutputVectorType |
typedef vnl_vector_fixed < TScalarType, NOutputDimensions > | OutputVnlVectorType |
typedef Superclass::ParametersType | ParametersType |
typedef Superclass::ParametersValueType | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef TScalarType | ScalarType |
typedef Transform | Self |
typedef TransformBase | Superclass |
Public Types inherited from itk::TransformBase | |
typedef SmartPointer< const Self > | ConstPointer |
typedef IdentifierType | NumberOfParametersType |
typedef OptimizerParameters < ParametersValueType > | ParametersType |
typedef double | ParametersValueType |
typedef SmartPointer< Self > | Pointer |
typedef TransformBase | Self |
typedef Object | Superclass |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::KernelTransform< TScalarType, NDimensions > | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | SpaceDimension = Superclass::SpaceDimension |
Static Public Attributes inherited from itk::KernelTransform< TScalarType, NDimensions > | |
static const unsigned int | SpaceDimension = 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 |
ThinPlateSplineKernelTransform () | |
virtual | ~ThinPlateSplineKernelTransform () |
Protected Member Functions inherited from itk::KernelTransform< TScalarType, NDimensions > | |
void | ComputeD () |
void | ComputeK () |
void | ComputeL () |
void | ComputeP () |
virtual const GMatrixType & | ComputeReflexiveG (PointsIterator) const |
void | ComputeY () |
KernelTransform () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | ReorganizeW (void) |
virtual | ~KernelTransform () |
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 &) | |
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 |
typedef SmartPointer< const Self > itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ConstPointer |
Definition at line 44 of file itkThinPlateSplineKernelTransform.h.
|
protected |
These (rather redundant) typedefs are needed because typedefs are not inherited.
Definition at line 78 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::InputCovariantVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::InputCovariantVectorType |
Definition at line 69 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::InputPointType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::InputPointType |
These (rather redundant) typedefs are needed because typedefs are not inherited
Definition at line 65 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::InputVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::InputVectorType |
Definition at line 67 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::JacobianType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::JacobianType |
Jacobian Type
Definition at line 59 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::OutputCovariantVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::OutputCovariantVectorType |
Definition at line 70 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::OutputPointType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::OutputPointType |
Definition at line 66 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::OutputVectorType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::OutputVectorType |
Definition at line 68 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::ParametersType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ParametersType |
Parameters type.
Definition at line 56 of file itkThinPlateSplineKernelTransform.h.
typedef SmartPointer< Self > itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::Pointer |
Definition at line 43 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::PointsIterator itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::PointsIterator |
Definition at line 71 of file itkThinPlateSplineKernelTransform.h.
typedef Superclass::ScalarType itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::ScalarType |
Scalar type.
Definition at line 50 of file itkThinPlateSplineKernelTransform.h.
typedef ThinPlateSplineKernelTransform itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::Self |
Standard class typedefs.
Definition at line 41 of file itkThinPlateSplineKernelTransform.h.
typedef KernelTransform< TScalarType, NDimensions > itk::ThinPlateSplineKernelTransform< TScalarType, NDimensions >::Superclass |
Definition at line 42 of file itkThinPlateSplineKernelTransform.h.
|
inlineprotected |
Definition at line 74 of file itkThinPlateSplineKernelTransform.h.
|
inlineprotectedvirtual |
Definition at line 75 of file itkThinPlateSplineKernelTransform.h.
|
private |
|
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 >.
|
protectedvirtual |
Compute G(x) For the thin plate spline, this is: G(x) = r(x)*I where r(x) = Euclidean norm = sqrt[x1^2 + x2^2 + x3^2]
I = identity matrix.
Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.
|
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 >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::KernelTransform< TScalarType, NDimensions >.
|
static |
New macro for creation of through a Smart Pointer
|
private |
|
static |
Dimension of the domain space.
Definition at line 62 of file itkThinPlateSplineKernelTransform.h.