ImageGear Professional for Linux
MED_IP_high_bit_transform

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:

Name Type Description
hIGear HIGEAR HIGEAR handle of the image.
lMin const LONG 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.

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback