ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
itk::KernelTransform< TParametersValueType, NDimensions > Class Template Reference

#include <itkKernelTransform.h>

+ Inheritance diagram for itk::KernelTransform< TParametersValueType, NDimensions >:
+ Collaboration diagram for itk::KernelTransform< TParametersValueType, NDimensions >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using FixedParametersType = typename Superclass::FixedParametersType
 
using InputCovariantVectorType = typename Superclass::InputCovariantVectorType
 
using InputPointType = typename Superclass::InputPointType
 
using InputVectorType = typename Superclass::InputVectorType
 
using InputVnlVectorType = typename Superclass::InputVnlVectorType
 
using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType
 
using JacobianPositionType = typename Superclass::JacobianPositionType
 
using JacobianType = typename Superclass::JacobianType
 
using NumberOfParametersType = typename Superclass::NumberOfParametersType
 
using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType
 
using OutputPointType = typename Superclass::OutputPointType
 
using OutputVectorType = typename Superclass::OutputVectorType
 
using OutputVnlVectorType = typename Superclass::OutputVnlVectorType
 
using ParametersType = typename Superclass::ParametersType
 
using Pointer = SmartPointer< Self >
 
using PointIdentifier = typename PointSetType::PointIdentifier
 
using PointsConstIterator = typename PointSetType::PointsContainerConstIterator
 
using PointsContainer = typename PointSetType::PointsContainer
 
using PointSetPointer = typename PointSetType::Pointer
 
using PointSetTraitsType = DefaultStaticMeshTraits< TParametersValueType, NDimensions, NDimensions, TParametersValueType, TParametersValueType >
 
using PointSetType = PointSet< InputPointType, NDimensions, PointSetTraitsType >
 
using PointsIterator = typename PointSetType::PointsContainerIterator
 
using ScalarType = typename Superclass::ScalarType
 
using Self = KernelTransform
 
using Superclass = Transform< TParametersValueType, NDimensions, NDimensions >
 
using TransformCategoryEnum = typename Superclass::TransformCategoryEnum
 
using VectorSetPointer = typename VectorSetType::Pointer
 
using VectorSetType = itk::VectorContainer< SizeValueType, InputVectorType >
 
- Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
using ConstPointer = SmartPointer< const Self >
 
using DerivativeType = Array< ParametersValueType >
 
using DirectionChangeMatrix = Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimension >
 
using FixedParametersType = typename Superclass::FixedParametersType
 
using FixedParametersValueType = typename Superclass::FixedParametersValueType
 
using InputCovariantVectorType = CovariantVector< TParametersValueType, NInputDimensions >
 
using InputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType >
 
using InputDirectionMatrix = Matrix< double, Self::InputSpaceDimension, Self::InputSpaceDimension >
 
using InputPointType = Point< TParametersValueType, NInputDimensions >
 
using InputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NInputDimensions >
 
using InputVectorPixelType = VariableLengthVector< TParametersValueType >
 
using InputVectorType = Vector< TParametersValueType, NInputDimensions >
 
using InputVnlVectorType = vnl_vector_fixed< TParametersValueType, NInputDimensions >
 
using InverseJacobianPositionType = vnl_matrix_fixed< ParametersValueType, NInputDimensions, NOutputDimensions >
 
using InverseTransformBasePointer = typename InverseTransformBaseType::Pointer
 
using InverseTransformBaseType = Transform< TParametersValueType, NOutputDimensions, NInputDimensions >
 
using JacobianPositionType = vnl_matrix_fixed< ParametersValueType, NOutputDimensions, NInputDimensions >
 
using JacobianType = Array2D< ParametersValueType >
 
using MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension >
 
using NumberOfParametersType = typename Superclass::NumberOfParametersType
 
using OutputCovariantVectorType = CovariantVector< TParametersValueType, NOutputDimensions >
 
using OutputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType >
 
using OutputDirectionMatrix = Matrix< double, Self::OutputSpaceDimension, Self::OutputSpaceDimension >
 
