Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Similarity2DTransform< TScalarType > Class Template Reference
[Transforms]

#include <itkSimilarity2DTransform.h>

Inheritance diagram for itk::Similarity2DTransform< TScalarType >:

Inheritance graph
[legend]
Collaboration diagram for itk::Similarity2DTransform< TScalarType >:

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Similarity2DTransform 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 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< SelfPointer
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 InputPointTypeGetCenter () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual const ParametersTypeGetFixedParameters (void) const
unsigned int GetInputSpaceDimension (void) const
unsigned int GetInputSpaceDimension (void) const
bool GetInverse (Self *inverse) const
const InverseMatrixTypeGetInverseMatrix (void) const
const JacobianTypeGetJacobian (const InputPointType &point) const
const JacobianTypeGetJacobian (const InputPointType &point) const
const MatrixTypeGetMatrix () const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual unsigned int GetNumberOfParameters (void) const
virtual unsigned int GetNumberOfParameters (void) const
const OutputVectorTypeGetOffset (void) const
unsigned int GetOutputSpaceDimension (void) const
unsigned int GetOutputSpaceDimension (void) const
const ParametersTypeGetParameters (void) const
virtual int GetReferenceCount () const
virtual std::string GetTransformTypeAsString () const
virtual std::string GetTransformTypeAsString () const
const OutputVectorTypeGetTranslation (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 &center)
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 &parameters)
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 JacobianTypeGetJacobian (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 MatrixTypeGetRotationMatrix () const
virtual void SetRotationMatrix (const MatrixType &matrix)
virtual const ScaleTypeGetScale ()
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 JacobianTypeGetJacobianVariableForThread (unsigned int threadId=0) const
const InverseMatrixTypeGetVarInverseMatrix (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 &center)
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
JacobianTypem_ThreaderJacobian


Member Typedef Documentation

typedef InputPointType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::CenterType [inherited]

Definition at line 159 of file itkMatrixOffsetTransformBase.h.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

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

Matrix type.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Definition at line 99 of file itkSimilarity2DTransform.h.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.

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

Definition at line 87 of file itkSimilarity2DTransform.h.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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.


Constructor & Destructor Documentation

template<class TScalarType = double>
itk::Similarity2DTransform< TScalarType >::Similarity2DTransform (  )  [protected]

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

template<class TScalarType = double>
itk::Similarity2DTransform< TScalarType >::~Similarity2DTransform (  )  [inline, protected]

Definition at line 185 of file itkSimilarity2DTransform.h.


Member Function Documentation

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

template<class TScalarType>
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.

template<class TScalarType>
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.

template<class TScalarType>
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.

template<class TScalarType>
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.

template<class TScalarType = double>
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 >.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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 >.

template<class TScalarType = double>
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.

template<class TScalarType = double>
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]

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
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.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
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]

Deprecated:
Use GetInverse instead.
Method will eventually be made a protected member function

Referenced by itk::Rigid2DTransform< TScalarType >::BackTransform().

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
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:

\[ J=\left[ \begin{array}{cccc} \frac{\partial x_{1}}{\partial p_{1}} & \frac{\partial x_{1}}{\partial p_{2}} & \cdots & \frac{\partial x_{1}}{\partial p_{m}}\\ \frac{\partial x_{2}}{\partial p_{1}} & \frac{\partial x_{2}}{\partial p_{2}} & \cdots & \frac{\partial x_{2}}{\partial p_{m}}\\ \vdots & \vdots & \ddots & \vdots \\ \frac{\partial x_{n}}{\partial p_{1}} & \frac{\partial x_{n}}{\partial p_{2}} & \cdots & \frac{\partial x_{n}}{\partial p_{m}} \end{array}\right] \]

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 >.

template<class TScalarType = double>
const JacobianType& itk::Similarity2DTransform< TScalarType >::GetJacobian ( const InputPointType point  )  const

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

See also:
Transform::GetJacobian()

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
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]

Returns:
A constant reference to this objects MetaDataDictionary.

MetaDataDictionary& itk::Object::GetMetaDataDictionary ( void   )  [inherited]

Returns:
A reference to this objects MetaDataDictionary.
Warning:
This reference may be changed.

virtual unsigned long itk::Object::GetMTime (  )  const [virtual, inherited]

Return this objects modified time.

