#include <mitkScaleTransform.h>
Inherits mitkTransform.
Inheritance diagram for mitkScaleTransform:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
mitkScaleTransform () | |
mitkScaleTransform (unsigned int dim) | |
virtual void | SetTransformMode (int transformMode, unsigned int dim) |
const MatrixType & | GetJacobian (const VectorParameterType &inPoint) |
virtual void | ConvertTransformMaxtrixToVector () |
void | GetScales (ScalarParameterType &sx, ScalarParameterType &sy) |
void | GetScales (ScalarParameterType &sx, ScalarParameterType &sy, ScalarParameterType &sz) |
Protected Member Functions | |
virtual void | ComputeTransformMatrix () |
mitkScaleTransform is a concrete transform to perform anisotropic scaling transform to 2D and 3D image space. User should use the constructor to specify the image dimensions, e.g. mitkScaleTransform(2) (default) for 2d image, mitkScaleTransform(3) for 3d image. To improve the behavior of the scaling parameters when they are modified by optimizers, a logarithm based scaling transform was implemented.
Transform Mode Number of parameters p[0] p[1] p[2]
MITK_TRANSFORM_SCALE (2D) 2 sx sy -
MITK_TRANSFORM_SCALE (3D) 3 sx sy sz
MITK_TRANSFORM_SCALE_LOGARITHMIC (2D) 2 sx sy -
MITK_TRANSFORM_SCALE_LOGARITHMIC (3D) 3 sx sy sz
|
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 Jacobian matrix.
Reimplemented from mitkTransform. |
|
Get the scaling parameters from the transform parameter vector. (for 3d scaling)
|
|
Get the scaling parameters from the transform parameter vector. (for 2d scaling)
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkTransform. |
|
Set the transform mode.Default is MITK_TRANSFORM_SCALE_LOGARITHMIC. param mode Specify the transform mode. Reimplemented from mitkTransform. |