LUTToMLImage

MLModule
genre LUT
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLLUTTools
definition MLLUTTools.def
see also ImageToLUT, LUTSelect, LUTInfo, LUTCurve, DisplayLUT, SoMLLUT, SoLUTEditor
keywords lookup, table

Purpose

The module LUTToMLImage renders a lookup table (LUT) as an ML image.

The LUT’s index, row and layer range correspond to the resulting image’s x-, y- and z-dimension, resp.

The parameters of the LUTToMLImage module control the LUT index and entry value ranges, in which the LUT is displayed.

Usage

Connect a lookup table object to the LUT input field. Specify Index Range and Output Range parameters, use the Auto setting to obtain the index range from the LUT. View the LUT image at the output of the LUTToMLImage module.

Details

The size of the resulting LUT image depends on the specified index range and the input LUT’s height and depth. The world matrix of the output image can be used to map (x, y, z) voxel coordinates to (index, row, layer) values.

See LUT Functions for general information about ML lookup tables.

Windows

Default Panel

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

Input Fields

inLUT

name: inLUT, type: LUTFunction(MLBase)

Output Fields

output0

name: output0, type: Image

Parameter Fields

Field Index

Auto: Bool
Depth: Integer
Height: Integer
Max Index: Double
Max LUT Value: Double
Min Index: Double
Rescale: Bool
Rescale Width: Integer

Visible Fields

Min Index

name: minIndex, type: Double, default: 0

Sets the minimum index for which the LUT is rendered.

Max Index

name: maxIndex, type: Double, default: 1

Sets the maximum index for which the LUT is rendered.

Auto

name: autoIndexRange, type: Bool, default: TRUE

If checked, the index range is set to the LUT’s native index range automatically.

Max LUT Value

name: maxEntry, type: Double, default: 255, minimum: 0

Sets the output image’s data value range.

Height

name: height, type: Integer, persistent: no

Shows the height of the input LUT. The value corresponds to the output image’s y-size.

Depth

name: depth, type: Integer, persistent: no

Shows the depth of the input LUT. The value corresponds to the output image’s z-size.

Rescale

name: rescale, type: Bool, default: FALSE

If checked, the LUT is rendered for a fixed, specified resolution, independent of the width of the Index Range.

Rescale Width

name: rescaleWidth, type: Integer, default: 256

Sets the number of index positions for which the LUT is rendered.