Reimplemented in itk::ImageRegistrationMethod< TFixedImage, TMovingImage >, itk::ImageToSpatialObjectRegistrationMethod< TFixedImage, TMovingSpatialObject >, itk::MultiResolutionImageRegistrationMethod< TFixedImage, TMovingImage >, itk::PointSetToImageRegistrationMethod< TFixedPointSet, TMovingImage >, itk::PointSetToPointSetRegistrationMethod< TFixedPointSet, TMovingPointSet >, itk::DeformationFieldSource< TOutputImage >, itk::InverseDeformationFieldImageFilter< TInputImage, TOutputImage >, itk::ResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::VectorResampleImageFilter< TInputImage, TOutputImage, TInterpolatorPrecisionType >, itk::BoundingBox< TPointIdentifier, VPointDimension, TCoordRep, TPointsContainer >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageSpatialObject< TDimension, TPixelType >, itk::MeshSpatialObject< TMesh >, itk::SceneSpatialObject< TSpaceDimension >, itk::SpatialObject< TDimension >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageSpatialObject< TDimension, unsigned char >, itk::SpatialObject< 3 >, and itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >.

Referenced by itk::SpatialObject< ::itk::GetMeshDimension< TMesh >::PointDimension >::GetObjectMTime().

template<class TScalarType = double>
virtual const char* itk::Similarity2DTransform< TScalarType >::GetNameOfClass (  )  const [virtual]

Run-time type information (and related methods).

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual unsigned int itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetNumberOfParameters ( void   )  const [inline, virtual, inherited]

Return the number of parameters that completely define the Transfom

Implements itk::TransformBase.

Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::TranslationTransform< TScalarType, NDimensions >.

Definition at line 230 of file itkThreadSafeTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual unsigned int itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetNumberOfParameters ( void   )  const [inline, virtual, inherited]

Return the number of parameters that completely define the Transfom

Implements itk::TransformBase.

Reimplemented in itk::BSplineDeformableTransform< TScalarType, NDimensions, VSplineOrder >, and itk::TranslationTransform< TScalarType, NDimensions >.

Definition at line 213 of file itkTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual const unsigned int& itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetNumberOfThreads (  )  [virtual, inherited]

const OutputVectorType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetOffset ( void   )  const [inline, inherited]

Get offset of an MatrixOffsetTransformBase

This method returns the offset value of the MatrixOffsetTransformBase. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 214 of file itkMatrixOffsetTransformBase.h.

Referenced by itk::Rigid2DTransform< TScalarType >::BackTransform().

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
unsigned int itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetOutputSpaceDimension ( void   )  const [inline, virtual, inherited]

Get the size of the output space

Implements itk::TransformBase.

Definition at line 97 of file itkThreadSafeTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
unsigned int itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetOutputSpaceDimension ( void   )  const [inline, virtual, inherited]

Get the size of the output space

Implements itk::TransformBase.

Definition at line 99 of file itkTransform.h.

template<class TScalarType = double>
const ParametersType& itk::Similarity2DTransform< TScalarType >::GetParameters ( void   )  const [virtual]

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()

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

virtual int itk::LightObject::GetReferenceCount (  )  const [inline, virtual, inherited]

Gets the reference count on this object.

Definition at line 98 of file itkLightObject.h.

template<class TScalarType = double>
virtual const TScalarType& itk::Rigid2DTransform< TScalarType >::GetRotation (  )  const [inline, virtual, inherited]

Definition at line 175 of file itkRigid2DTransform.h.

template<class TScalarType = double>
const MatrixType& itk::Rigid2DTransform< TScalarType >::GetRotationMatrix (  )  const [inline, inherited]

Definition at line 132 of file itkRigid2DTransform.h.

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

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual std::string itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetTransformTypeAsString (  )  const [virtual, inherited]

Generate a platform independant name

Implements itk::TransformBase.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual std::string itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::GetTransformTypeAsString (  )  const [virtual, inherited]

Generate a platform independant name

Implements itk::TransformBase.

const OutputVectorType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetTranslation ( void   )  const [inline, inherited]

Get translation component of the MatrixOffsetTransformBase

This method returns the translation used after rotation about the center point. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 270 of file itkMatrixOffsetTransformBase.h.

const InverseMatrixType& itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::GetVarInverseMatrix ( void   )  const [inline, protected, inherited]

