LUTToMLImage¶
- MLModule¶
genre
author
package
dll
definition
see also
ImageToLUT,LUTSelect,LUTInfo,LUTCurve,DisplayLUT,SoMLLUT,SoLUTEditorkeywords
Purpose¶
The module LUTToMLImage renders a lookup table (LUT) as an ML image.
The LUT’s index, row, and layer ranges correspond to the resulting image’s x-, y- and z-dimensions, respectively.
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 and 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¶
Input Fields¶
inLUT¶
- name: inLUT, type: LUTFunction(MLBase)¶
Output Fields¶
output0¶
- name: output0, type: Image¶
Parameter Fields¶
Field Index¶
|
|
|
|
|
|
|
|
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-extent.
Depth¶
- name: depth, type: Integer, persistent: no¶
Shows the depth of the input LUT. The value corresponds to the output image’s z-extent.
Rescale¶
- name: rescale, type: Bool, default: FALSE¶
If checked, the LUT is rendered at 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.