using OutputPointType = Point< TParametersValueType, NOutputDimensions >
 
using OutputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NOutputDimensions >
 
using OutputVectorPixelType = VariableLengthVector< TParametersValueType >
 
using OutputVectorType = Vector< TParametersValueType, NOutputDimensions >
 
using OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, NOutputDimensions >
 
using ParametersType = typename Superclass::ParametersType
 
using ParametersValueType = typename Superclass::ParametersValueType
 
using Pointer = SmartPointer< Self >
 
using ScalarType = ParametersValueType
 
using Self = Transform
 
using Superclass = TransformBaseTemplate< TParametersValueType >
 
using TransformCategoryEnum = typename Superclass::TransformCategoryEnum
 
- Public Types inherited from itk::TransformBaseTemplate< TParametersValueType >
using ConstPointer = SmartPointer< const Self >
 
using FixedParametersType = OptimizerParameters< FixedParametersValueType >
 
using FixedParametersValueType = double
 
using NumberOfParametersType = IdentifierType
 
using ParametersType = OptimizerParameters< ParametersValueType >
 
using ParametersValueType = TParametersValueType
 
using Pointer = SmartPointer< Self >
 
using Self = TransformBaseTemplate
 
using Superclass = Object
 
using TransformCategoryEnum = TransformBaseTemplateEnums::TransformCategory
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
void CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override
 
void CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override
 
const FixedParametersTypeGetFixedParameters () const override
 
unsigned int GetInputSpaceDimension () const override
 
bool GetInverse (Self *) const
 
virtual InverseTransformBasePointer GetInverseTransform () const
 
virtual NumberOfParametersType GetNumberOfFixedParameters () const
 
virtual NumberOfParametersType GetNumberOfLocalParameters () const
 
NumberOfParametersType GetNumberOfParameters () const override
 
unsigned int GetOutputSpaceDimension () const override
 
const ParametersTypeGetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
std::string GetTransformTypeAsString () const override
 
virtual bool IsLinear () const
 
 itkCloneMacro (Self)
 
void SetFixedParameters (const FixedParametersType &) override=0
 
void SetParameters (const ParametersType &) override=0
 
void SetParametersByValue (const ParametersType &p) override
 
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 &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputPointType TransformPoint (const InputPointType &) const=0
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, 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 void UpdateTransformParameters (const DerivativeType &update, ParametersValueType factor=1.0)
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const=0
 
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianPositionType &) const
 
 itkLegacyMacro (virtual void ComputeJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
 itkLegacyMacro (virtual void ComputeInverseJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &pnt, InverseJacobianPositionType &jacobian) const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int SpaceDimension = NDimensions
 
- Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 
using IMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions >
 
using GMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions >
 
using LMatrixType = vnl_matrix< TParametersValueType >
 
using KMatrixType = vnl_matrix< TParametersValueType >
 
using PMatrixType = vnl_matrix< TParametersValueType >
 
using YMatrixType = vnl_matrix< TParametersValueType >
 
using WMatrixType = vnl_matrix< TParametersValueType >
 
using DMatrixType = vnl_matrix< TParametersValueType >
 
using AMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions >
 
using BMatrixType = vnl_vector_fixed< TParametersValueType, NDimensions >
 
using RowMatrixType = vnl_matrix_fixed< TParametersValueType, 1, NDimensions >
 
using ColumnMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, 1 >
 
double m_Stiffness
 
VectorSetPointer m_Displacements
 
LMatrixType m_LMatrix
 
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
 
IMatrixType m_I
 
PointSetPointer m_SourceLandmarks
 
PointSetPointer m_TargetLandmarks
 
virtual PointSetTypeGetModifiableSourceLandmarks ()
 
virtual const PointSetTypeGetSourceLandmarks () const
 
virtual void SetSourceLandmarks (PointSetType *)
 
virtual PointSetTypeGetModifiableTargetLandmarks ()
 
virtual const PointSetTypeGetTargetLandmarks () const
 
virtual void SetTargetLandmarks (PointSetType *)
 
virtual VectorSetTypeGetModifiableDisplacements ()
 
virtual const VectorSetTypeGetDisplacements () const
 
void ComputeWMatrix ()
 
OutputPointType TransformPoint (const InputPointType &thisPoint) const override
 
OutputVectorType TransformVector (const InputVectorType &) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &) const override
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const override
 
