IntervalMap

MLModule

genre

Segmentation

author

Daniel Romberg

package

FMEstable/ReleaseMeVis

dll

MLIntervalMap

definition

MLIntervalMap.def

see also

IntervalThreshold, TableLUT, ApplyLUT

keywords

map, transfer, lut, multi, interval, select, label, extract, thresh, mapvoxelvalues

Purpose

Remap values in an image. It provides a sort of extension to interval threshold and can be used as a simple look up table to remap preferably only few values.

Usage

See Interval Map for usage examples.

Details

Hint: When it comes to remapping many discrete values it is recommended to check against a combination of TableLUT and ApplyLUT, which will be substantially faster.

Windows

Default Panel

../../../Projects/MLIntervalMap/Modules/mhelp/Images/Screenshots/IntervalMap._default.png

Input Fields

input0

name: input0, type: Image

The input image

Output Fields

output0

name: output0, type: Image

The output image

Parameter Fields

Field Index

addInterval: Trigger

Is Valid: Bool

addIntervalInputMapped: Trigger

mappedValue: Double

clear: Trigger

negativeInfinity: Double

Default Value: Double

Pass through: Bool

endOpen: Bool

positiveInfinity: Double

Interval Map: String

startOpen: Bool

intervalEnd: Double

update: Trigger

intervalStart: Double

Visible Fields

Interval Map

name: intervalMap, type: String

Example Syntax:

  • 4 -> 5

  • 5 -> 0.5

  • [0, 0.5) -> 1

  • [0.5, 1] -> 2.8

  • (10, 20) -> 3

  • [3, inf] -> 2.5

  • (-inf, 0] -> 0

  • (0, 1) -> input

Pass through

name: unmappedPassThrough, type: Bool, default: FALSE

Use input voxel value where interval table not defined

Default Value

name: defaultValue, type: Double, default: 0

Use default value where interval table not defined

Is Valid

name: isValid, type: Bool, persistent: no

Indicates whether the given interval table is valid

Hidden Fields

startOpen

name: startOpen, type: Bool, persistent: no

endOpen

name: endOpen, type: Bool, persistent: no

intervalStart

name: intervalStart, type: Double, persistent: no

intervalEnd

name: intervalEnd, type: Double, persistent: no

mappedValue

name: mappedValue, type: Double, persistent: no

positiveInfinity

name: positiveInfinity, type: Double, persistent: no

negativeInfinity

name: negativeInfinity, type: Double, persistent: no

addInterval

name: addInterval, type: Trigger, persistent: no

addIntervalInputMapped

name: addIntervalInputMapped, type: Trigger, persistent: no

update

name: update, type: Trigger, persistent: no

clear

name: clear, type: Trigger, persistent: no