MaxBit property (ILEADRaster)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short MaxBit

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Document/Medical Imaging only) (Read Only) Gets the maximum bit value of the pixels in the image. For example, in a 12-bit grayscale image MaxBit would be <= 11 and MinBit would be >= 0. This value is not affected by LevelLowBit property or LevelHighBit property.

This value is only valid after calling GetMinMaxBits method.

The MinBit, MaxBit, MinVal and MaxVal values are useful for setting up the LevelLUT property for remapping to a user palette.

See Also

Elements:

GetMinMaxBits method, MinBit property, LevelLowBit property, LevelHighBit property, WindowLevel method, MinVal, MaxVal

Topics:

Raster Images: Palettes