void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const override
 
void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianPositionType &) const override
 
void SetParameters (const ParametersType &) override
 
void SetFixedParameters (const FixedParametersType &) override
 
virtual void UpdateParameters () const
 
const ParametersTypeGetParameters () const override
 
const FixedParametersTypeGetFixedParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
virtual void SetStiffness (double _arg)
 
virtual double GetStiffness () const
 
 KernelTransform ()
 
 ~KernelTransform () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void ComputeG (const InputVectorType &landmarkVector, GMatrixType &gmatrix) const
 
virtual const GMatrixTypeComputeReflexiveG (PointsIterator) const
 
virtual void ComputeDeformationContribution (const InputPointType &thisPoint, OutputPointType &result) const
 
void ComputeK ()
 
void ComputeL ()
 
void ComputeP ()
 
void ComputeY ()
 
void ComputeD ()
 
void ReorganizeW ()
 

Additional Inherited Members

- Protected Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
LightObject::Pointer InternalClone () const override
 
 Transform ()
 
 Transform (NumberOfParametersType numberOfParameters)
 
 ~Transform () override=default
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType >
 TransformBaseTemplate ()=default
 
 ~TransformBaseTemplate () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- 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 ()
 
- Protected Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NDimensions >
ParametersType m_Parameters
 
FixedParametersType m_FixedParameters
 
DirectionChangeMatrix m_DirectionChange
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TParametersValueType, unsigned int NDimensions>
class itk::KernelTransform< TParametersValueType, NDimensions >

Intended to be a base class for elastic body spline and thin plate spline. This 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. Notation closely follows their paper, so if you have it in front of you, this code will make a lot more sense.

KernelTransform: Provides support for defining source and target landmarks Defines a number of data types used in the computations Defines the mathematical framework used to compute all splines, so that subclasses need only provide a kernel specific to that spline

This formulation allows the stiffness of the spline to be adjusted, allowing the spline to vary from interpolating the landmarks to approximating the landmarks. This part of the formulation is based on the short paper by R. Sprengel, K. Rohr, H. Stiehl. "Thin-Plate Spline Approximation for Image Registration". In 18th International Conference of the IEEE Engineering in Medicine and Biology Society. 1996.

Definition at line 61 of file itkKernelTransform.h.

Member Typedef Documentation

◆ AMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::AMatrixType = vnl_matrix_fixed<TParametersValueType, NDimensions, NDimensions>

'A' matrix type alias. Rotational part of the Affine component

Definition at line 275 of file itkKernelTransform.h.

◆ BMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::BMatrixType = vnl_vector_fixed<TParametersValueType, NDimensions>

'B' matrix type alias. Translational part of the Affine component

Definition at line 278 of file itkKernelTransform.h.

◆ ColumnMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::ColumnMatrixType = vnl_matrix_fixed<TParametersValueType, NDimensions, 1>

Column matrix type alias.

Definition at line 284 of file itkKernelTransform.h.

◆ ConstPointer

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::ConstPointer = SmartPointer<const Self>

Definition at line 70 of file itkKernelTransform.h.

◆ DMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::DMatrixType = vnl_matrix<TParametersValueType>

'D' matrix type alias. Deformation component

Definition at line 272 of file itkKernelTransform.h.

◆ FixedParametersType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::FixedParametersType = typename Superclass::FixedParametersType

Parameters type.

Definition at line 85 of file itkKernelTransform.h.

◆ GMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::GMatrixType = vnl_matrix_fixed<TParametersValueType, NDimensions, NDimensions>

'G' matrix type alias.

Definition at line 254 of file itkKernelTransform.h.

