ImageGear for C and C++ on Windows v19.10 - Updated
MED_display_grayscale_LUT_build_double
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Display Functions > MED_display_grayscale_LUT_build_double

This function fills a grayscale LUT according to lpDICOMDisplaySettings.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI MED_display_grayscale_LUT_build_double(
        AT_MED_DCM_DISPLAY_SETTINGS_DOUBLE* lpDICOMDisplaySettings,
        HIGLUT hLUT
);

Arguments:

Name Type Description
lpDICOMDisplaySettings AT_MED_DCM_DISPLAY_SETTINGS_DOUBLE* AT_MED_DCM_DISPLAY_SETTINGS_DOUBLE 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.