ImageGear Professional > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Image Processing Functions > MED_IP_high_bit_transform |
This function changes the High Bit Data Element of the currently loaded DICOM 16-bit grayscale image.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI MED_IP_high_bit_transform(
HIGEAR hIGear,
const LONG lMin
);
|
Name | Type | Description |
hIGear | HIGEAR | HIGEAR handle of the image. |
lMin | const LONG | New High bit value. |
Returns the number of ImageGear errors that occurred during the function call.
Grayscale – 9…16 bpp.
The 16-bits are shifted up or down as needed to accommodate the new High Bit value, and the High Bit Data Element is updated. Zeros are shifted in as needed.