◆ IMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::IMatrixType = vnl_matrix_fixed<TParametersValueType, NDimensions, NDimensions>

'I' (identity) matrix type alias.

Definition at line 181 of file itkKernelTransform.h.

◆ InputCovariantVectorType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::InputCovariantVectorType = typename Superclass::InputCovariantVectorType

Standard covariant vector type for this class

Definition at line 105 of file itkKernelTransform.h.

◆ InputPointType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::InputPointType = typename Superclass::InputPointType

Standard coordinate point type for this class.

Definition at line 97 of file itkKernelTransform.h.

◆ InputVectorType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::InputVectorType = typename Superclass::InputVectorType

Standard vector type for this class.

Definition at line 101 of file itkKernelTransform.h.

◆ InputVnlVectorType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::InputVnlVectorType = typename Superclass::InputVnlVectorType

Standard vnl_vector type for this class.

Definition at line 109 of file itkKernelTransform.h.

◆ InverseJacobianPositionType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType

Definition at line 91 of file itkKernelTransform.h.

◆ JacobianPositionType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::JacobianPositionType = typename Superclass::JacobianPositionType

Definition at line 90 of file itkKernelTransform.h.

◆ JacobianType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::JacobianType = typename Superclass::JacobianType

Jacobian types.

Definition at line 89 of file itkKernelTransform.h.

◆ KMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::KMatrixType = vnl_matrix<TParametersValueType>

'K' matrix type alias.

Definition at line 260 of file itkKernelTransform.h.

◆ LMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::LMatrixType = vnl_matrix<TParametersValueType>

'L' matrix type alias.

Definition at line 257 of file itkKernelTransform.h.

◆ NumberOfParametersType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::NumberOfParametersType = typename Superclass::NumberOfParametersType

The number of parameters defining this transform.

Definition at line 113 of file itkKernelTransform.h.

◆ OutputCovariantVectorType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType

Definition at line 106 of file itkKernelTransform.h.

◆ OutputPointType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::OutputPointType = typename Superclass::OutputPointType

Definition at line 98 of file itkKernelTransform.h.

◆ OutputVectorType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::OutputVectorType = typename Superclass::OutputVectorType

Definition at line 102 of file itkKernelTransform.h.

◆ OutputVnlVectorType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::OutputVnlVectorType = typename Superclass::OutputVnlVectorType

Definition at line 110 of file itkKernelTransform.h.

◆ ParametersType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::ParametersType = typename Superclass::ParametersType

Definition at line 86 of file itkKernelTransform.h.

◆ PMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PMatrixType = vnl_matrix<TParametersValueType>

'P' matrix type alias.

Definition at line 263 of file itkKernelTransform.h.

◆ Pointer

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::Pointer = SmartPointer<Self>

Definition at line 69 of file itkKernelTransform.h.

◆ PointIdentifier

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointIdentifier = typename PointSetType::PointIdentifier

Definition at line 125 of file itkKernelTransform.h.

◆ PointsConstIterator

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointsConstIterator = typename PointSetType::PointsContainerConstIterator

Definition at line 124 of file itkKernelTransform.h.

◆ PointsContainer

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointsContainer = typename PointSetType::PointsContainer

Definition at line 122 of file itkKernelTransform.h.

◆ PointSetPointer

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointSetPointer = typename PointSetType::Pointer

Definition at line 121 of file itkKernelTransform.h.

◆ PointSetTraitsType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointSetTraitsType = DefaultStaticMeshTraits<TParametersValueType, NDimensions, NDimensions, TParametersValueType, TParametersValueType>

PointList type alias. This type is used for maintaining lists of points, specifically, the source and target landmark lists.

Definition at line 118 of file itkKernelTransform.h.

◆ PointSetType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointSetType = PointSet<InputPointType, NDimensions, PointSetTraitsType>

Definition at line 119 of file itkKernelTransform.h.

◆ PointsIterator

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::PointsIterator = typename PointSetType::PointsContainerIterator

