#include <mitkSimilarityTransform.h>
Inherits mitkTransform.
Inheritance diagram for mitkSimilarityTransform:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
mitkSimilarityTransform () | |
mitkSimilarityTransform (unsigned int dim) | |
const MatrixType & | GetJacobian (const VectorParameterType &inPoint) |
virtual void | ConvertTransformMaxtrixToVector () |
void | GetAngles (ScalarParameterType &angle) |
void | GetAngles (ScalarParameterType &alpha, ScalarParameterType &beta, ScalarParameterType &gamma) |
void | GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty) |
void | GetTranslations (ScalarParameterType &tx, ScalarParameterType &ty, ScalarParameterType &tz) |
void | GetScales (ScalarParameterType &scale) |
Protected Member Functions | |
virtual void | ComputeTransformMatrix () |
This transform applies a rotation, translation and scaling to the 2D and 3D image space. User should use the constructor to specify the image dimensions, e.g. mitkSimilarityTransform(2) (default) for 2d image, mitkSimilarityTransform(3) for 3d image.
Transform Mode Number of parameters p[0] p[1] p[2] p[3] p[4] p[5] p[6]
MITK_TRANSFORM_SIMILARITY (2D) 4 angle tx ty scale - - -
MITK_TRANSFORM_SIMILARITY (3D) 7 angle_x angle_y angle_z tx ty tz scale
|
Constructor. |
|
Constructor with specific transform mode setting. |
|
Calculate the transform matrix.
Reimplemented from mitkTransform. |
|
Convert transform matrix to transform parameter vector. This function operates on build-in data. Reimplemented from mitkTransform. |
|
Get the rotation parameters from the transform parameter vector. (for 3d rotation)
|
|
Get the rotation parameters from the transform parameter vector. (for 2d rotation)
|
|
Get the Jacobian matrix.
Reimplemented from mitkTransform. |
|
Get the scaling parameters from the transform parameter vector.
|
|
Get the translation parameters from the transform parameter vector. (for 3d translation)
|
|
Get the translation parameters from the transform parameter vector. (for 2d translation)
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkTransform. |