ApplyLUT¶
-
MLModule
¶ genre LUT
author MeVis Medical Solutions AG
package MeVisLab/Standard
dll MLLUTTools
definition MLLUTTools.def see also LUTPrimitive
,RampLUT
,LinearLUT
,TableLUT
,LUTInfo
,LUTCurve
,LUTToMLImage
,LUTSelect
,SoMLLUT
,SoLUTEditor
keywords lookup
,table
,image
,voxel
,value
Purpose¶
The module ApplyLUT
applies a lookup table (LUT) to an input image
.
The voxel values of the input image are used as LUT index values, the LUT entry values are rescaled relative to the Max Entry
parameter and stored in the output image
.
Usage¶
Connect a source image to the module’s input image field
and a lookup table object to the LUT input field
. Specify the maximum entry
used for the output image. The LUT entry values are rescaled to the interval [0..Max Entry
].
- A multi-channel LUT and/or a multi-channel input image are handled as follows:
- If the input LUT consists of a single channel and the option
Replicate single channel LUT
is enabled, the LUT is applied to all channels of theinput image
independently. The channels of theoutput image
correspond to theinput image
channels. - In all other cases, the first channel of the
input image
is used to obtain the index values for the lookup table. The remaininginput image
channels are ignored. Theoutput image
channels correspond to the channels of the lookup table.
- If the input LUT consists of a single channel and the option
Details¶
Max Entry
values larger than 65535 and non-integer input images or images with a voxel value range not representable by 16 bit are not supported.
See LUT Functions
for general information about ML lookup tables.
Tips¶
The example network shows how a linear LUT is displayed in a diagram and applied to a gray wedge test pattern. The data type and value range of the output image is controlled by the Max Entry
parameter of the ApplyLUT module
.
Input Fields¶
The source image, which must be of integer type with a voxel value range representable by 16 bit, is connected to the image input field
. The lookup table (a LUTFunction object) is connected to the inLUT field
.