Definition at line 123 of file itkKernelTransform.h.

◆ RowMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::RowMatrixType = vnl_matrix_fixed<TParametersValueType, 1, NDimensions>

Row matrix type alias.

Definition at line 281 of file itkKernelTransform.h.

◆ ScalarType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::ScalarType = typename Superclass::ScalarType

Scalar type.

Definition at line 82 of file itkKernelTransform.h.

◆ Self

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::Self = KernelTransform

Standard class type aliases.

Definition at line 67 of file itkKernelTransform.h.

◆ Superclass

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::Superclass = Transform<TParametersValueType, NDimensions, NDimensions>

Definition at line 68 of file itkKernelTransform.h.

◆ TransformCategoryEnum

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::TransformCategoryEnum = typename Superclass::TransformCategoryEnum

Transform category type.

Definition at line 94 of file itkKernelTransform.h.

◆ VectorSetPointer

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::VectorSetPointer = typename VectorSetType::Pointer

Definition at line 129 of file itkKernelTransform.h.

◆ VectorSetType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::VectorSetType = itk::VectorContainer<SizeValueType, InputVectorType>

VectorSet type alias.

Definition at line 128 of file itkKernelTransform.h.

◆ WMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::WMatrixType = vnl_matrix<TParametersValueType>

'W' matrix type alias.

Definition at line 269 of file itkKernelTransform.h.

◆ YMatrixType

template<typename TParametersValueType , unsigned int NDimensions>
using itk::KernelTransform< TParametersValueType, NDimensions >::YMatrixType = vnl_matrix<TParametersValueType>

'Y' matrix type alias.

Definition at line 266 of file itkKernelTransform.h.

Constructor & Destructor Documentation

◆ KernelTransform()

template<typename TParametersValueType , unsigned int NDimensions>
itk::KernelTransform< TParametersValueType, NDimensions >::KernelTransform ( )
protected

'I' (identity) matrix type alias.

◆ ~KernelTransform()

template<typename TParametersValueType , unsigned int NDimensions>
itk::KernelTransform< TParametersValueType, NDimensions >::~KernelTransform ( )
overrideprotecteddefault

'I' (identity) matrix type alias.

Member Function Documentation

◆ ComputeD()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeD ( )
protected

Compute displacements $ q_i - p_i $.

◆ ComputeDeformationContribution()

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeDeformationContribution ( const InputPointType thisPoint,
OutputPointType result 
) const
protectedvirtual

◆ ComputeG()

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeG ( const InputVectorType landmarkVector,
GMatrixType gmatrix 
) const
protectedvirtual

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

Reimplemented in itk::ThinPlateR2LogRSplineKernelTransform< TParametersValueType, NDimensions >, itk::ThinPlateSplineKernelTransform< TParametersValueType, NDimensions >, and itk::VolumeSplineKernelTransform< TParametersValueType, NDimensions >.

◆ ComputeJacobianWithRespectToParameters()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToParameters ( const InputPointType p,
JacobianType jacobian 
) const
override

Compute the Jacobian Matrix of the transformation at one point

◆ ComputeJacobianWithRespectToPosition()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeJacobianWithRespectToPosition ( const InputPointType ,
JacobianPositionType  
) const
inlineoverride

'I' (identity) matrix type alias.

Definition at line 188 of file itkKernelTransform.h.

◆ ComputeK()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeK ( )
protected

Compute K matrix.

◆ ComputeL()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeL ( )
protected

Compute L matrix.

◆ ComputeP()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeP ( )
protected

Compute P matrix.

◆ ComputeReflexiveG()

template<typename TParametersValueType , unsigned int NDimensions>
virtual const GMatrixType& itk::KernelTransform< TParametersValueType, NDimensions >::ComputeReflexiveG ( PointsIterator  ) const
protectedvirtual

