LevelLowBit property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int LevelLowBit

Delphi Syntax

LevelLowBit:Integer

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Medical only) Sets the value of the lowest bit considered as image data when painting a 12 or 16-bit grayscale image. Valid values are : 0 <= LevelLowBit <= LevelHighBit property. For example, to specify that only the high (most significant) 8 bits of a 16-bit grayscale image are considered part of the image, set Level LowBit property to 8 and LevelHighBit property to 15 (not 16! 15 - 8 + 1 = 8 bits). To consider only the lowest 8 bits, set LevelLowBit to 0 and LevelHighBit to 7 (not 8!).

This property does not change the image data, only the way it is painted. Set the WindowLevelBitmap property to TRUE and call the WindowLevel method to change the image data to match the display image.

See Also

Elements:

WindowLevel method, LevelHighBit property

Topics:

Raster Images: Palettes