LevelLUT property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

Graphics::TColor LevelLUT [int n]

Delphi Syntax

LevelLUT [n:Integer]:TColor

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Document/Medical only) Gets or sets a color stored in the Window Level Lookup Table (LUT). The LUT specifies a remapping palette that can be used to change the color of every pixel painted on the screen. For each pixel, LevelLowBit property and LevelHighBit property are used to generate a value between 0 and LevelLUTLength - 1. This value is used as an index into the LevelLUT palette to obtain the corresponding color. By default the interval 0 to LevelLUTLength - 1 is remapped to 0 to 255 and the corresponding gray value is used.

See Also

Elements:

LevelLowBit property, LevelHighBit property, LevelLUTLength property, WindowLevel method

Topics:

Raster Images: Palettes