Compute a G(x) for a point to itself (i.e. for the block diagonal elements of the matrix K. Parameter indicates for which landmark the reflexive G is to be computed. The default implementation for the reflexive contribution is a diagonal matrix where the diagonal elements are the stiffness of the spline.

Warning
this method is not thread-safe. However this method is called only through ComputeWMatrix() that is itself normally called from a single thread during the initialization of the Transform.

◆ ComputeWMatrix()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeWMatrix ( )

Compute W matrix.

◆ ComputeY()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ComputeY ( )
protected

Compute Y matrix.

◆ CreateAnother()

template<typename TParametersValueType , unsigned int NDimensions>
virtual::itk::LightObject::Pointer itk::KernelTransform< TParametersValueType, NDimensions >::CreateAnother ( ) 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::Object.

Reimplemented in itk::ThinPlateR2LogRSplineKernelTransform< TParametersValueType, NDimensions >, itk::ThinPlateSplineKernelTransform< TParametersValueType, NDimensions >, and itk::VolumeSplineKernelTransform< TParametersValueType, NDimensions >.

◆ GetDisplacements()

template<typename TParametersValueType , unsigned int NDimensions>
virtual const VectorSetType* itk::KernelTransform< TParametersValueType, NDimensions >::GetDisplacements ( ) const
virtual

'I' (identity) matrix type alias.

◆ GetFixedParameters()

template<typename TParametersValueType , unsigned int NDimensions>
const FixedParametersType& itk::KernelTransform< TParametersValueType, NDimensions >::GetFixedParameters ( ) const
overridevirtual

Get Transform Fixed Parameters - Gets the Target Landmarks

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ GetModifiableDisplacements()

template<typename TParametersValueType , unsigned int NDimensions>
virtual VectorSetType* itk::KernelTransform< TParametersValueType, NDimensions >::GetModifiableDisplacements ( )
virtual

Get the displacements list, which we will denote $ d $, where $ d_i = q_i - p_i $.

◆ GetModifiableSourceLandmarks()

template<typename TParametersValueType , unsigned int NDimensions>
virtual PointSetType* itk::KernelTransform< TParametersValueType, NDimensions >::GetModifiableSourceLandmarks ( )
virtual

Get/Set the source landmarks list, which we will denote $ p $.

◆ GetModifiableTargetLandmarks()

template<typename TParametersValueType , unsigned int NDimensions>
virtual PointSetType* itk::KernelTransform< TParametersValueType, NDimensions >::GetModifiableTargetLandmarks ( )
virtual

Get the target landmarks list, which we will denote $ q $.

◆ GetNameOfClass()

template<typename TParametersValueType , unsigned int NDimensions>
virtual const char* itk::KernelTransform< TParametersValueType, NDimensions >::GetNameOfClass ( ) const
virtual

◆ GetParameters()

template<typename TParametersValueType , unsigned int NDimensions>
const ParametersType& itk::KernelTransform< TParametersValueType, NDimensions >::GetParameters ( ) const
overridevirtual

Get the Transformation Parameters - Gets the Source Landmarks

Implements itk::TransformBaseTemplate< TParametersValueType >.

◆ GetSourceLandmarks()

template<typename TParametersValueType , unsigned int NDimensions>
virtual const PointSetType* itk::KernelTransform< TParametersValueType, NDimensions >::GetSourceLandmarks ( ) const
virtual

'I' (identity) matrix type alias.

◆ GetStiffness()

template<typename TParametersValueType , unsigned int NDimensions>
virtual double itk::KernelTransform< TParametersValueType, NDimensions >::GetStiffness ( ) const
virtual

'I' (identity) matrix type alias.

◆ GetTargetLandmarks()

template<typename TParametersValueType , unsigned int NDimensions>
virtual const PointSetType* itk::KernelTransform< TParametersValueType, NDimensions >::GetTargetLandmarks ( ) const
virtual

'I' (identity) matrix type alias.

◆ GetTransformCategory()

template<typename TParametersValueType , unsigned int NDimensions>
TransformCategoryEnum itk::KernelTransform< TParametersValueType, NDimensions >::GetTransformCategory ( ) const
inlineoverridevirtual

This transform is not linear, because the transformation of a linear combination of points is not equal to the linear combination of the transformations of individual points

Implements itk::TransformBaseTemplate< TParametersValueType >.

Definition at line 227 of file itkKernelTransform.h.

◆ New()

template<typename TParametersValueType , unsigned int NDimensions>
static Pointer itk::KernelTransform< TParametersValueType, NDimensions >::New ( )
static

New macro for creation of through a Smart Pointer

◆ PrintSelf()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

'I' (identity) matrix type alias.

Reimplemented from itk::Object.

◆ ReorganizeW()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::ReorganizeW ( )
protected

Reorganize the components of W into D (deformable), A (rotation part of affine) and B (translational part of affine ) components.

Warning
This method release the memory of the W Matrix

◆ SetFixedParameters()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::SetFixedParameters ( const FixedParametersType )
override

Set Transform Fixed Parameters: To support the transform file writer this function was added to set the target landmarks similar to the SetParameters function setting the source landmarks

◆ SetParameters()

template<typename TParametersValueType , unsigned int NDimensions>
void itk::KernelTransform< TParametersValueType, NDimensions >::SetParameters ( const ParametersType )
override

Set the Transformation Parameters and update the internal transformation. The parameters represent the source landmarks. Each landmark point is represented by NDimensions doubles. All the landmarks are concatenated to form one flat Array<double>.

◆ SetSourceLandmarks()

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::KernelTransform< TParametersValueType, NDimensions >::SetSourceLandmarks ( PointSetType )
virtual

'I' (identity) matrix type alias.

◆ SetStiffness()

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::KernelTransform< TParametersValueType, NDimensions >::SetStiffness ( double  _arg)
virtual

Stiffness of the spline. A stiffness of zero results in the standard interpolating spline. A non-zero stiffness allows the spline to approximate rather than interpolate the landmarks. Stiffness values are usually rather small, typically in the range of 0.001 to 0.1. The approximating spline formulation is based on the short paper by R. Sprengel, K. Rohr, H. Stiehl. "Thin-Plate Spline Approximation for Image Registration". In 18th International Conference of the IEEE Engineering in Medicine and Biology Society. 1996.

◆ SetTargetLandmarks()

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::KernelTransform< TParametersValueType, NDimensions >::SetTargetLandmarks ( PointSetType )
virtual

'I' (identity) matrix type alias.

◆ TransformCovariantVector()

template<typename TParametersValueType , unsigned int NDimensions>
OutputCovariantVectorType itk::KernelTransform< TParametersValueType, NDimensions >::TransformCovariantVector ( const InputCovariantVectorType ) const
inlineoverride

'I' (identity) matrix type alias.

Definition at line 173 of file itkKernelTransform.h.

◆ TransformPoint()

template<typename TParametersValueType , unsigned int NDimensions>
OutputPointType itk::KernelTransform< TParametersValueType, NDimensions >::TransformPoint ( const InputPointType thisPoint) const
override

Compute the position of point in the new space

◆ TransformVector() [1/2]

template<typename TParametersValueType , unsigned int NDimensions>
OutputVectorType itk::KernelTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVectorType ) const
inlineoverride

