ImageGear Professional DLL v18.1 for Windows
MED_IP_high_bit_transform
Send Feedback
ImageGear Professional v18.1 > 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:

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.

©2014. Accusoft Corporation. All Rights Reserved.