go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
itk::AdvancedSimilarity2DTransform< TScalarType > Class Template Reference

#include <itkAdvancedSimilarity2DTransform.h>

Detailed Description

template<class TScalarType = double>
class itk::AdvancedSimilarity2DTransform< TScalarType >

AdvancedSimilarity2DTransform of a vector space (e.g. space coordinates)

This transform applies a homogenous scale and rigid transform in 2D space. The transform is specified as a scale and rotation around a arbitrary center and is followed by a translation. given one angle for rotation, a homogeneous scale and a 2D offset for translation.

The parameters for this transform can be set either using individual Set methods or in serialized form using SetParameters() and SetFixedParameters().

The serialization of the optimizable parameters is an array of 3 elements ordered as follows: p[0] = scale p[1] = angle p[2] = x component of the translation p[3] = y component of the translation

The serialization of the fixed parameters is an array of 2 elements ordered as follows: p[0] = x coordinate of the center p[1] = y coordinate of the center

Access methods for the center, translation and underlying matrix offset vectors are documented in the superclass MatrixOffsetTransformBase.

Access methods for the angle are documented in superclass Rigid2DTransform.

See also
Transform
MatrixOffsetTransformBase
Rigid2DTransform

Definition at line 79 of file itkAdvancedSimilarity2DTransform.h.

+ Inheritance diagram for itk::AdvancedSimilarity2DTransform< TScalarType >:

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::MatrixType MatrixType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef TScalarType ScaleType
 
typedef AdvancedSimilarity2DTransform Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedRigid2DTransform< TScalarTypeSuperclass
 
- Public Types inherited from itk::AdvancedRigid2DTransform< double >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Superclass::MatrixType MatrixType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedRigid2DTransform Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedMatrixOffsetTransformBase< double, 2, 2 > Superclass
 
- Public Types inherited from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >
typedef InputPointType CenterType
 
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::FixedParametersType FixedParametersType
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef Superclass::InternalMatrixType InternalMatrixType
 
typedef Matrix< double, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension) > InverseMatrixType
 
typedef Superclass::JacobianOfSpatialHessianType JacobianOfSpatialHessianType
 
typedef Superclass::JacobianOfSpatialJacobianType JacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef Matrix< double, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension) > MatrixType
 
typedef Superclass::NonZeroJacobianIndicesType NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef OutputVectorType OffsetType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedMatrixOffsetTransformBase Self
 
typedef Superclass::SpatialHessianType SpatialHessianType
 
typedef Superclass::SpatialJacobianType SpatialJacobianType
 
typedef AdvancedTransform< double, NInputDimensions, NOutputDimensions > Superclass
 
typedef Superclass::TransformCategoryEnum TransformCategoryEnum
 
typedef OutputVectorType TranslationType
 
- Public Types inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Superclass::DerivativeType DerivativeType
 
typedef Superclass::FixedParametersType FixedParametersType
 
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
 
typedef Superclass::InputPointType InputPointType
 
typedef Superclass::InputVectorType InputVectorType
 
typedef Superclass::InputVnlVectorType InputVnlVectorType
 
typedef SpatialJacobianType::InternalMatrixType InternalMatrixType
 
typedef Superclass::InverseTransformBasePointer InverseTransformBasePointer
 
typedef Superclass::InverseTransformBaseType InverseTransformBaseType
 
typedef std::vector< SpatialHessianTypeJacobianOfSpatialHessianType
 
typedef std::vector< SpatialJacobianTypeJacobianOfSpatialJacobianType
 
typedef Superclass::JacobianType JacobianType
 
typedef OutputCovariantVectorType MovingImageGradientType
 
typedef MovingImageGradientType::ValueType MovingImageGradientValueType
 
typedef std::vector< unsigned long > NonZeroJacobianIndicesType
 
typedef Superclass::NumberOfParametersType NumberOfParametersType
 
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
 
typedef Superclass::OutputPointType OutputPointType
 