'I' (identity) matrix type alias.

Definition at line 158 of file itkKernelTransform.h.

◆ TransformVector() [2/2]

template<typename TParametersValueType , unsigned int NDimensions>
OutputVnlVectorType itk::KernelTransform< TParametersValueType, NDimensions >::TransformVector ( const InputVnlVectorType ) const
inlineoverride

'I' (identity) matrix type alias.

Definition at line 165 of file itkKernelTransform.h.

◆ UpdateParameters()

template<typename TParametersValueType , unsigned int NDimensions>
virtual void itk::KernelTransform< TParametersValueType, NDimensions >::UpdateParameters ( ) const
virtual

Update the Parameters array from the landmarks coordinates.

Member Data Documentation

◆ m_AMatrix

template<typename TParametersValueType , unsigned int NDimensions>
AMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_AMatrix
protected

Rotatinoal/Shearing part of the Affine component of the Transformation

Definition at line 369 of file itkKernelTransform.h.

◆ m_BVector

template<typename TParametersValueType , unsigned int NDimensions>
BMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_BVector
protected

Translational part of the Affine component of the Transformation

Definition at line 372 of file itkKernelTransform.h.

◆ m_Displacements

template<typename TParametersValueType , unsigned int NDimensions>
VectorSetPointer itk::KernelTransform< TParametersValueType, NDimensions >::m_Displacements
protected

