MaxBit property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int MaxBit

Delphi Syntax

MaxBit:Integer

Overview

Refer to Examining and Altering Bitmaps.

Remarks

(Medical 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