Reshape¶
-
MLModule
¶ genre Resample
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLGeometry1
definition MLGeometry1.def keywords convert
,change
,image
,size
,extend
,reorder
Purpose¶
The module Reshape
changes the format of the input image (x, y, z, c, t, u) to the parameters (X, Y, Z, C, T, U) specified by the GUI.
For this, the complete size of the input image and the specified new image size must be the same: x * y * z * c * t * u = X * Y * Z * C * T * U.
Usage¶
Note that the product of the input image’s extents must be the same as the product of the target image’s extents.
Parameter Fields¶
Field Index¶
Apply : Trigger |
X : Integer |
Auto Update : Bool |
Y : Integer |
C : Integer |
Z : Integer |
Clear : Trigger |
|
Get current input size : Trigger |
|
T : Integer |
|
U : Integer |
|
Used size : String |
Visible Fields¶
Used size¶
-
name:
currentSize
, type:
String
, persistent:
no
¶ Shows information about the used size for the target image.
Auto Update¶
-
name:
autoUpdate
, type:
Bool
, default:
TRUE
¶ If this flag is set, changes to the input image will automatically update the output image. In case of a size mismatch the output size will automatically be reset to the input size.
If this flag is off, the output image will simply be set to invalid when the input image changes, and the user must press
Apply
to update the output image. The output image size will never be modified in this mode: If the sizes don’t match, the output image is set to invalid and an error message is printed.
Apply¶
-
name:
apply
, type:
Trigger
¶ If pressed, the current size settings are applied to the output image.
If
Auto Update
is set and the product of the input image’s extents differ from the product of the output image’s extent, the input image extent is used for the output image.