This function changes the High Bit Data Element of the currently loaded DICOM 16-bit grayscale image.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI MED_IP_high_bit_transform( HIGEAR hIGear,
const LONG lMin);
|
Arguments:
hIGear | HIGEAR handle of the image. |
lMin | New High bit value. |
Return Value:
Returns the number of ImageGear errors that occurred during the function call.
Supported Raster Image Formats:
Grayscale – 9…16 bpp.
Remarks:
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.