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

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

CenteredSimilarity2DTransform of a vector space (e.g. space coordinates). More...

#include <itkCenteredSimilarity2DTransform.h>

Inheritance diagram for itk::CenteredSimilarity2DTransform< TScalarType >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef CenteredSimilarity2DTransform Self
typedef Similarity2DTransform<
TScalarType > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ScalarType ScalarType
typedef Superclass::ParametersType ParametersType
typedef Superclass::JacobianType JacobianType
typedef Superclass::OffsetType OffsetType
typedef Superclass::InputPointType InputPointType
typedef Superclass::OutputPointType OutputPointType
typedef Superclass::InputVectorType InputVectorType
typedef Superclass::OutputVectorType OutputVectorType
typedef Superclass::InputCovariantVectorType InputCovariantVectorType
typedef Superclass::OutputCovariantVectorType OutputCovariantVectorType
typedef Superclass::InputVnlVectorType InputVnlVectorType
typedef Superclass::OutputVnlVectorType OutputVnlVectorType

Public Member Functions

virtual const char * GetNameOfClass () const
void SetParameters (const ParametersType &parameters)
const ParametersTypeGetParameters (void) const
const JacobianTypeGetJacobian (const InputPointType &point) const
virtual void SetFixedParameters (const ParametersType &)
virtual const ParametersTypeGetFixedParameters (void) const
void CloneInverseTo (Pointer &newinverse) const
void CloneTo (Pointer &clone) const
 itkStaticConstMacro (SpaceDimension, unsigned int, 2)
 itkStaticConstMacro (InputSpaceDimension, unsigned int, 2)
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, 2)
 itkStaticConstMacro (ParametersDimension, unsigned int, 6)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 CenteredSimilarity2DTransform ()
 CenteredSimilarity2DTransform (unsigned int spaceDimension, unsigned int parametersDimension)
 ~CenteredSimilarity2DTransform ()
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

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

CenteredSimilarity2DTransform 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 main difference between this class and its superclass Similarity2DTransform is that the center of transformation is exposed for optimization.

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

There are no fixed parameters.

See also:
Similarity2DTransform

Definition at line 54 of file itkCenteredSimilarity2DTransform.h.


Member Typedef Documentation

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 62 of file itkCenteredSimilarity2DTransform.h.

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

CovariantVector type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 98 of file itkCenteredSimilarity2DTransform.h.

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

Point type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 90 of file itkCenteredSimilarity2DTransform.h.

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

Vector type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 94 of file itkCenteredSimilarity2DTransform.h.

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

VnlVector type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 102 of file itkCenteredSimilarity2DTransform.h.

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

Jacobian type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 84 of file itkCenteredSimilarity2DTransform.h.

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

Offset type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 87 of file itkCenteredSimilarity2DTransform.h.

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 99 of file itkCenteredSimilarity2DTransform.h.

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 91 of file itkCenteredSimilarity2DTransform.h.

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 95 of file itkCenteredSimilarity2DTransform.h.

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 103 of file itkCenteredSimilarity2DTransform.h.

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

Parameters type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 81 of file itkCenteredSimilarity2DTransform.h.

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 61 of file itkCenteredSimilarity2DTransform.h.

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

Scalar type.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 78 of file itkCenteredSimilarity2DTransform.h.

template<class TScalarType = double>
typedef CenteredSimilarity2DTransform itk::CenteredSimilarity2DTransform< TScalarType >::Self
 

Standard class typedefs.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 59 of file itkCenteredSimilarity2DTransform.h.

Referenced by itk::CenteredSimilarity2DTransform< TScalarType >::~CenteredSimilarity2DTransform().

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

Definition at line 60 of file itkCenteredSimilarity2DTransform.h.


Constructor & Destructor Documentation

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

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

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

Definition at line 158 of file itkCenteredSimilarity2DTransform.h.

References itk::CenteredSimilarity2DTransform< TScalarType >::Self.


Member Function Documentation

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

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

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

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

Reimplemented from itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual const ParametersType& itk::CenteredSimilarity2DTransform< TScalarType >::GetFixedParameters void   )  const [virtual]
 

Get the Fixed Parameters. An empty array is returned as there are no fixed parameters.

Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >.

template<class TScalarType = double>
const JacobianType& itk::CenteredSimilarity2DTransform< TScalarType >::GetJacobian const InputPointType point  )  const [virtual]
 

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

See also:
Transform::GetJacobian()

Reimplemented from itk::Similarity2DTransform< TScalarType >.

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

Run-time type information (and related methods).

Reimplemented from itk::Similarity2DTransform< TScalarType >.

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

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

See also:
Transform::GetParameters()

Transform::GetFixedParameters()

Reimplemented from itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
itk::CenteredSimilarity2DTransform< TScalarType >::itkStaticConstMacro ParametersDimension  ,
unsigned  int,
 

Dimension of parameters.

template<class TScalarType = double>
itk::CenteredSimilarity2DTransform< TScalarType >::itkStaticConstMacro OutputSpaceDimension  ,
unsigned  int,
 

Dimension of parameters.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
itk::CenteredSimilarity2DTransform< TScalarType >::itkStaticConstMacro InputSpaceDimension  ,
unsigned  int,
 

Dimension of parameters.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
itk::CenteredSimilarity2DTransform< TScalarType >::itkStaticConstMacro SpaceDimension  ,
unsigned  int,
 

Dimension of parameters.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

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

New macro for creation of through a Smart Pointer.

Reimplemented from itk::Similarity2DTransform< TScalarType >.

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

Print contents of an Rigid2DTransform

Reimplemented from itk::Similarity2DTransform< TScalarType >.

template<class TScalarType = double>
virtual void itk::CenteredSimilarity2DTransform< TScalarType >::SetFixedParameters const ParametersType  )  [virtual]
 

Set the fixed parameters and update internal transformation. This is a null function as there are no fixed parameters.

Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 2, 2 >.

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

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

See also:
Transform::SetParameters()

Transform::SetFixedParameters()

Reimplemented from itk::Similarity2DTransform< TScalarType >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 00:34:10 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000