typedef Superclass::OutputVectorType OutputVectorType
 
typedef Superclass::OutputVnlVectorType OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef Superclass::ParametersValueType ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef AdvancedTransform Self
 
typedef FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
 
typedef Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
 
typedef Transform< double, NInputDimensions, NOutputDimensions > Superclass
 
typedef Transform< double, NInputDimensions, NOutputDimensions > TransformType
 
typedef TransformType::ConstPointer TransformTypeConstPointer
 
typedef TransformType::Pointer TransformTypePointer
 

Public Member Functions

void CloneInverseTo (Pointer &newinverse) const
 
void CloneTo (Pointer &clone) const
 
virtual const char * GetClassName () const
 
void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
 
const ParametersTypeGetParameters (void) const override
 
virtual const ScaleTypeGetScale ()
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, 2)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2)
 
 itkStaticConstMacro (ParametersDimension, unsigned int, 4)
 
 itkStaticConstMacro (SpaceDimension, unsigned int, 2)
 
void SetIdentity (void) override
 
void SetMatrix (const MatrixType &matrix) override
 
void SetParameters (const ParametersType &parameters) override
 
void SetScale (ScaleType scale)
 
- Public Member Functions inherited from itk::AdvancedRigid2DTransform< double >
InputCovariantVectorType BackTransform (const OutputCovariantVectorType &vector) const
 
InputPointType BackTransform (const OutputPointType &point) const
 
InputVectorType BackTransform (const OutputVectorType &vector) const
 
InputVnlVectorType BackTransform (const OutputVnlVectorType &vector) const
 
void CloneInverseTo (Pointer &newinverse) const
 
void CloneTo (Pointer &clone) const
 
virtual const doubleGetAngle ()
 
virtual const char * GetClassName () const
 
void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
 
const ParametersTypeGetParameters (void) const override
 
virtual const doubleGetRotation () const
 
const MatrixTypeGetRotationMatrix () const
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, 2)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2)
 
 itkStaticConstMacro (ParametersDimension, unsigned int, 3)
 
void SetAngle (double angle)
 
void SetAngleInDegrees (double angle)
 
void SetIdentity (void) override
 
void SetMatrix (const MatrixType &matrix) override
 
void SetParameters (const ParametersType &parameters) override
 
void SetRotation (double angle)
 
virtual void SetRotationMatrix (const MatrixType &matrix)
 
void Translate (const OffsetType &offset, bool pre=false)
 
- Public Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >
void Compose (const Self *other, bool pre=0)
 
const InputPointTypeGetCenter (void) const
 
virtual const char * GetClassName () const
 
const FixedParametersTypeGetFixedParameters (void) const override
 
bool GetInverse (Self *inverse) const
 
const InverseMatrixTypeGetInverseMatrix (void) const
 
void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
 
void GetJacobianOfSpatialHessian (const InputPointType &, JacobianOfSpatialHessianType &, NonZeroJacobianIndicesType &) const override
 
void GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const override
 