Definition at line 377 of file itkMatrixOffsetTransformBase.h.

static void itk::Object::GlobalWarningDisplayOff (  )  [inline, static, inherited]

Definition at line 100 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

static void itk::Object::GlobalWarningDisplayOn (  )  [inline, static, inherited]

Definition at line 98 of file itkObject.h.

References itk::Object::SetGlobalWarningDisplay().

bool itk::Object::HasObserver ( const EventObject event  )  const [inherited]

Return true if an observer is registered for this event.

bool itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::InverseMatrixIsOld ( void   )  const [inline, protected, inherited]

Definition at line 381 of file itkMatrixOffsetTransformBase.h.

void itk::Object::InvokeEvent ( const EventObject  )  const [inherited]

Call Execute on all the Commands observing this event id. The actions triggered by this call doesn't modify this object.

void itk::Object::InvokeEvent ( const EventObject  )  [inherited]

Call Execute on all the Commands observing this event id.

virtual bool itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::IsLinear (  )  const [inline, virtual, inherited]

Indicates that this transform is linear. That is, given two points P and Q, and scalar coefficients a and b, then

T( a*P + b*Q ) = a * T(P) + b * T(Q)

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

Definition at line 354 of file itkMatrixOffsetTransformBase.h.

itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::itkStaticConstMacro ( ParametersDimension  ,
unsigned  int,
NOutputDimensions *  (NInputDimensions+1) 
) [inherited]

itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::itkStaticConstMacro ( OutputSpaceDimension  ,
unsigned  int,
NOutputDimensions   
) [inherited]

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::itkStaticConstMacro ( InputSpaceDimension  ,
unsigned  int,
NInputDimensions   
) [inherited]

Dimension of the domain space.

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

template<class TScalarType = double>
itk::Rigid2DTransform< TScalarType >::itkStaticConstMacro ( ParametersDimension  ,
unsigned  int,
 
) [inherited]

Reimplemented in itk::Euler2DTransform< TScalarType >.

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

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

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

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

Dimension of the space.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

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

Dimension of parameters.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

virtual void itk::Object::Modified (  )  const [virtual, inherited]

Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data.

Reimplemented in itk::NormalizeImageFilter< TInputImage, TOutputImage >, itk::ImageAdaptor< TImage, TAccessor >, itk::ImageAdaptor< TImage, itk::Accessor::AsinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AbsPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::LogPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToPhasePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::Log10PixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AddPixelAccessor< TImage::PixelType > >, itk::ImageAdaptor< itk::VectorImage< TPixelType, Dimension >, itk::Accessor::VectorImageToImagePixelAccessor< TPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToVectorPixelAccessor< TImage::PixelType::ComponentType > >, itk::ImageAdaptor< TImage, itk::PixelAccessor< TInternalType, TExternalType > >, itk::ImageAdaptor< TImage, itk::Accessor::SqrtPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AcosPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToModulusPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ExpNegativePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::VectorToRGBPixelAccessor< TImage::PixelType::ValueType > >, itk::ImageAdaptor< TImage, itk::Accessor::TanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToRealPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::RGBToLuminancePixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::AtanPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::SinPixelAccessor< TImage::PixelType, TOutputPixelType > >, itk::ImageAdaptor< TImage, itk::Accessor::ComplexToImaginaryPixelAccessor< TImage::PixelType, TOutputPixelType > >, and itk::ImageAdaptor< TImage, itk::Accessor::CosPixelAccessor< TImage::PixelType, TOutputPixelType > >.

