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 data types of < uint16.
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
¶ Sets optionally all values in a single 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 the x-direction.
Translation Y¶
-
name:
translationY
, type:
Double
, default:
0
¶ Sets the relative translation in the y-direction.