#include <itkCenteredRigid2DTransform.h>
Inheritance diagram for itk::CenteredRigid2DTransform< TScalarType >:
This transform applies a rigid transformation in 2D space The transformation is specified as a rotation around an arbitrary center and is followed by a translation.
The need for introducing this transform is that a rotation is not specified simply by an angle, as we use to think, but also by a center of rotation. We use to assume that the center of rotation is the origin of the coordinate system. This assumption, however does not usually hold in applications such as image registration.
In order to initialize this transform a user should provide the following
With these parameters the transform applies first a translation that will move the center of rotation to be the new origin. Next, a rotation is performed around this origin. Then another translation is applied in order to move the origin back to the position of the center of rotation. Finally, the user-specified translation is applied. Note that the user-spedified translation is applied after the image has returned to the original coordinate system. If you want to rotate an image around its center, please specify a null translation and just set the center of rotation. This transform will take care internally of the two translations required to implement a rotation around an arbitrary point.
The serialization of parameters in this transform results in an array of five element ordered as follows
p[0] = angle p[1] = x coordinate of the centre p[2] = y coordinate of the centre p[3] = x component of the translation p[4] = y component of the translation
For convenience, an additional method is available for specifying the rotation in degrees instead of radians.
Definition at line 71 of file itkCenteredRigid2DTransform.h.
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 79 of file itkCenteredRigid2DTransform.h. |
|
CovariantVector type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 115 of file itkCenteredRigid2DTransform.h. |
|
Point type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 107 of file itkCenteredRigid2DTransform.h. Referenced by itk::CenteredRigid2DTransform< TScalarType >::~CenteredRigid2DTransform(). |
|
Vector type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 111 of file itkCenteredRigid2DTransform.h. |
|
VnlVector type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 119 of file itkCenteredRigid2DTransform.h. |
|
Jacobian type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 101 of file itkCenteredRigid2DTransform.h. |
|
Offset type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 104 of file itkCenteredRigid2DTransform.h. |
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 116 of file itkCenteredRigid2DTransform.h. |
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 108 of file itkCenteredRigid2DTransform.h. |
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 112 of file itkCenteredRigid2DTransform.h. Referenced by itk::CenteredRigid2DTransform< TScalarType >::~CenteredRigid2DTransform(). |
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 120 of file itkCenteredRigid2DTransform.h. |
|
Parameters type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 98 of file itkCenteredRigid2DTransform.h. |
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 78 of file itkCenteredRigid2DTransform.h. |
|
Scalar type. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 95 of file itkCenteredRigid2DTransform.h. |
|
Standard class typedefs. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 76 of file itkCenteredRigid2DTransform.h. Referenced by itk::CenteredRigid2DTransform< TScalarType >::~CenteredRigid2DTransform(). |
|
Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >. Definition at line 77 of file itkCenteredRigid2DTransform.h. |
|
|
|
|
|
|
Compute the components of the rotation matrix and offset in the superclass. Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Set the rotational part of the transform. |
|
Set and Get the center of rotation |
|
Run-time type information (and related methods). Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
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::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Get the parameters that uniquely define the transform This is typically used by optimizers. There are 3 parameters. The first one represents the rotation and the last two represents the offset. Reimplemented from itk::Transform< TScalarType, 2, 2 >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Set and Get the Translation to be applied after rotation |
|
Dimension of parameters. |
|
Dimension of parameters. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Dimension of parameters. Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
New macro for creation of through a Smart Pointer. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Print contents of an Rigid2DTransform Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Set the rotational part of the transform. |
|
Set the rotational part of the transform. |
|
Set and Get the center of rotation |
|
Set the transformation to an Identity This sets the matrix to identity and the Offset to null. Reimplemented from itk::Rigid2DTransform< TScalarType >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Set the transformation from a container of parameters This is typically used by optimizers. There are 3 parameters. The first one represents the rotation and the last two represents the offset. Reimplemented from itk::Transform< TScalarType, 2, 2 >.
Reimplemented in itk::Similarity2DTransform< TScalarType >.
|
|
Set and Get the Translation to be applied after rotation |