Available in LEADTOOLS Medical Imaging toolkits. |
MaxBit property (Main Control)
Visual
Basic example
Visual
C++ 4.0 example
Access 2.0 example
Access
95, 97 example
Visual
J++ example
Syntax short MaxBit
Overview: Refer to Examining and Altering Bitmaps.
Remarks
(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