ReformatIfRequired¶
- MacroModule¶
author
Torben Paetz
package
definition
see also
keywords
Purpose¶
The ReformatIfRequired only reformats the input image to the reference image if world matrix (and voxel size) is not identical.
This implies that reformat is done if the image is oriented differently or starts at a different voxel position.
Input Fields¶
inImage¶
- name: inImage, type: Image¶
Image to be reformatted.
inReference¶
- name: inReference, type: Image¶
Reference image.
Output Fields¶
outImage¶
- name: outImage, type: Image¶
Reformatted image.
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visible Fields¶
Interpolation:¶
- name: inInterpolation, type: Enum, default: NearestNeighbor¶
Defines interpolation mode.
Values:
Title |
Name |
Deprecated Name |
|---|---|---|
Nearest Neighbor |
NearestNeighbor |
Nearest Neighbor |
Trilinear |
Trilinear |
Trilinear(skip border),TrilinearSkipBorder |
Memory Access:¶
Values:
Title |
Name |
|---|---|
Global |
Global |
Virtual Volume |
VirtualVolume |
Reformat Required¶
- name: outReformatRequired, type: Bool, persistent: no¶
Shows if reformat is required/done.
Update¶
- name: update, type: Trigger¶
Initiates update of all output field values.
Clear¶
- name: clear, type: Trigger¶
Clears all output field values to a clean initial state.
On Input Change Behavior¶
- name: onInputChangeBehavior, type: Enum, default: Clear, deprecated name: shouldAutoUpdate,shouldUpdateAutomatically¶
Declares how the module should react if a value of an input field changes.
Values:
Title |
Name |
Deprecated Name |
|---|---|---|
Update |
Update |
TRUE |
Clear |
Clear |
FALSE |
[]¶
- name: updateDone, type: Trigger, persistent: no¶
Notifies that an update was performed (Check status interface fields to identify success or failure).
Has Valid Output¶
- name: hasValidOutput, type: Bool, persistent: no¶
Indicates validity of output field values (success of computation).
Status Code¶
- name: statusCode, type: Enum, persistent: no¶
Reflects module’s status (successful or failed computations) as one of some predefined enumeration values.
Values:
Title |
Name |
|---|---|
Ok |
Ok |
Invalid input object |
Invalid input object |
Invalid input parameter |
Invalid input parameter |
Internal error |
Internal error |
Status Message¶
- name: statusMessage, type: String, persistent: no¶
Gives additional, detailed information about status code as human-readable message.