![]() |
ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkElasticBodyReciprocalSplineKernelTransform.h>
This class defines the elastic body spline (EBS) 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 Taken from the paper: The EBS "is based on a physical model of a homogeneous, isotropic, three-dimensional elastic body. The model can approximate the way that some physical objects deform".
Definition at line 39 of file itkElasticBodyReciprocalSplineKernelTransform.h.
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 | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
using | OutputPointType = typename Superclass::OutputPointType |
using | OutputVectorType = typename Superclass::OutputVectorType |
using | ParametersType = typename Superclass::ParametersType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = ElasticBodyReciprocalSplineKernelTransform |
using | Superclass = KernelTransform< TParametersValueType, NDimensions > |
![]() | |
using | AMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions > |
using | BMatrixType = vnl_vector_fixed< TParametersValueType, NDimensions > |
using | ColumnMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, 1 > |
using | ConstPointer = SmartPointer< const Self > |
using | DMatrixType = vnl_matrix< TParametersValueType > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | GMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions > |
using | IMatrixType = vnl_matrix_fixed< TParametersValueType, NDimensions, NDimensions > |
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 | KMatrixType = vnl_matrix< TParametersValueType > |
using | LMatrixType = vnl_matrix< TParametersValueType > |
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 | PMatrixType = vnl_matrix< TParametersValueType > |
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 | RowMatrixType = vnl_matrix_fixed< TParametersValueType, 1, NDimensions > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = KernelTransform |
using | Superclass = Transform< TParametersValueType, NDimensions, NDimensions > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
using | VectorSetPointer = typename VectorSetType::Pointer |
using | VectorSetType = itk::VectorContainer< SizeValueType, InputVectorType > |
using | WMatrixType = vnl_matrix< TParametersValueType > |
using | YMatrixType = vnl_matrix< TParametersValueType > |
![]() | |
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 | TransformCategoryType = typename Superclass::TransformCategoryType |
![]() | |
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 |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
![]() | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | SpaceDimension = Superclass::SpaceDimension |
![]() | |
static constexpr unsigned int | SpaceDimension = NDimensions |
![]() | |
static constexpr unsigned int | InputSpaceDimension |
static constexpr unsigned int | OutputSpaceDimension |
Protected Types | |
using | GMatrixType = typename Superclass::GMatrixType |
Protected Member Functions | |
void | ComputeG (const InputVectorType &landmarkVector, GMatrixType &gmatrix) const override |
ElasticBodyReciprocalSplineKernelTransform () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ElasticBodyReciprocalSplineKernelTransform () override=default | |
![]() | |
void | ComputeD () |
virtual void | ComputeDeformationContribution (const InputPointType &inputPoint, OutputPointType &result) const |
virtual void | ComputeG (const InputVectorType &landmarkVector, GMatrixType &gmatrix) const |
void | ComputeK () |
void | ComputeL () |
void | ComputeP () |
virtual const GMatrixType & | ComputeReflexiveG (PointsIterator) const |
void | ComputeY () |
KernelTransform () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
void | ReorganizeW () |
~KernelTransform () override=default | |
![]() | |
LightObject::Pointer | InternalClone () const override |
OutputDiffusionTensor3DType | PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const |
Transform () | |
Transform (NumberOfParametersType NumberOfParameters) | |
~Transform () override=default | |
![]() | |
TransformBaseTemplate ()=default | |
~TransformBaseTemplate () override=default | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
~Object () override | |
![]() | |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Protected Attributes | |
TParametersValueType | m_Alpha |
![]() | |
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 |
![]() | |
DirectionChangeMatrix | m_DirectionChange |
FixedParametersType | m_FixedParameters |
ParametersType | m_Parameters |
![]() | |
std::atomic< int > | m_ReferenceCount |
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::ConstPointer = SmartPointer<const Self> |
Definition at line 51 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::FixedParametersType = typename Superclass::FixedParametersType |
Definition at line 64 of file itkElasticBodyReciprocalSplineKernelTransform.h.
|
protected |
Definition at line 94 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
Definition at line 86 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::InputPointType = typename Superclass::InputPointType |
Definition at line 82 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::InputVectorType = typename Superclass::InputVectorType |
Definition at line 84 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
Definition at line 69 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::JacobianPositionType = typename Superclass::JacobianPositionType |
Definition at line 68 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::JacobianType = typename Superclass::JacobianType |
Jacobian type.
Definition at line 67 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
Definition at line 87 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::OutputPointType = typename Superclass::OutputPointType |
Definition at line 83 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::OutputVectorType = typename Superclass::OutputVectorType |
Definition at line 85 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::ParametersType = typename Superclass::ParametersType |
Parameters type.
Definition at line 63 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::Pointer = SmartPointer<Self> |
Definition at line 50 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::ScalarType = typename Superclass::ScalarType |
Scalar type.
Definition at line 60 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::Self = ElasticBodyReciprocalSplineKernelTransform |
Standard class type aliases.
Definition at line 46 of file itkElasticBodyReciprocalSplineKernelTransform.h.
using itk::ElasticBodyReciprocalSplineKernelTransform< TParametersValueType, NDimensions >::Superclass = KernelTransform<TParametersValueType, NDimensions> |
Definition at line 48 of file itkElasticBodyReciprocalSplineKernelTransform.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotected |
Compute G(x) For the elastic body spline, this is: G(x) = [alpha*r(x)*I - 3*x*x'/r(x)] where
is Poisson's Ratio r(x) = Euclidean norm = sqrt[x1^2 + x2^2 + x3^2]
I = identity matrix
|
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.
|
virtual |
Get alpha
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::KernelTransform< TParametersValueType, NDimensions >.
|
static |
New macro for creation of through a Smart Pointer
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
virtual |
Set alpha. Alpha is related to Poisson's Ratio ( ) as
|
protected |
alpha, Poisson's ratio
Definition at line 108 of file itkElasticBodyReciprocalSplineKernelTransform.h.
|
static |
Dimension of the domain space.
Definition at line 72 of file itkElasticBodyReciprocalSplineKernelTransform.h.