Referenced by itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::InsertNarrowBandNode(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetCenter(), itk::HistogramAlgorithmBase< TInputHistogram >::SetInputHistogram(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetMatrix(), itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBand(), itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandInnerRadius(), itk::NarrowBandImageFilterBase< TInputImage, itk::Image< TOutputPixelType,::itk::GetImageDimension< TInputImage >::ImageDimension > >::SetNarrowBandTotalRadius(), itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetOffset(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetRealThresholds(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints1(), itk::CollidingFrontsImageFilter< TInputImage, TOutputImage >::SetSeedPoints2(), itk::NonUniformBSpline< TDimension >::SetSplineOrder(), itk::ThresholdLabelerImageFilter< TInputImage, TOutputImage >::SetThresholds(), itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale(), and itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >::SetTranslation().

template<class TScalarType = double>
static Pointer itk::Similarity2DTransform< TScalarType >::New (  )  [static]

New macro for creation of through a Smart Pointer.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

void itk::LightObject::Print ( std::ostream &  os,
Indent  indent = 0 
) const [inherited]

Cause the object to print itself out.

Referenced by itk::WeakPointer< itk::ProcessObject >::Print().

virtual void itk::LightObject::PrintHeader ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

bool itk::Object::PrintObservers ( std::ostream &  os,
Indent  indent 
) const [protected, inherited]

template<class TScalarType = double>
void itk::Similarity2DTransform< TScalarType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const [protected, virtual]

Print contents of an Rigid2DTransform

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

virtual void itk::LightObject::PrintTrailer ( std::ostream &  os,
Indent  indent 
) const [protected, virtual, inherited]

virtual void itk::Object::Register (  )  const [virtual, inherited]

Increase the reference count (mark as used by another object).

Reimplemented from itk::LightObject.

void itk::Object::RemoveAllObservers (  )  [inherited]

Remove all observers .

void itk::Object::RemoveObserver ( unsigned long  tag  )  [inherited]

Remove the observer with this tag value.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::SetAngle ( TScalarType  angle  )  [inherited]

Set/Get the angle of rotation in radians

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::SetAngleInDegrees ( TScalarType  angle  )  [inherited]

Set the angle of rotation in degrees.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetCenter ( const InputPointType center  )  [inline, inherited]

Set center of rotation of an MatrixOffsetTransformBase

This method sets the center of rotation of an MatrixOffsetTransformBase to a fixed point - for most transforms derived from this class, this point is not a "parameter" of the transform - the exception is that "centered" transforms have center as a parameter during optimization.

This method updates offset wrt to current translation and matrix. That is, changing the center changes the transform!

WARNING: When using the Center, we strongly recommend only changing the matrix and translation to define a transform. Changing a transform's center, changes the mapping between spaces - specifically, translation is not changed with respect to that new center, and so the offset is updated to * maintain the consistency with translation. If a center is not used, or is set before the matrix and the offset, then it is safe to change the offset directly. As a rule of thumb, if you wish to set the center explicitly, set before Offset computations are done.

To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 239 of file itkMatrixOffsetTransformBase.h.

void itk::Object::SetDebug ( bool  debugFlag  )  const [inherited]

Set the value of the debug flag. A non-zero value turns debugging on.

virtual void itk::TransformBase::SetFixedParameters ( const ParametersType  )  [pure virtual, inherited]

Set the fixed parameters.

Implemented in itk::TranslationTransform< TScalarType, NDimensions >, itk::Transform< TScalarType, NDimensions, NDimensions >, itk::Transform< TScalarType, NDimensions, NDimensions >, itk::Transform< TScalarType, 3, 2 >, and itk::Transform< TScalarType, 3, 2 >.

virtual void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetFixedParameters ( const ParametersType  )  [virtual, inherited]

Set the fixed parameters and update internal transformation.

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

Reimplemented in itk::CenteredRigid2DTransform< TScalarType >, and itk::CenteredSimilarity2DTransform< TScalarType >.

static void itk::Object::SetGlobalWarningDisplay ( bool  flag  )  [static, inherited]

This is a global flag that controls whether any debug, warning or error messages are displayed.

Referenced by itk::Object::GlobalWarningDisplayOff(), and itk::Object::GlobalWarningDisplayOn().

template<class TScalarType = double>
virtual void itk::Similarity2DTransform< TScalarType >::SetIdentity ( void   )  [virtual]

Set the transformation to an identity.

Reimplemented from itk::Rigid2DTransform< TScalarType >.

virtual void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetMatrix ( const MatrixType matrix  )  [inline, virtual, inherited]

Set matrix of an MatrixOffsetTransformBase

This method sets the matrix of an MatrixOffsetTransformBase to a value specified by the user.

This updates the Offset wrt to current translation and center. See the warning regarding offset-versus-translation in the documentation for SetCenter.

To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 181 of file itkMatrixOffsetTransformBase.h.

template<class TScalarType = double>
virtual void itk::Similarity2DTransform< TScalarType >::SetMatrix ( const MatrixType matrix  )  [virtual]

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()

Reimplemented from itk::Rigid2DTransform< TScalarType >.

void itk::Object::SetMetaDataDictionary ( const MetaDataDictionary rhs  )  [inherited]

Returns:
Set the MetaDataDictionary

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::SetNumberOfThreads ( unsigned int  numberOfThreads  )  const [virtual, inherited]

Set and Get the number of threads from which this Transform can be used This is particularly relevant for the KernelTransforms

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetOffset ( const OutputVectorType offset  )  [inline, inherited]

Set offset (origin) of an MatrixOffset TransformBase.

This method sets the offset of an MatrixOffsetTransformBase to a value specified by the user. This updates Translation wrt current center. See the warning regarding offset-versus-translation in the documentation for SetCenter. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 204 of file itkMatrixOffsetTransformBase.h.

virtual void itk::TransformBase::SetParameters ( const ParametersType  )  [pure virtual, inherited]

Set the transformation parameters and update internal transformation.

Implemented in itk::TranslationTransform< TScalarType, NDimensions >, itk::Transform< TScalarType, NDimensions, NDimensions >, itk::Transform< TScalarType, NDimensions, NDimensions >, itk::Transform< TScalarType, 3, 2 >, and itk::Transform< TScalarType, 3, 2 >.

template<class TScalarType = double>
void itk::Similarity2DTransform< TScalarType >::SetParameters ( const ParametersType parameters  )  [virtual]

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()

Reimplemented from itk::Rigid2DTransform< TScalarType >.

Reimplemented in itk::CenteredSimilarity2DTransform< TScalarType >.

virtual void itk::TransformBase::SetParametersByValue ( const ParametersType p  )  [pure virtual, inherited]

Set the transformation by copying parameters and update internal transformation. This method forces the transform to copy the parameters. The default implementation is to call SetParameters. This call must be overridden if the transform normally implements SetParameters by keeping a reference to the parameters.

See also:
SetParameters

Implemented in itk::Transform< TScalarType, NDimensions, NDimensions >, itk::Transform< TScalarType, NDimensions, NDimensions >, itk::Transform< TScalarType, 3, 2 >, and itk::Transform< TScalarType, 3, 2 >.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::SetParametersByValue ( const ParametersType p  )  [inline, virtual, inherited]

Set the transformation parameters and update internal transformation. This method forces the transform to copy the parameters. The default implementation is to call SetParameters. This call must be overridden if the transform normally implements SetParameters by keeping a reference to the parameters.

See also:
SetParameters

Definition at line 175 of file itkThreadSafeTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::SetParametersByValue ( const ParametersType p  )  [inline, virtual, inherited]

Set the transformation parameters and update internal transformation. This method forces the transform to copy the parameters. The default implementation is to call SetParameters. This call must be overridden if the transform normally implements SetParameters by keeping a reference to the parameters.

See also:
SetParameters

Definition at line 160 of file itkTransform.h.

virtual void itk::Object::SetReferenceCount ( int   )  [virtual, inherited]

Sets the reference count (use with care)

Reimplemented from itk::LightObject.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::SetRotation ( TScalarType  angle  )  [inline, inherited]

Set/Get the angle of rotation in radians. These methods are old and are retained for backward compatibility. Instead, use SetAngle() and GetAngle().

Definition at line 173 of file itkRigid2DTransform.h.

template<class TScalarType = double>
virtual void itk::Rigid2DTransform< TScalarType >::SetRotationMatrix ( const MatrixType matrix  )  [inline, virtual, inherited]

Set/Get the rotation matrix. These methods are old and are retained for backward compatibility. Instead, use SetMatrix() GetMatrix().

Definition at line 130 of file itkRigid2DTransform.h.

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

Set the Scale part of the transform.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetTranslation ( const OutputVectorType translation  )  [inline, inherited]

Set translation of an MatrixOffsetTransformBase

This method sets the translation of an MatrixOffsetTransformBase. This updates Offset to reflect current translation. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 259 of file itkMatrixOffsetTransformBase.h.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::SetVarAngle ( TScalarType  angle  )  [inline, protected, inherited]

Update angle without recomputation of other internal variables.

Definition at line 244 of file itkRigid2DTransform.h.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetVarCenter ( const InputPointType center  )  [inline, protected, inherited]

Definition at line 399 of file itkMatrixOffsetTransformBase.h.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetVarInverseMatrix ( const InverseMatrixType matrix  )  const [inline, protected, inherited]

Definition at line 379 of file itkMatrixOffsetTransformBase.h.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetVarMatrix ( const MatrixType matrix  )  [inline, protected, inherited]

Definition at line 388 of file itkMatrixOffsetTransformBase.h.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetVarOffset ( const OutputVectorType offset  )  [inline, protected, inherited]

Definition at line 396 of file itkMatrixOffsetTransformBase.h.

template<class TScalarType = double>
void itk::Similarity2DTransform< TScalarType >::SetVarScale ( ScaleType  scale  )  [inline, protected]

Set the scale without updating underlying variables.

Definition at line 200 of file itkSimilarity2DTransform.h.

void itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::SetVarTranslation ( const OutputVectorType translation  )  [inline, protected, inherited]

Definition at line 392 of file itkMatrixOffsetTransformBase.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual OutputCovariantVectorType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::TransformCovariantVector ( const InputCovariantVectorType inputCovariantVector,
unsigned  int 
) const [inline, virtual, inherited]

Method to transform a CovariantVector.

Definition at line 149 of file itkThreadSafeTransform.h.

OutputCovariantVectorType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::TransformCovariantVector ( const InputCovariantVectorType vector  )  const [virtual, inherited]

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual OutputPointType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::TransformPoint ( const InputPointType inputPoint,
unsigned  int 
) const [inline, virtual, inherited]

Method to transform a point.

Definition at line 125 of file itkThreadSafeTransform.h.

OutputPointType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::TransformPoint ( const InputPointType point  )  const [virtual, inherited]

Transform by an affine transformation

This method applies the affine transform given by self to a given point or vector, returning the transformed point or vector. The TransformPoint method transforms its argument as an affine point, whereas the TransformVector method transforms its argument as a vector.

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual OutputVnlVectorType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::TransformVector ( const InputVnlVectorType inputVnlVector,
unsigned  int 
) const [inline, virtual, inherited]

Method to transform a vnl_vector.

Definition at line 141 of file itkThreadSafeTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual OutputVectorType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::TransformVector ( const InputVectorType inputVector,
unsigned  int 
) const [inline, virtual, inherited]

Method to transform a vector.

Definition at line 133 of file itkThreadSafeTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual OutputVnlVectorType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::TransformVector ( const InputVnlVectorType  )  const [inline, virtual, inherited]

Method to transform a vnl_vector.

Definition at line 135 of file itkTransform.h.

OutputVnlVectorType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::TransformVector ( const InputVnlVectorType vector  )  const [inherited]

OutputVectorType itk::MatrixOffsetTransformBase< TScalarType , NInputDimensions, NOutputDimensions >::TransformVector ( const InputVectorType vector  )  const [virtual, inherited]

Reimplemented from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >.

template<class TScalarType = double>
void itk::Rigid2DTransform< TScalarType >::Translate ( const OffsetType offset,
bool  pre = false 
) [inherited]

Compose the transformation with a translation

This method modifies self to include a translation of the origin. The translation is precomposed with self if pre is true, and postcomposed otherwise.

virtual void itk::Object::UnRegister (  )  const [virtual, inherited]

Decrease the reference count (release by another object).

Reimplemented from itk::LightObject.


Member Data Documentation

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
ParametersType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::m_FixedParameters [mutable, protected, inherited]

Definition at line 245 of file itkTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
JacobianType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::m_Jacobian [mutable, protected, inherited]

Definition at line 246 of file itkTransform.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
ParametersType itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::m_Parameters [mutable, protected, inherited]

Definition at line 241 of file itkTransform.h.

volatile int itk::LightObject::m_ReferenceCount [mutable, protected, inherited]

Number of uses of this object by other objects.

Definition at line 119 of file itkLightObject.h.

SimpleFastMutexLock itk::LightObject::m_ReferenceCountLock [mutable, protected, inherited]

Mutex lock to protect modification to the reference count

Definition at line 122 of file itkLightObject.h.

template<class TScalarType, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
JacobianType* itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >::m_ThreaderJacobian [mutable, protected, inherited]

Definition at line 271 of file itkThreadSafeTransform.h.


The documentation for this class was generated from the following file:
Generated at Sun Sep 23 20:26:07 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000