![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkAdvancedSimilarity2DTransform.h>
AdvancedSimilarity2DTransform of a vector space (e.g. space coordinates)
This transform applies a homogenous scale and rigid transform in 2D space. The transform is specified as a scale and rotation around a arbitrary center and is followed by a translation. given one angle for rotation, a homogeneous scale and a 2D offset for translation.
The parameters for this transform can be set either using individual Set methods or in serialized form using SetParameters() and SetFixedParameters().
The serialization of the optimizable parameters is an array of 3 elements ordered as follows: p[0] = scale p[1] = angle p[2] = x component of the translation p[3] = y component of the translation
The serialization of the fixed parameters is an array of 2 elements ordered as follows: p[0] = x coordinate of the center p[1] = y coordinate of the center
Access methods for the center, translation and underlying matrix offset vectors are documented in the superclass MatrixOffsetTransformBase.
Access methods for the angle are documented in superclass Rigid2DTransform.
Definition at line 62 of file itkAdvancedSimilarity2DTransform.h.
typedef SmartPointer<const Self> itk::AdvancedSimilarity2DTransform< TScalarType >::ConstPointer |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 70 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::InputCovariantVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::InputCovariantVectorType |
CovariantVector type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 109 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::InputPointType itk::AdvancedSimilarity2DTransform< TScalarType >::InputPointType |
Point type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 101 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::InputVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::InputVectorType |
Vector type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 105 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::InputVnlVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::InputVnlVectorType |
VnlVector type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 113 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::InternalMatrixType itk::AdvancedSimilarity2DTransform< TScalarType >::InternalMatrixType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 124 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass ::JacobianOfSpatialHessianType itk::AdvancedSimilarity2DTransform< TScalarType >::JacobianOfSpatialHessianType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 123 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass ::JacobianOfSpatialJacobianType itk::AdvancedSimilarity2DTransform< TScalarType >::JacobianOfSpatialJacobianType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 120 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::JacobianType itk::AdvancedSimilarity2DTransform< TScalarType >::JacobianType |
Jacobian type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 92 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::MatrixType itk::AdvancedSimilarity2DTransform< TScalarType >::MatrixType |
Matrix type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 98 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass ::NonZeroJacobianIndicesType itk::AdvancedSimilarity2DTransform< TScalarType >::NonZeroJacobianIndicesType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 117 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::OffsetType itk::AdvancedSimilarity2DTransform< TScalarType >::OffsetType |
Offset type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 95 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::OutputCovariantVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputCovariantVectorType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 110 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::OutputPointType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputPointType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 102 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::OutputVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputVectorType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 106 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::OutputVnlVectorType itk::AdvancedSimilarity2DTransform< TScalarType >::OutputVnlVectorType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 114 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::ParametersType itk::AdvancedSimilarity2DTransform< TScalarType >::ParametersType |
Parameters type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 89 of file itkAdvancedSimilarity2DTransform.h.
typedef SmartPointer<Self> itk::AdvancedSimilarity2DTransform< TScalarType >::Pointer |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 69 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::ScalarType itk::AdvancedSimilarity2DTransform< TScalarType >::ScalarType |
Scalar type.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 85 of file itkAdvancedSimilarity2DTransform.h.
typedef TScalarType itk::AdvancedSimilarity2DTransform< TScalarType >::ScaleType |
Definition at line 86 of file itkAdvancedSimilarity2DTransform.h.
typedef AdvancedSimilarity2DTransform itk::AdvancedSimilarity2DTransform< TScalarType >::Self |
Standard class typedefs.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 67 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::SpatialHessianType itk::AdvancedSimilarity2DTransform< TScalarType >::SpatialHessianType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 121 of file itkAdvancedSimilarity2DTransform.h.
typedef Superclass::SpatialJacobianType itk::AdvancedSimilarity2DTransform< TScalarType >::SpatialJacobianType |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 118 of file itkAdvancedSimilarity2DTransform.h.
typedef AdvancedRigid2DTransform< TScalarType > itk::AdvancedSimilarity2DTransform< TScalarType >::Superclass |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
Definition at line 68 of file itkAdvancedSimilarity2DTransform.h.
itk::AdvancedSimilarity2DTransform< TScalarType >::AdvancedSimilarity2DTransform | ( | ) | [protected] |
itk::AdvancedSimilarity2DTransform< TScalarType >::AdvancedSimilarity2DTransform | ( | unsigned int | spaceDimension, |
unsigned int | parametersDimension | ||
) | [protected] |
itk::AdvancedSimilarity2DTransform< TScalarType >::~AdvancedSimilarity2DTransform | ( | ) | [inline, protected] |
Definition at line 198 of file itkAdvancedSimilarity2DTransform.h.
itk::AdvancedSimilarity2DTransform< TScalarType >::AdvancedSimilarity2DTransform | ( | const Self & | ) | [private] |
void itk::AdvancedSimilarity2DTransform< TScalarType >::CloneInverseTo | ( | Pointer & | newinverse | ) | const |
This method creates and returns a new AdvancedSimilarity2DTransform object which is the inverse of self.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
void itk::AdvancedSimilarity2DTransform< TScalarType >::CloneTo | ( | Pointer & | clone | ) | const |
This method creates and returns a new AdvancedSimilarity2DTransform object which has the same parameters.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
virtual void itk::AdvancedSimilarity2DTransform< 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::AdvancedRigid2DTransform< TScalarType >.
virtual void itk::AdvancedSimilarity2DTransform< 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::AdvancedRigid2DTransform< TScalarType >.
virtual const char* itk::AdvancedSimilarity2DTransform< TScalarType >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
virtual void itk::AdvancedSimilarity2DTransform< TScalarType >::GetJacobian | ( | const InputPointType & | , |
JacobianType & | , | ||
NonZeroJacobianIndicesType & | |||
) | const [virtual] |
This method computes the Jacobian matrix of the transformation at a given input point.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
const ParametersType& itk::AdvancedSimilarity2DTransform< TScalarType >::GetParameters | ( | void | ) | const |
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.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
virtual const ScaleType& itk::AdvancedSimilarity2DTransform< TScalarType >::GetScale | ( | ) | [virtual] |
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro | ( | SpaceDimension | , |
unsigned | int, | ||
2 | |||
) |
Dimension of parameters.
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro | ( | InputSpaceDimension | , |
unsigned | int, | ||
2 | |||
) |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro | ( | OutputSpaceDimension | , |
unsigned | int, | ||
2 | |||
) |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
itk::AdvancedSimilarity2DTransform< TScalarType >::itkStaticConstMacro | ( | ParametersDimension | , |
unsigned | int, | ||
4 | |||
) |
static Pointer itk::AdvancedSimilarity2DTransform< TScalarType >::New | ( | ) | [static] |
New macro for creation of through a Smart Pointer.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
void itk::AdvancedSimilarity2DTransform< TScalarType >::operator= | ( | const Self & | ) | [private] |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
virtual void itk::AdvancedSimilarity2DTransform< TScalarType >::PrecomputeJacobianOfSpatialJacobian | ( | void | ) | [protected, virtual] |
Update the m_JacobianOfSpatialJacobian.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
void itk::AdvancedSimilarity2DTransform< TScalarType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected] |
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
virtual void itk::AdvancedSimilarity2DTransform< TScalarType >::SetIdentity | ( | void | ) | [virtual] |
Set the transformation to an identity.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
virtual void itk::AdvancedSimilarity2DTransform< 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.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetParameters | ( | const ParametersType & | parameters | ) |
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.
Reimplemented from itk::AdvancedRigid2DTransform< TScalarType >.
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetScale | ( | ScaleType | scale | ) |
Set the Scale part of the transform.
void itk::AdvancedSimilarity2DTransform< TScalarType >::SetVarScale | ( | ScaleType | scale | ) | [inline, protected] |
Set the scale without updating underlying variables.
Definition at line 213 of file itkAdvancedSimilarity2DTransform.h.
ScaleType itk::AdvancedSimilarity2DTransform< TScalarType >::m_Scale [private] |
Definition at line 223 of file itkAdvancedSimilarity2DTransform.h.
Generated on 24-05-2012 for elastix by ![]() |
![]() |