AccumulateImage

MLModule
genre Resample
status stable
author Olaf Konrad
package MeVisLab/Standard
dll MLResample1
definition MLResample1.def
see also MPR, ImageComposer, ConcatenateImages
keywords MPR, compose, add

Purpose

The module AccumulateImage accumulates MPRs into one target image.

Usage

Attach an input image for setting a target image's extend and voxel size, and feed the module with MPR slices to fill up.

Windows

Default Panel

Main Tab

../../../Modules/ML/MLResample1/mhelp/Images/Screenshots/AccumulateImage._default.TabName.Main.png

Advanced Tab

../../../Modules/ML/MLResample1/mhelp/Images/Screenshots/AccumulateImage._default.TabName.Advanced.png

Input Fields

The left image input takes an MPR and the right image input takes an image for establishing the target image. An optional inventor input can be used for setting a transformation matrix; in this case, the MPR image can be a plain slice because the necessary rotation and translation matrix is now taken from the inventor input.

input0

name: input0, type: Image

input1

name: input1, type: Image

inOverlay

name: inOverlay, type: SoNode

Output Fields

The module's output is the accumulated image.

output0

name: output0, type: Image

output1

name: output1, type: Image

Parameter Fields

Field Index

Auto center: Bool Reset Accumulator: Trigger
Center: Vector3 Reset Matrix: Trigger
Compose matrix: Bool Rotation: Rotation
Fill Value: Double Scale: Vector3
Interactive: Bool Translation: Vector3
Interpolation: Enum Use inventor: Bool
Matrix: Matrix  
Memory Access: Enum  

Visible Fields

Reset Accumulator

name: resetAccumulatorImage, type: Trigger

If pressed, the accumulated image is reset and filled with the fill value.

Matrix

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

Shows the resulting matrix of the input MPR.

Use inventor

name: useInventorComposition, type: Bool, default: FALSE

If checked, the optional inventor input's matrix is used.

Compose matrix

name: composeMatrix, type: Bool, default: TRUE

If checked, the fields Matrix, Scale, Rotation and Translation contribute to the output matrix.

Scale

name: scale, type: Vector3, default: 1 1 1

Sets the scale factor for the matrix.

Rotation

name: rotation, type: Rotation, default: 0 0 1 0

Sets the rotation in axis and angle. Press Apply to actually apply a new rotation.

Translation

name: translation, type: Vector3, default: 0 0 0

Sets the translation vector.

Center

name: center, type: Vector3, default: 0 0 0

Sets the center of the target image.

Fill Value

name: fillValue, type: Double, default: 0

Sets the value for filling all non-MPR region of the target image.

Interactive

name: interactive, type: Bool, default: TRUE

If checked, the module updates in real-time.

Auto center

name: autoCenter, type: Bool, default: TRUE

If checked, the module assumes the targets image's center as the center (otherwise it takes the center set on the main page).

Interpolation

name: interpolation, type: Enum, default: NearestNeighbor

Defines the interpolation scheme.

Values:

Title Name
Nearest Neighbor NearestNeighbor
Trilinear Trilinear
Trilinear Skip Border TrilinearSkipBorder

Reset Matrix

name: resetMatrix, type: Trigger

If pressed, the transformation matrix is reset.

Memory Access

name: memoryAccess, type: Enum, default: Global

Defines the internal memory access management.

Values:

Title Name
Global Global
Virtual Volume VirtualVolume