ImageGear for C and C++ on Linux v19.10 - Updated
MED_display_grayscale_LUT_build
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Display Functions > MED_display_grayscale_LUT_build
This function has been deprecated and will be removed from the public API in a future release. Use MED_display_grayscale_LUT_build_double instead.

This function fills a grayscale LUT according to lpDICOMDisplaySettings.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_display_grayscale_LUT_build(
        AT_MED_DCM_DISPLAY_SETTINGS* lpDICOMDisplaySettings,
        HIGLUT hLUT
);

Arguments:

Name Type Description
lpDICOMDisplaySettings AT_MED_DCM_DISPLAY_SETTINGS* AT_MED_DCM_DISPLAY_SETTINGS structure.
hLUT HIGLUT LUT handle.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The LUT must be created prior to calling this function. Use IG_LUT_create() to create a LUT.