void GetJacobianOfSpatialJacobian (const InputPointType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const override
 
void GetJacobianOfSpatialJacobian (const InputPointType &, SpatialJacobianType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const override
 
const MatrixTypeGetMatrix (void) const
 
const OutputVectorTypeGetOffset (void) const
 
const ParametersTypeGetParameters (void) const override
 
void GetSpatialHessian (const InputPointType &, SpatialHessianType &) const override
 
void GetSpatialJacobian (const InputPointType &, SpatialJacobianType &) const override
 
TransformCategoryEnum GetTransformCategory () const override
 
const OutputVectorTypeGetTranslation (void) const
 
bool IsLinear (void) const override
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions)
 
 itkStaticConstMacro (ParametersDimension, unsigned int, NOutputDimensions *(NInputDimensions+1))
 
void SetCenter (const InputPointType &center)
 
void SetFixedParameters (const FixedParametersType &) override
 
virtual void SetIdentity (void)
 
virtual void SetMatrix (const MatrixType &matrix)
 
void SetOffset (const OutputVectorType &offset)
 
void SetParameters (const ParametersType &parameters) override
 
void SetTranslation (const OutputVectorType &translation)
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const override
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
OutputVectorType TransformVector (const InputVectorType &vector) const override
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const override
 
- Public Member Functions inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override
 
virtual void EvaluateJacobianWithImageGradientProduct (const InputPointType &ipp, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
 
virtual const char * GetClassName () const
 
virtual bool GetHasNonZeroJacobianOfSpatialHessian () const
 
virtual bool GetHasNonZeroSpatialHessian () const
 
virtual void GetJacobian (const InputPointType &ipp, JacobianType &j, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh, JacobianOfSpatialHessianType &jsh, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &ipp, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual void GetJacobianOfSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj, JacobianOfSpatialJacobianType &jsj, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const=0
 
virtual NumberOfParametersType GetNumberOfNonZeroJacobianIndices (void) const
 
virtual void GetSpatialHessian (const InputPointType &ipp, SpatialHessianType &sh) const=0
 
virtual void GetSpatialJacobian (const InputPointType &ipp, SpatialJacobianType &sj) const=0
 
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
 
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions)
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::AdvancedRigid2DTransform< double >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >
static Pointer New ()
 

Protected Member Functions

 AdvancedSimilarity2DTransform ()
 
 AdvancedSimilarity2DTransform (unsigned int spaceDimension, unsigned int parametersDimension)
 
void ComputeMatrix (void) override
 
void ComputeMatrixParameters (void) override
 
void PrecomputeJacobianOfSpatialJacobian (void) override
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void SetVarScale (ScaleType scale)
 
 ~AdvancedSimilarity2DTransform () override
 
- Protected Member Functions inherited from itk::AdvancedRigid2DTransform< double >
 AdvancedRigid2DTransform ()
 
 AdvancedRigid2DTransform (unsigned int outputSpaceDimension, unsigned int parametersDimension)
 
 AdvancedRigid2DTransform (unsigned int parametersDimension)
 
void ComputeMatrix (void) override
 
void ComputeMatrixParameters (void) override
 
virtual void PrecomputeJacobianOfSpatialJacobian (void)
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void SetVarAngle (double angle)
 
 ~AdvancedRigid2DTransform () override
 
- Protected Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >
 AdvancedMatrixOffsetTransformBase ()
 
 AdvancedMatrixOffsetTransformBase (const MatrixType &matrix, const OutputVectorType &offset)
 
 AdvancedMatrixOffsetTransformBase (unsigned int paramDims)
 
virtual void ComputeMatrix (void)
 
virtual void ComputeMatrixParameters (void)
 
virtual void ComputeOffset (void)
 
virtual void ComputeTranslation (void)
 
const InverseMatrixTypeGetVarInverseMatrix (void) const
 
bool InverseMatrixIsOld (void) const
 
virtual void PrecomputeJacobians (unsigned int paramDims)
 
void PrintSelf (std::ostream &s, Indent indent) const override
 
void SetVarCenter (const InputPointType &center)
 
void SetVarInverseMatrix (const InverseMatrixType &matrix) const
 
void SetVarMatrix (const MatrixType &matrix)
 
void SetVarOffset (const OutputVectorType &offset)
 
void SetVarTranslation (const OutputVectorType &translation)
 
 ~AdvancedMatrixOffsetTransformBase () override
 
- Protected Member Functions inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
 AdvancedTransform ()
 
 AdvancedTransform (NumberOfParametersType numberOfParameters)
 
 ~AdvancedTransform () override
 

Private Member Functions

 AdvancedSimilarity2DTransform (const Self &)
 
void operator= (const Self &)
 

Private Attributes

ScaleType m_Scale
 

Additional Inherited Members

- Protected Attributes inherited from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >
JacobianOfSpatialHessianType m_JacobianOfSpatialHessian
 
JacobianOfSpatialJacobianType m_JacobianOfSpatialJacobian
 
NonZeroJacobianIndicesType m_NonZeroJacobianIndices
 
SpatialHessianType m_SpatialHessian
 
- Protected Attributes inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
bool m_HasNonZeroJacobianOfSpatialHessian
 
bool m_HasNonZeroSpatialHessian
 

Member Typedef Documentation

◆ ConstPointer

template<class TScalarType = double>
typedef SmartPointer< const Self > itk::AdvancedSimilarity2DTransform< TScalarType >::ConstPointer

Definition at line 88 of file itkAdvancedSimilarity2DTransform.h.

◆ InputCovariantVectorType

template<class TScalarType = double>
typedef Superclass::InputCovariantVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::InputCovariantVectorType

CovariantVector type.

Definition at line 128 of file itkAdvancedSimilarity2DTransform.h.

◆ InputPointType

template<class TScalarType = double>
typedef Superclass::InputPointType itk::AdvancedSimilarity2DTransform< TScalarType >::InputPointType

Point type.

Definition at line 120 of file itkAdvancedSimilarity2DTransform.h.

◆ InputVectorType

template<class TScalarType = double>
typedef Superclass::InputVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::InputVectorType

Vector type.

Definition at line 124 of file itkAdvancedSimilarity2DTransform.h.

◆ InputVnlVectorType

template<class TScalarType = double>
typedef Superclass::InputVnlVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::InputVnlVectorType

VnlVector type.

Definition at line 132 of file itkAdvancedSimilarity2DTransform.h.

◆ InternalMatrixType

template<class TScalarType = double>
typedef Superclass::InternalMatrixType itk::AdvancedSimilarity2DTransform< TScalarType >::InternalMatrixType

Definition at line 143 of file itkAdvancedSimilarity2DTransform.h.

◆ JacobianOfSpatialHessianType

template<class TScalarType = double>
typedef Superclass::JacobianOfSpatialHessianType itk::AdvancedSimilarity2DTransform< TScalarType >::JacobianOfSpatialHessianType

Definition at line 142 of file itkAdvancedSimilarity2DTransform.h.

◆ JacobianOfSpatialJacobianType

template<class TScalarType = double>
typedef Superclass::JacobianOfSpatialJacobianType itk::AdvancedSimilarity2DTransform< TScalarType >::JacobianOfSpatialJacobianType

Definition at line 139 of file itkAdvancedSimilarity2DTransform.h.

◆ JacobianType

template<class TScalarType = double>
typedef Superclass::JacobianType itk::AdvancedSimilarity2DTransform< TScalarType >::JacobianType

Jacobian type.

Definition at line 111 of file itkAdvancedSimilarity2DTransform.h.

◆ MatrixType

template<class TScalarType = double>
typedef Superclass::MatrixType itk::AdvancedSimilarity2DTransform< TScalarType >::MatrixType

Matrix type.

Definition at line 117 of file itkAdvancedSimilarity2DTransform.h.

◆ NonZeroJacobianIndicesType

template<class TScalarType = double>
typedef Superclass::NonZeroJacobianIndicesType itk::AdvancedSimilarity2DTransform< TScalarType >::NonZeroJacobianIndicesType

Definition at line 136 of file itkAdvancedSimilarity2DTransform.h.

◆ NumberOfParametersType

template<class TScalarType = double>
typedef Superclass::NumberOfParametersType itk::AdvancedSimilarity2DTransform< TScalarType >::NumberOfParametersType

Definition at line 108 of file itkAdvancedSimilarity2DTransform.h.

◆ OffsetType

template<class TScalarType = double>
typedef Superclass::OffsetType itk::AdvancedSimilarity2DTransform< TScalarType >::OffsetType

Offset type.

Definition at line 114 of file itkAdvancedSimilarity2DTransform.h.

◆ OutputCovariantVectorType

template<class TScalarType = double>
typedef Superclass::OutputCovariantVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputCovariantVectorType

Definition at line 129 of file itkAdvancedSimilarity2DTransform.h.

◆ OutputPointType

template<class TScalarType = double>
typedef Superclass::OutputPointType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputPointType

Definition at line 121 of file itkAdvancedSimilarity2DTransform.h.

◆ OutputVectorType

template<class TScalarType = double>
typedef Superclass::OutputVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputVectorType

Definition at line 125 of file itkAdvancedSimilarity2DTransform.h.

◆ OutputVnlVectorType

template<class TScalarType = double>
typedef Superclass::OutputVnlVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputVnlVectorType

Definition at line 133 of file itkAdvancedSimilarity2DTransform.h.

◆ ParametersType

template<class TScalarType = double>
typedef Superclass::ParametersType itk::AdvancedSimilarity2DTransform< TScalarType >::ParametersType

Parameters type.

Definition at line 107 of file itkAdvancedSimilarity2DTransform.h.

◆ Pointer

template<class TScalarType = double>
typedef SmartPointer< Self > itk::AdvancedSimilarity2DTransform< TScalarType >::Pointer

Definition at line 87 of file itkAdvancedSimilarity2DTransform.h.

◆ ScalarType

template<class TScalarType = double>
typedef Superclass::ScalarType itk::AdvancedSimilarity2DTransform< TScalarType >::ScalarType

Scalar type.

Definition at line 103 of file itkAdvancedSimilarity2DTransform.h.

◆ ScaleType

template<class TScalarType = double>
typedef TScalarType itk::AdvancedSimilarity2DTransform< TScalarType >::ScaleType

Definition at line 104 of file itkAdvancedSimilarity2DTransform.h.

◆ Self

Standard class typedefs.

Definition at line 85 of file itkAdvancedSimilarity2DTransform.h.

◆ SpatialHessianType

template<class TScalarType = double>
typedef Superclass::SpatialHessianType itk::AdvancedSimilarity2DTransform< TScalarType >::SpatialHessianType

Definition at line 140 of file itkAdvancedSimilarity2DTransform.h.

◆ SpatialJacobianType

template<class TScalarType = double>
typedef Superclass::SpatialJacobianType itk::AdvancedSimilarity2DTransform< TScalarType >::SpatialJacobianType

Definition at line 137 of file itkAdvancedSimilarity2DTransform.h.

◆ Superclass

Definition at line 86 of file itkAdvancedSimilarity2DTransform.h.

Constructor & Destructor Documentation

◆ AdvancedSimilarity2DTransform() [1/3]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::AdvancedSimilarity2DTransform ( )
protected

◆ AdvancedSimilarity2DTransform() [2/3]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::AdvancedSimilarity2DTransform ( unsigned int  spaceDimension,
unsigned int  parametersDimension 
)
protected

◆ ~AdvancedSimilarity2DTransform()

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::~AdvancedSimilarity2DTransform ( )
inlineoverrideprotected

Definition at line 219 of file itkAdvancedSimilarity2DTransform.h.

◆ AdvancedSimilarity2DTransform() [3/3]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::AdvancedSimilarity2DTransform ( const Self )
private

Member Function Documentation

◆ CloneInverseTo()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::CloneInverseTo ( Pointer newinverse) const

This method creates and returns a new AdvancedSimilarity2DTransform object which is the inverse of self.

◆ CloneTo()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::CloneTo ( Pointer clone) const

This method creates and returns a new AdvancedSimilarity2DTransform object which has the same parameters.

◆ ComputeMatrix()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::ComputeMatrix ( void  )
overrideprotectedvirtual

Compute matrix from angle and scale. This is used in Set methods to update the underlying matrix whenever a transform parameter is changed.

Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.

◆ ComputeMatrixParameters()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::ComputeMatrixParameters ( void  )
overrideprotectedvirtual

Compute the angle and scale from the matrix. This is used to compute transform parameters from a given matrix. This is used in MatrixOffsetTransformBase::Compose() and MatrixOffsetTransformBase::GetInverse().

Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.

◆ GetClassName()

template<class TScalarType = double>
virtual const char * itk::AdvancedSimilarity2DTransform< TScalarType >::GetClassName ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::AdvancedRigid2DTransform< double >.

Reimplemented in itk::GPUAdvancedSimilarity2DTransform< TScalarType, TParentTransform >.

◆ GetJacobian()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::GetJacobian ( const InputPointType ,
JacobianType ,
NonZeroJacobianIndicesType  
) const
overridevirtual

This method computes the Jacobian matrix of the transformation at a given input point.

See also
Transform::GetJacobian() Compute the Jacobian of the transformation.

Implements itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >.

◆ GetParameters()

template<class TScalarType = double>
const ParametersType & itk::AdvancedSimilarity2DTransform< TScalarType >::GetParameters ( void  ) const
override

Get the parameters that uniquely define the transform This is typically used by optimizers. There are 4 parameters. The first one represents the scale, the second represents the angle of rotation, and the last two represent the translation. The center of rotation is fixed.

See also
Transform::GetParameters()
Transform::GetFixedParameters()

◆ GetScale()

template<class TScalarType = double>
virtual const ScaleType & itk::AdvancedSimilarity2DTransform< TScalarType >::GetScale ( )
virtual

◆ itkStaticConstMacro() [1/4]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro ( InputSpaceDimension  ,
unsigned int  ,
 
)

◆ itkStaticConstMacro() [2/4]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro ( OutputSpaceDimension  ,
unsigned int  ,
 
)

◆ itkStaticConstMacro() [3/4]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro ( ParametersDimension  ,
unsigned int  ,
 
)

◆ itkStaticConstMacro() [4/4]

template<class TScalarType = double>
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro ( SpaceDimension  ,
unsigned int  ,
 
)

Dimension of parameters.

◆ New()

template<class TScalarType = double>
static Pointer itk::AdvancedSimilarity2DTransform< TScalarType >::New ( )
static

New macro for creation of through a Smart Pointer.

◆ operator=()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::operator= ( const Self )
private

◆ PrecomputeJacobianOfSpatialJacobian()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::PrecomputeJacobianOfSpatialJacobian ( void  )
overrideprotectedvirtual

Update the m_JacobianOfSpatialJacobian.

Reimplemented from itk::AdvancedRigid2DTransform< double >.

◆ PrintSelf()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

◆ SetIdentity()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetIdentity ( void  )
overridevirtual

Set the transformation to an identity.

Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 2, 2 >.

◆ SetMatrix()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetMatrix ( const MatrixType matrix)
override

Set the rotation Matrix of a Similarity 2D Transform

This method sets the 2x2 matrix representing a similarity transform. The Matrix is expected to be a valid similarity transform with a certain tolerance.

Warning
This method will throw an exception if the matrix provided as argument is not valid.
See also
MatrixOffsetTransformBase::SetMatrix()

◆ SetParameters()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetParameters ( const ParametersType parameters)
override

Set the transformation from a container of parameters This is typically used by optimizers. There are 4 parameters. The first one represents the scale, the second represents the angle of rotation and the last two represent the translation. The center of rotation is fixed.

See also
Transform::SetParameters()
Transform::SetFixedParameters()

◆ SetScale()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetScale ( ScaleType  scale)

Set the Scale part of the transform.

◆ SetVarScale()

template<class TScalarType = double>
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetVarScale ( ScaleType  scale)
inlineprotected

Set the scale without updating underlying variables.

Definition at line 234 of file itkAdvancedSimilarity2DTransform.h.

Field Documentation

◆ m_Scale

template<class TScalarType = double>
ScaleType itk::AdvancedSimilarity2DTransform< TScalarType >::m_Scale
private

Definition at line 245 of file itkAdvancedSimilarity2DTransform.h.



Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo