AffineTransformation2D¶
-
MLModule
¶ genre SpatialTransformation
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLTransformation
definition MLTransformation.def keywords rotate
,translate
,shear
,scale
,image
Purpose¶
The module AffineTransformation2d
performs a 2D affine transformation.
The transformation is applied on each image slice.
Usage¶
Translation, rotation, shearing and scaling can be entered and reset.
Limitations: works efficiently only with datatypes of < MLuint16.
Details¶
All parameters are relative in [-1, 1].
The translation is applied after the other transformations.
Tips¶
For more detailed information see the documentation of AffineTransformation3d
.
Parameter Fields¶
Field Index¶
Opt Parameters : String |
reset : Trigger |
Rotation : Double |
Scaling X : Double |
Scaling Y : Double |
Shearing : Double |
Translation X : Double |
Translation Y : Double |
Visible Fields¶
Opt Parameters¶
-
name:
optParameters
, type:
String
, default:
0 0 0 0 1 1
¶ Optionally sets all values in one string. The order is translation x, translation y, rotation, shearing, scaling x and scaling y.
The order is just the order of the parameters on the GUI.
Translation X¶
-
name:
translationX
, type:
Double
, default:
0
¶ Sets the relative translation in X-direction.
Translation Y¶
-
name:
translationY
, type:
Double
, default:
0
¶ Sets the relative translation in Y-direction.