The list of displacements. d[i] = q[i] - p[i];

Definition at line 344 of file itkKernelTransform.h.

◆ m_DMatrix

template<typename TParametersValueType , unsigned int NDimensions>
DMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_DMatrix
protected

The Deformation matrix. This is an auxiliary matrix that will hold the Deformation (non-affine) part of the transform. Those are the coefficients that will multiply the Kernel function

Definition at line 366 of file itkKernelTransform.h.

◆ m_GMatrix

template<typename TParametersValueType , unsigned int NDimensions>
GMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_GMatrix
mutableprotected

The G matrix. It is made mutable because m_GMatrix was made an ivar only to avoid copying the matrix at return time

Definition at line 377 of file itkKernelTransform.h.

◆ m_I

template<typename TParametersValueType , unsigned int NDimensions>
IMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_I
protected

Identity matrix.

Definition at line 383 of file itkKernelTransform.h.

◆ m_KMatrix

template<typename TParametersValueType , unsigned int NDimensions>
KMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_KMatrix
protected

The K matrix.

Definition at line 350 of file itkKernelTransform.h.

◆ m_LMatrix

template<typename TParametersValueType , unsigned int NDimensions>
LMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_LMatrix
protected

The L matrix.

Definition at line 347 of file itkKernelTransform.h.

◆ m_PMatrix

template<typename TParametersValueType , unsigned int NDimensions>
PMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_PMatrix
protected

The P matrix.

Definition at line 353 of file itkKernelTransform.h.

◆ m_SourceLandmarks

template<typename TParametersValueType , unsigned int NDimensions>
PointSetPointer itk::KernelTransform< TParametersValueType, NDimensions >::m_SourceLandmarks
protected

The list of source landmarks, denoted 'p'.

Definition at line 386 of file itkKernelTransform.h.

◆ m_Stiffness

template<typename TParametersValueType , unsigned int NDimensions>
double itk::KernelTransform< TParametersValueType, NDimensions >::m_Stiffness
protected

Stiffness parameter

Definition at line 340 of file itkKernelTransform.h.

◆ m_TargetLandmarks

template<typename TParametersValueType , unsigned int NDimensions>
PointSetPointer itk::KernelTransform< TParametersValueType, NDimensions >::m_TargetLandmarks
protected

The list of target landmarks, denoted 'q'.

Definition at line 389 of file itkKernelTransform.h.

◆ m_WMatrix

template<typename TParametersValueType , unsigned int NDimensions>
WMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_WMatrix
protected

The W matrix.

Definition at line 359 of file itkKernelTransform.h.

◆ m_WMatrixComputed

template<typename TParametersValueType , unsigned int NDimensions>
bool itk::KernelTransform< TParametersValueType, NDimensions >::m_WMatrixComputed
protected

Has the W matrix been computed?

Definition at line 380 of file itkKernelTransform.h.

◆ m_YMatrix

template<typename TParametersValueType , unsigned int NDimensions>
YMatrixType itk::KernelTransform< TParametersValueType, NDimensions >::m_YMatrix
protected

The Y matrix.

Definition at line 356 of file itkKernelTransform.h.

◆ SpaceDimension

template<typename TParametersValueType , unsigned int NDimensions>
constexpr unsigned int itk::KernelTransform< TParametersValueType, NDimensions >::SpaceDimension = NDimensions
staticconstexpr

Dimension of the domain space.

Definition at line 79 of file itkKernelTransform.h.


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