RegistrationManual

MacroModule
genre Registration
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition RegistrationManual.def
keywords viewer, 2D, orthogonal, reformat

Purpose

The module RegistrationManual provides an interactive tool for 3D rigid body image registration.

Interaction

If the field Interactive is checked, the registration can be performed interactively.

Mouse Button Function
Left Move overlay.
SHIFT + Left Rotate overlay.
Right Change LUT of reference image.
SHIFT + RIGHT Change LUT of overlay.
CTRL + LEFT Navigation.

Windows

Default Panel

../../../Modules/Macros/Registration/mhelp/Images/Screenshots/RegistrationManual._default.png

Input Fields

inReferenceImage

name: inReferenceImage, type: Image, deprecated name: referenceImage,referenceImage

inImage

name: inImage, type: Image, deprecated name: overlayImage

invPreMovingImgOverlay

name: invPreMovingImgOverlay, type: SoNode

invPostViewer

name: invPostViewer, type: SoNode

Output Fields

outReformatImage

name: outReformatImage, type: Image, deprecated name: reformatImage

Parameter Fields

Field Index

center: Vector3 Overlay Mode: Enum Set Both Timepoints: Bool
Fill Value: Double overlayGrayCenter: Double Timepoint: Integer
grayCenter: Double overlayGrayWidth: Double translation: Vector3
grayWidth: Double position: Vector3 zoomMode: Enum
Interactive: Bool Reference: Color zoomModeParameter: Float
Layout: Enum Reset: Trigger  
matrix: Matrix rotation: Rotation  
Overlay: Color scale: Vector3  

Visible Fields

Layout

name: layout, type: Enum, default: LAYOUT_COLUMN

Defines the layout of the viewers to compare the images that are to be registered.

Values:

Title Name
Axial LAYOUT_AXIAL
Sagittal LAYOUT_SAGITTAL
Coronal LAYOUT_CORONAL
Cube LAYOUT_CUBE
Cube Equal LAYOUT_CUBE_EQUAL
Cube Customized LAYOUT_CUBE_CUSTOMIZED
Row LAYOUT_ROW
Row Equal LAYOUT_ROW_EQUAL
Row Axialextra LAYOUT_ROW_AXIALEXTRA
Column LAYOUT_COLUMN
Column Equal LAYOUT_COLUMN_EQUAL
Hidden LAYOUT_HIDDEN

Reference

name: referenceColor, type: Color, default: 1 1 1

Sets a base color for the reference image.

Overlay

name: overlayColor, type: Color, default: 1 0 0

Sets a base color for the overlay image.

Overlay Mode

name: overlayMode, type: Enum, default: BLEND_BLEND

Defines how the overlay is rendered over the reference image.

Values:

Title Name
Replace BLEND_REPLACE
Add BLEND_ADD
Blend BLEND_BLEND
Maximum BLEND_MAXIMUM
Minimum BLEND_MINIMUM
Reverse Subtract BLEND_REVERSE_SUBTRACT
Subtract BLEND_SUBTRACT
Screen BLEND_SCREEN
Premultiplied Blend BLEND_PREMULTIPLIED_BLEND

Reset

name: reset, type: Trigger

If pressed, all interactive translation and rotation is being reset.

Interactive

name: interactive, type: Bool, default: TRUE

If checked, the registration can be performed interactively.

Fill Value

name: fillValue, type: Double, default: 0

Sets a fill value.

Set Both Timepoints

name: setBothTimepoints, type: Bool, default: FALSE

If checked, the time points for both, the underlying and the overlay images can be set to the same index.

On checking this field, both time points are synchronized. However, by pressing the cursor keys ‘left’ and ‘right’, the time point of the underlying image can still be set independently of the overlay image.

Timepoint

name: timepoint, type: Integer, default: 0, minimum: 0

Sets the common time point (index) of both images if Set Both Timepoints is checked.

Hidden Fields

position

name: position, type: Vector3, default: -58.0729827880859 50.6594848632813 -824

grayWidth

name: grayWidth, type: Double, default: 0.92750007, deprecated name: greyWidth

grayCenter

name: grayCenter, type: Double, default: 0.38750002, deprecated name: greyCenter

overlayGrayWidth

name: overlayGrayWidth, type: Double, default: 0.5, deprecated name: overlayGreyWidth

overlayGrayCenter

name: overlayGrayCenter, type: Double, default: 0.5, deprecated name: overlayGreyCenter

scale

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

rotation

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

translation

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

center

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

matrix

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

zoomMode

name: zoomMode, type: Enum, default: VIEW2D_AUTO_ZOOM

Values:

Title Name
Auto Zoom VIEW2D_AUTO_ZOOM
Auto Zoom X VIEW2D_AUTO_ZOOM_X
Auto Zoom Y VIEW2D_AUTO_ZOOM_Y
Fixed Pixels Per Voxel X VIEW2D_FIXED_PIXELS_PER_VOXEL_X
Fixed Pixels Per Voxel Y VIEW2D_FIXED_PIXELS_PER_VOXEL_Y
Fixed Pixels Per Mm VIEW2D_FIXED_PIXELS_PER_MM
Fixed Mm Per Viewer Width VIEW2D_FIXED_MM_PER_VIEWER_WIDTH
Fixed Mm Per Viewer Height VIEW2D_FIXED_MM_PER_VIEWER_HEIGHT
Scale To Viewer Ignore Ratio VIEW2D_SCALE_TO_VIEWER_IGNORE_RATIO
Fixed Pixels Per Voxel X Scaled For Hidpi VIEW2D_FIXED_PIXELS_PER_VOXEL_X_SCALED_FOR_HIDPI
Fixed Pixels Per Voxel Y Scaled For Hidpi VIEW2D_FIXED_PIXELS_PER_VOXEL_Y_SCALED_FOR_HIDPI
Fixed Pixels Per Mm Scaled For Hidpi VIEW2D_FIXED_PIXELS_PER_MM_SCALED_FOR_HIDPI

zoomModeParameter

name: zoomModeParameter, type: Float, default: 1