Purpose

The module MarkerToMask creates a binary (mask) image from an XMarkerList.

Windows

Default Panel

../../../Modules/ML/MLXMarkerUtilsStable/mhelp/Images/Screenshots/MarkerToMask._default.png

Input Fields

input0

name: input0, type: Image

inputXMarkerList

name: inputXMarkerList, type: MLBase

Output Fields

output0

name: output0, type: Image

Parameter Fields

Field Index

Auto Update: Bool
Background Value: Integer
Mask Value: Integer
Output Data Type: Enum
Start Value: Integer
Update: Trigger
Write Mode: Enum

Visible Fields

Mask Value

name: maskValue, type: Integer, default: 1, deprecated name: writeValue

Sets the foreground value of the mask image.

Start Value

name: incrementalStartValue, type: Integer, default: 1

Background Value

name: backgroundValue, type: Integer, default: 0, deprecated name: fillValue

Sets the background value of the mask image.

Update

name: update, type: Trigger

If pressed, the module computes its mask output image anew.

Auto Update

name: autoUpdate, type: Bool, default: TRUE

If checked, the module computes anew if an input is changed or touched.

Write Mode

name: writeMode, type: Enum, default: MaskValue

Defines the write mode.

Values:

Title Name Description
Mask Value MaskValue The Mask Value is written to the output image at positions of markers.
Marker Type MarkerType The type of the markers if written into the output image.
Incremental Incremental The index of markers is written to the output image.

Output Data Type

name: outputType, type: Enum, default: int16

Defines the data type of the output image.

Values:

Title Name
uint8 uint8
int16 int16