ComposeBoundingBox

MacroModule

author

Christian Rieder

package

FMEstable/ReleaseMeVis

definition

ComposeBoundingBox.def

see also

ApplyTransformationMatrix, BoundingBoxInReferenceSystem

keywords

align, image, transform, rigid, matrix, center, registration

Purpose

Calculates composed bounding box of two aligned images.

Usage

For fused visualization of two aligned images.

Interaction

See example network.

Windows

Default Panel

../../../Projects/ComposeBoundingBox/Modules/mhelp/Images/Screenshots/ComposeBoundingBox._default.png

Input Fields

inFixedImage

name: inFixedImage, type: Image

Input fixed image.

inMovingImage

name: inMovingImage, type: Image

Input moving image.

Output Fields

outFixedImage

name: outFixedImage, type: Image

Extented fixed image.

outMovingImage

name: outMovingImage, type: Image

Transformed moving image.

Parameter Fields

Field Index

[]: Trigger

TransformationMatrix (inTransformationMatrix): Matrix

Align Image Centers: Bool

TransformationMatrix (outTransformationMatrix): Matrix

Clear: Trigger

Update: Trigger

doNotClearOnFailedUpdate: Bool

Has Valid Output: Bool

On Input Change Behavior: Enum

Status Code: Enum

Status Message: String

Visible Fields

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: shouldUpdateAutomatically,shouldAutoUpdate

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.

TransformationMatrix (inTransformationMatrix)

name: inTransformationMatrix, type: Matrix, default: 1 0 0 0, 0 1 0 0, 0 0 1 0, 0 0 0 1

Input transformation matrix.

TransformationMatrix (outTransformationMatrix)

name: outTransformationMatrix, type: Matrix, persistent: no

Output transformation matrix.

Align Image Centers

name: inAlignImageCenters, type: Bool, default: TRUE

If checked, image centers are aligned.

Hidden Fields

doNotClearOnFailedUpdate

name: doNotClearOnFailedUpdate, type: Bool, persistent: no

Prevents automated clear after update failed. This does not affect status fields. It enables the developer to analyze module’s state after failure.