#include <itkSimilarity2DTransform.h>
Inheritance diagram for itk::Similarity2DTransform< TScalarType >:


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.
Definition at line 62 of file itkSimilarity2DTransform.h.
Public Types | |
| typedef InputPointType | CenterType |
| typedef SmartPointer< const Self > | ConstPointer |
| typedef Superclass::InputCovariantVectorType | InputCovariantVectorType |
| typedef Superclass::InputPointType | InputPointType |
| typedef Superclass::InputVectorType | InputVectorType |
| typedef Superclass::InputVnlVectorType | InputVnlVectorType |
| typedef Matrix< TScalarType, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> | InverseMatrixType |
| typedef Superclass::JacobianType | JacobianType |
| typedef Superclass::MatrixType | MatrixType |
| 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< Self > | Pointer |
| typedef Superclass::ScalarType | ScalarType |
| typedef TScalarType | ScaleType |
| typedef Similarity2DTransform | Self |
| typedef Rigid2DTransform< TScalarType > | Superclass |
| typedef OutputVectorType | TranslationType |
Public Member Functions | |
| InputCovariantVectorType | BackTransform (const OutputCovariantVectorType &vector) const |
| void | CloneInverseTo (Pointer &newinverse) const |
| void | CloneTo (Pointer &clone) const |
| void | Compose (const Self *other, bool pre=0) |
| virtual LightObject::Pointer | CreateAnother () const |
| virtual void | DebugOff () const |
| virtual void | DebugOn () const |
| virtual void | Delete () |
| const InputPointType & | GetCenter () const |
| Command * | GetCommand (unsigned long tag) |
| bool | GetDebug () const |
| virtual const ParametersType & | GetFixedParameters (void) const |
| unsigned int | GetInputSpaceDimension (void) const |
| unsigned int | GetInputSpaceDimension (void) const |
| bool | GetInverse (Self *inverse) const |
| const InverseMatrixType & | GetInverseMatrix (void) const |
| const JacobianType & | GetJacobian (const InputPointType &point) const |
| const JacobianType & | GetJacobian (const InputPointType &point) const |
| const MatrixType & | GetMatrix () const |
| const MetaDataDictionary & | GetMetaDataDictionary (void) const |
| MetaDataDictionary & | GetMetaDataDictionary (void) |
| virtual unsigned long | GetMTime () const |
| virtual const char * | GetNameOfClass () const |
| virtual unsigned int | GetNumberOfParameters (void) const |
| virtual unsigned int | GetNumberOfParameters (void) const |
| const OutputVectorType & | GetOffset (void) const |
| unsigned int | GetOutputSpaceDimension (void) const |
| unsigned int | GetOutputSpaceDimension (void) const |
| const ParametersType & | GetParameters (void) const |
| virtual int | GetReferenceCount () const |
| virtual std::string | GetTransformTypeAsString () const |
| virtual std::string | GetTransformTypeAsString () const |
| const OutputVectorType & | GetTranslation (void) const |
| bool | HasObserver (const EventObject &event) const |
| void | InvokeEvent (const EventObject &) const |
| void | InvokeEvent (const EventObject &) |
| virtual bool | IsLinear () const |
| itkStaticConstMacro (ParametersDimension, unsigned int, NOutputDimensions *(NInputDimensions+1)) | |
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, NOutputDimensions) | |
| itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions) | |
| virtual void | Modified () const |
| void | Print (std::ostream &os, Indent indent=0) const |
| virtual void | Register () const |
| void | RemoveAllObservers () |
| void | RemoveObserver (unsigned long tag) |
| void | SetAngleInDegrees (TScalarType angle) |
| void | SetCenter (const InputPointType ¢er) |
| void | SetDebug (bool debugFlag) const |
| virtual void | SetFixedParameters (const ParametersType &)=0 |
| virtual void | SetFixedParameters (const ParametersType &) |
| virtual void | SetIdentity (void) |
| virtual void | SetMatrix (const MatrixType &matrix) |
| virtual void | SetMatrix (const MatrixType &matrix) |
| void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
| void | SetOffset (const OutputVectorType &offset) |
| virtual void | SetParameters (const ParametersType &)=0 |
| void | SetParameters (const ParametersType ¶meters) |
| virtual void | SetParametersByValue (const ParametersType &p)=0 |
| virtual void | SetParametersByValue (const ParametersType &p) |
| virtual void | SetParametersByValue (const ParametersType &p) |
| virtual void | SetReferenceCount (int) |
| void | SetTranslation (const OutputVectorType &translation) |
| OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &vector) const |
| OutputPointType | TransformPoint (const InputPointType &point) const |
| virtual OutputVnlVectorType | TransformVector (const InputVnlVectorType &) const |
| OutputVnlVectorType | TransformVector (const InputVnlVectorType &vector) const |
| OutputVectorType | TransformVector (const InputVectorType &vector) const |
| void | Translate (const OffsetType &offset, bool pre=false) |
| virtual void | UnRegister () const |
| unsigned long | AddObserver (const EventObject &event, Command *) const |
| unsigned long | AddObserver (const EventObject &event, Command *) |
| InputVnlVectorType | BackTransform (const OutputVnlVectorType &vector) const |
| InputVectorType | BackTransform (const OutputVectorType &vector) const |
| InputPointType | BackTransform (const OutputPointType &point) const |
| virtual const TScalarType & | GetAngle () |
| void | SetAngle (TScalarType angle) |
| virtual const JacobianType & | GetJacobian (const InputPointType &inputPoint, unsigned int) const |
| virtual const unsigned int & | GetNumberOfThreads () |
| virtual void | SetNumberOfThreads (unsigned int numberOfThreads) const |
| virtual const TScalarType & | GetRotation () const |
| void | SetRotation (TScalarType angle) |
| const MatrixType & | GetRotationMatrix () const |
| virtual void | SetRotationMatrix (const MatrixType &matrix) |
| virtual const ScaleType & | GetScale () |
| void | SetScale (ScaleType scale) |
| itkStaticConstMacro (ParametersDimension, unsigned int, 3) | |
| itkStaticConstMacro (ParametersDimension, unsigned int, 4) | |
| itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2) | |
| itkStaticConstMacro (InputSpaceDimension, unsigned int, 2) | |
| itkStaticConstMacro (SpaceDimension, unsigned int, 2) | |
| virtual OutputCovariantVectorType | TransformCovariantVector (const InputCovariantVectorType &inputCovariantVector, unsigned int) const |
| virtual OutputPointType | TransformPoint (const InputPointType &inputPoint, unsigned int) const |
| virtual OutputVnlVectorType | TransformVector (const InputVnlVectorType &inputVnlVector, unsigned int) const |
| virtual OutputVectorType | TransformVector (const InputVectorType &inputVector, unsigned int) const |
Static Public Member Functions | |
| static void | BreakOnError () |
| static Pointer | New () |
| static bool | GetGlobalWarningDisplay () |
| static void | GlobalWarningDisplayOff () |
| static void | GlobalWarningDisplayOn () |
| static void | SetGlobalWarningDisplay (bool flag) |
Protected Member Functions | |
| virtual void | ComputeMatrix (void) |
| virtual void | ComputeMatrixParameters (void) |
| virtual void | ComputeOffset (void) |
| virtual void | ComputeTranslation (void) |
| virtual JacobianType * | GetJacobianVariableForThread (unsigned int threadId=0) const |
| const InverseMatrixType & | GetVarInverseMatrix (void) const |
| bool | InverseMatrixIsOld (void) const |
| bool | PrintObservers (std::ostream &os, Indent indent) const |
| void | PrintSelf (std::ostream &os, Indent indent) const |
| void | SetVarAngle (TScalarType angle) |
| void | SetVarCenter (const InputPointType ¢er) |
| void | SetVarInverseMatrix (const InverseMatrixType &matrix) const |
| void | SetVarMatrix (const MatrixType &matrix) |
| void | SetVarOffset (const OutputVectorType &offset) |
| void | SetVarScale (ScaleType scale) |
| void | SetVarTranslation (const OutputVectorType &translation) |
| Similarity2DTransform (unsigned int spaceDimension, unsigned int parametersDimension) | |
| Similarity2DTransform () | |
| ~Similarity2DTransform () | |
| virtual void | PrintHeader (std::ostream &os, Indent indent) const |
| virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
Protected Attributes | |
| ParametersType | m_FixedParameters |
| JacobianType | m_Jacobian |
| ParametersType | m_Parameters |
| volatile int | m_ReferenceCount |
| SimpleFastMutexLock | m_ReferenceCountLock |
| JacobianType * | m_ThreaderJacobian |
typedef InputPointType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::CenterType [inherited] |
Definition at line 159 of file itkMatrixOffsetTransformBase.h.
| typedef SmartPointer<const Self> itk::Similarity2DTransform< TScalarType >::ConstPointer |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 70 of file itkSimilarity2DTransform.h.
| typedef Superclass::InputCovariantVectorType itk::Similarity2DTransform< TScalarType >::InputCovariantVectorType |
CovariantVector type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 110 of file itkSimilarity2DTransform.h.
| typedef Superclass::InputPointType itk::Similarity2DTransform< TScalarType >::InputPointType |
Point type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 102 of file itkSimilarity2DTransform.h.
| typedef Superclass::InputVectorType itk::Similarity2DTransform< TScalarType >::InputVectorType |
Vector type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 106 of file itkSimilarity2DTransform.h.
| typedef Superclass::InputVnlVectorType itk::Similarity2DTransform< TScalarType >::InputVnlVectorType |
VnlVector type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 114 of file itkSimilarity2DTransform.h.
typedef Matrix<TScalarType , itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::InverseMatrixType [inherited] |
Standard inverse matrix type for this class
Definition at line 157 of file itkMatrixOffsetTransformBase.h.
| typedef Superclass::JacobianType itk::Similarity2DTransform< TScalarType >::JacobianType |
Jacobian type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 93 of file itkSimilarity2DTransform.h.
| typedef Superclass::MatrixType itk::Similarity2DTransform< TScalarType >::MatrixType |
Matrix type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Definition at line 99 of file itkSimilarity2DTransform.h.
| typedef Superclass::OffsetType itk::Similarity2DTransform< TScalarType >::OffsetType |
Offset type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 96 of file itkSimilarity2DTransform.h.
| typedef Superclass::OutputCovariantVectorType itk::Similarity2DTransform< TScalarType >::OutputCovariantVectorType |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 111 of file itkSimilarity2DTransform.h.
| typedef Superclass::OutputPointType itk::Similarity2DTransform< TScalarType >::OutputPointType |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 103 of file itkSimilarity2DTransform.h.
| typedef Superclass::OutputVectorType itk::Similarity2DTransform< TScalarType >::OutputVectorType |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 107 of file itkSimilarity2DTransform.h.
| typedef Superclass::OutputVnlVectorType itk::Similarity2DTransform< TScalarType >::OutputVnlVectorType |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 115 of file itkSimilarity2DTransform.h.
| typedef Superclass::ParametersType itk::Similarity2DTransform< TScalarType >::ParametersType |
Parameters type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 90 of file itkSimilarity2DTransform.h.
| typedef SmartPointer<Self> itk::Similarity2DTransform< TScalarType >::Pointer |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 69 of file itkSimilarity2DTransform.h.
| typedef Superclass::ScalarType itk::Similarity2DTransform< TScalarType >::ScalarType |
Scalar type.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 86 of file itkSimilarity2DTransform.h.
| typedef TScalarType itk::Similarity2DTransform< TScalarType >::ScaleType |
Definition at line 87 of file itkSimilarity2DTransform.h.
| typedef Similarity2DTransform itk::Similarity2DTransform< TScalarType >::Self |
Standard class typedefs.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 67 of file itkSimilarity2DTransform.h.
| typedef Rigid2DTransform< TScalarType > itk::Similarity2DTransform< TScalarType >::Superclass |
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
Definition at line 68 of file itkSimilarity2DTransform.h.
typedef OutputVectorType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::TranslationType [inherited] |
Definition at line 163 of file itkMatrixOffsetTransformBase.h.
| itk::Similarity2DTransform< TScalarType >::Similarity2DTransform | ( | ) | [protected] |
| itk::Similarity2DTransform< TScalarType >::Similarity2DTransform | ( | unsigned int | spaceDimension, | |
| unsigned int | parametersDimension | |||
| ) | [protected] |
| itk::Similarity2DTransform< TScalarType >::~Similarity2DTransform | ( | ) | [inline, protected] |
Definition at line 185 of file itkSimilarity2DTransform.h.
| unsigned long itk::Object::AddObserver | ( | const EventObject & | event, | |
| Command * | ||||
| ) | const [inherited] |
| unsigned long itk::Object::AddObserver | ( | const EventObject & | event, | |
| Command * | ||||
| ) | [inherited] |
Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects
| Rigid2DTransform< TScalarType >::InputCovariantVectorType itk::Rigid2DTransform< TScalarType >::BackTransform | ( | const OutputCovariantVectorType & | vector | ) | const [inline, inherited] |
Definition at line 301 of file itkRigid2DTransform.h.
References itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >::GetMatrix(), and itkWarningMacro.
| Rigid2DTransform< TScalarType >::InputVnlVectorType itk::Rigid2DTransform< TScalarType >::BackTransform | ( | const OutputVnlVectorType & | vector | ) | const [inline, inherited] |
Definition at line 287 of file itkRigid2DTransform.h.
References itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >::GetInverseMatrix(), and itkWarningMacro.
| Rigid2DTransform< TScalarType >::InputVectorType itk::Rigid2DTransform< TScalarType >::BackTransform | ( | const OutputVectorType & | vector | ) | const [inline, inherited] |
Definition at line 274 of file itkRigid2DTransform.h.
References itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >::GetInverseMatrix(), and itkWarningMacro.
| Rigid2DTransform< TScalarType >::InputPointType itk::Rigid2DTransform< TScalarType >::BackTransform | ( | const OutputPointType & | point | ) | const [inline, inherited] |
Back transform by an rigid transformation.
The BackTransform() methods are slated to be removed from ITK. Instead, please use GetInverse() or CloneInverseTo() to generate an inverse transform and then perform the transform using that inverted transform.
Definition at line 261 of file itkRigid2DTransform.h.
References itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >::GetInverseMatrix(), itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >::GetOffset(), and itkWarningMacro.
| static void itk::LightObject::BreakOnError | ( | ) | [static, inherited] |
This method is called when itkExceptionMacro executes. It allows the debugger to break on error.
| void itk::Similarity2DTransform< TScalarType >::CloneInverseTo | ( | Pointer & | newinverse | ) | const |
This method creates and returns a new Similarity2DTransform object which is the inverse of self.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
| void itk::Similarity2DTransform< TScalarType >::CloneTo | ( | Pointer & | clone | ) | const |
This method creates and returns a new Similarity2DTransform object which has the same parameters.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
| void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::Compose | ( | const Self * | other, | |
| bool | pre = 0 | |||
| ) | [inherited] |
Compose with another MatrixOffsetTransformBase
This method composes self with another MatrixOffsetTransformBase of the same dimension, modifying self to be the composition of self and other. If the argument pre is true, then other is precomposed with self; that is, the resulting transformation consists of first applying other to the source, followed by self. If pre is false or omitted, then other is post-composed with self; that is the resulting transformation consists of first applying self to the source, followed by other. This updates the Translation based on current center.
| virtual void itk::Similarity2DTransform< TScalarType >::ComputeMatrix | ( | void | ) | [protected, virtual] |
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::Rigid2DTransform< TScalarType >.
| virtual void itk::Similarity2DTransform< TScalarType >::ComputeMatrixParameters | ( | void | ) | [protected, virtual] |
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::Rigid2DTransform< TScalarType >.
| virtual void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::ComputeOffset | ( | void | ) | [protected, virtual, inherited] |
| virtual void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::ComputeTranslation | ( | void | ) | [protected, virtual, inherited] |
| virtual LightObject::Pointer itk::Object::CreateAnother | ( | ) | const [virtual, inherited] |
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::LightObject.
| virtual void itk::Object::DebugOff | ( | ) | const [virtual, inherited] |
Turn debugging output off.
| virtual void itk::Object::DebugOn | ( | ) | const [virtual, inherited] |
Turn debugging output on.
| virtual void itk::LightObject::Delete | ( | ) | [virtual, inherited] |
Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.
| virtual const TScalarType& itk::Rigid2DTransform< TScalarType >::GetAngle | ( | ) | [virtual, inherited] |
| const InputPointType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetCenter | ( | void | ) | const [inline, inherited] |
Get center of rotation of the MatrixOffsetTransformBase
This method returns the point used as the fixed center of rotation for the MatrixOffsetTransformBase. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset
Definition at line 250 of file itkMatrixOffsetTransformBase.h.
| Command* itk::Object::GetCommand | ( | unsigned long | tag | ) | [inherited] |
Get the command associated with the given tag. NOTE: This returns a pointer to a Command, but it is safe to asign this to a Command::Pointer. Since Command inherits from LightObject, at this point in the code, only a pointer or a reference to the Command can be used.
| bool itk::Object::GetDebug | ( | ) | const [inherited] |
Get the value of the debug flag.
| virtual const ParametersType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetFixedParameters | ( | void | ) | const [virtual, inherited] |
Get the Fixed Parameters.
Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.
Reimplemented in itk::CenteredRigid2DTransform< TScalarType >, and itk::CenteredSimilarity2DTransform< TScalarType >.
| static bool itk::Object::GetGlobalWarningDisplay | ( | ) | [static, inherited] |
| unsigned int itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetInputSpaceDimension | ( | void | ) | const [inline, virtual, inherited] |
Get the size of the input space
Implements itk::TransformBase.
Definition at line 94 of file itkThreadSafeTransform.h.
| unsigned int itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetInputSpaceDimension | ( | void | ) | const [inline, virtual, inherited] |
Get the size of the input space
Implements itk::TransformBase.
Definition at line 96 of file itkTransform.h.
| bool itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetInverse | ( | Self * | inverse | ) | const [inherited] |
Create inverse of an affine transformation
This populates the parameters an affine transform such that the transform is the inverse of self. If self is not invertible, an exception is thrown. Note that by default the inverese transform is centered at the origin. If you need to compute the inverse centered at a point, p,
transform2->SetCenter( p ); transform1->GetInverse( transform2 );
transform2 will now contain the inverse of transform1 and will with its center set to p. Flipping the two statements will produce an incorrect transform.
Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.
| const InverseMatrixType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetInverseMatrix | ( | void | ) | const [inherited] |
Referenced by itk::Rigid2DTransform< TScalarType >::BackTransform().
| virtual const JacobianType& itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetJacobian | ( | const InputPointType & | inputPoint, | |
| unsigned | int | |||
| ) | const [inline, virtual, inherited] |
Compute the Jacobian of the transformation
This method computes the Jacobian matrix of the transformation at a given input point. The rank of the Jacobian will also indicate if the transform is invertible at this point.
The Jacobian is be expressed as a matrix of partial derivatives of the output point components with respect to the parameters that defined the transform:
Definition at line 221 of file itkThreadSafeTransform.h.
| const JacobianType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetJacobian | ( | const InputPointType & | point | ) | const [virtual, inherited] |
Compute the Jacobian of the transformation
This method computes the Jacobian matrix of the transformation. given point or vector, returning the transformed point or vector. The rank of the Jacobian will also indicate if the transform is invertible at this point.
Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.
| const JacobianType& itk::Similarity2DTransform< TScalarType >::GetJacobian | ( | const InputPointType & | point | ) | const |
This method computes the Jacobian matrix of the transformation at a given input point.
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.
| virtual JacobianType* itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetJacobianVariableForThread | ( | unsigned int | threadId = 0 |
) | const [protected, virtual, inherited] |
| const MatrixType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetMatrix | ( | void | ) | const [inline, inherited] |
Get matrix of an MatrixOffsetTransformBase
This method returns the value of the matrix of the MatrixOffsetTransformBase. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset
Definition at line 193 of file itkMatrixOffsetTransformBase.h.
Referenced by itk::Rigid2DTransform< TScalarType >::BackTransform().
| const MetaDataDictionary& itk::Object::GetMetaDataDictionary | ( | void | ) | const [inherited] |