LUTCombiner

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

Purpose

The module LUTCombiner generates an output lookup table (LUT) by combining up to six input LUTs.

Details

See LUT Functions for general information about ML lookup tables.

Windows

Default Panel

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

Input Fields

inLUT0

name: inLUT0, type: MLBase

inLUT1

name: inLUT1, type: MLBase

inLUT2

name: inLUT2, type: MLBase

inLUT3

name: inLUT3, type: MLBase

inLUT4

name: inLUT4, type: MLBase

inLUT5

name: inLUT5, type: MLBase

Output Fields

outLUT

name: outLUT, type: LUTFunction(MLBase)

Parameter Fields

Field Index

lut0On: Bool
lut1On: Bool
lut2On: Bool
lut3On: Bool
lut4On: Bool
lut5On: Bool

Each LUT input can be toggled individually and has a Mode and a Mask parameter.

Mode

Defines the operation used to combine the corresponding input LUT with the intermediate result obtained from the combination of the preceding input LUTs.

Function Description
Replace The input LUT replaces the intermediate result.
Add The input LUT is added to the intermediate result.
Blend The input LUT is blended with the intermediate result, the blending is determined by the alpha channel of the input LUT.
Subtract The input LUT is subtracted from the intermediate result.
Multiply The input LUT is multiplied with the intermediate result.
Min The minimum of the input LUT and the intermediate result is computed.
Max The maximum of the input LUT and the intermediate result is computed.

Mask

Defines channels of the corresponding input LUT that are combined with the intermediate result obtained from the combination of the preceding input LUTs.

Channel Description
R The red channel.
G The green channel.
B The blue channel.
A The alpha channel.
RGB The red, green, and blue channels.
RGBA The red, green, blue, and alpha channels.

Hidden Fields

lut0On

name: lut0On, type: Bool, default: TRUE

lut1On

name: lut1On, type: Bool, default: TRUE

lut2On

name: lut2On, type: Bool, default: TRUE

lut3On

name: lut3On, type: Bool, default: TRUE

lut4On

name: lut4On, type: Bool, default: TRUE

lut5On

name: lut5On, type: Bool, default: TRUE