LUTRescale

MLModule
genre LUT
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLLUTTools
definition MLLUTTools.def
see also ChangeLUTColor, LUTInfo
keywords lookup, table, relative

Purpose

The module LUTRescale modifies the index range of a lookup table (LUT) connected to its input and to turn an absolute into a relative LUT.

The result is provided at the output of the module.

Usage

Connect a lookup table object to the module’s input and adjust the module’s parameters.

The transformation of the index range is defined by two intervals: the Input Index Range and the Output Index Range. If the output LUT is relative, its index range is always the interval [0..1].

Note that an absolute LUT can be turned into a relative LUT, but not vice versa.

The generated output LUT can be, for example, connected to an SoMLLUT module to be used in an inventor scene, or applied to an ML image using an ApplyLUT module.

Details

See LUT Functions for general information about ML lookup tables.

Windows

Default Panel

../../../Modules/ML/MLLUTTools/mhelp/Images/Screenshots/LUTRescale._default.png

Input Fields

inLUT

name: inLUT, type: LUTFunction(MLBase)

Output Fields

outLUT

name: outLUT, type: LUTFunction(MLBase)

Parameter Fields

Visible Fields

Auto

name: autoSourceRange, type: Bool, default: TRUE

If checked, the input index range is obtained automatically from the native index range of the input LUT.

Min (sourceMin)

name: sourceMin, type: Double, default: 0

Sets the minimum index of the interval with respect to the input LUT.

That interval is mapped to the output index range.

Max (sourceMax)

name: sourceMax, type: Double, default: 1

Sets the maximum index of the interval with respect to the input LUT.

That interval is mapped to the output index range.

Min (targetMin)

name: targetMin, type: Double, default: 0

Sets the minimum index with respect to the output LUT to which the input index range is mapped.

Max (targetMax)

name: targetMax, type: Double, default: 1

Sets the maximum index with respect to the output LUT to which the input index range is mapped.

Force relative output LUT

name: forceRelative, type: Bool, default: TRUE

If checked, the output LUT is relative.

Input LUT relative

name: inLUTRelative, type: Bool, persistent: no

Shows whether the input LUT is relative or absolute. A relative input LUT can not be transformed into an absolute LUT.

Output LUT relative

name: outLUTRelative, type: Bool, persistent: no

Shows whether the output LUT is relative or absolute.