genre | LUT |
author | Tobias Boskamp |
package | MeVisLab/Standard |
dll | MLLUTTools |
definition | MLLUTTools.def |
see also | LUTPrimitive, LinearLUT, TableLUT, ChangeLUTColor, LUTInfo, LUTCurve, ApplyLUT, SoMLLUT, Window |
keywords | lookup, table, center, width, level, window |
The module RampLUT generates an RGB and alpha ramp lookup table (LUT) object.
The LUT can be used with the ApplyLUT module or within 2D/3D viewers (in conjunction with SoMLLUT). The two ramps for RGB and alpha channels can be parametrized independently.
Select parameters for the RGB Ramp and the Alpha Ramp. For both ramps, specify Center and Width, as well as Start and End color or alpha value.
Connect the outLUT output field to a SoMLLUT module to use the LUT in a 2D/3D viewer, or to an ApplyLUT module to apply the LUT to an ML image.
The module also has an ML image input; if a valid ML image is connected, the module RampLUT can set a default LUT based on the image's min/max value or, if existing, on the LUT set in the DICOM tags.
See LUT Functions for general information about ML lookup tables.
Center (center): Float | Image Range Max Value: Float | Width (alphaWidth): Float |
Center (alphaCenter): Float | Image Range Min Value: Float | |
Compute LUT Anew: Trigger | Image valid: Bool | |
Compute LUT on each image change: Bool | Relative: Bool | |
End (endColor): Color | Start (startColor): Color | |
End (alphaEnd): Float | Start (alphaStart): Float | |
Image Max Value: Float | Use relative LUT if no input image: Bool | |
Image Min Value: Float | Width (width): Float |
If checked, the generated LUT is relative, i.e. the index value interval [0..1] is rescaled to the true image value range before applying the LUT. If the LUT is absolute, on the other hand, the image values are used as index values directly, without rescaling.
Sets the center index value of the ramp, either as an absolute image value or relative to [0..1].
Sets the width value of the ramp, either as an absolute image value range or relative to [0..1].
Sets the color used for index values below the start of the ramp (i.e. index <= center-width/2).
Sets the color used for index values above the end of the ramp (i.e. index >= center+width/2).
Sets the center index value of the ramp, either as an absolute image value or relative to [0..1].
Sets the width value of the ramp, either as an absolute image value range or relative to [0..1].
Sets the alpha value used for index values below the start of the ramp (i.e. index <= center-width/2).
Sets the alpha value used for index values above the end of the ramp (i.e. index >= center+width/2).
Shows whether the attached image is valid (or if there is an image attached).
If checked, the module uses a relative LUT in [0..1] if no input image is attached.
If there was an input image attached and the module used an absolute LUT and the image is detached while this flag is checked, the module uses the same LUT as before just in relative bounds.
If checked, the module computes a default LUT on each update of the input image.
If pressed, the LUT is computed anew on base of the input image's DICOM tags.
The DICOM tags used to compute the LUT are: WindowCenter, WindowWidth, SlopeIntercept, and SlopeRescale.
Shows the input image's minimum value (or 0 if no image is attached).
Shows the input image's maximum value (or 1 if no image is attached).