ImageGear Professional DLL v17.1 for Windows Accusoft
MED_IP_high_bit_transform
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > MD Component API Reference > MD Component Functions Reference > Image Processing Functions > MED_IP_high_bit_transform

Glossary Item Box

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.

©2012. Accusoft Corporation. All Rights Reserved.