ImageGear for C and C++ on Windows v19.6 - Updated
IG_dspl_grayscale_LUT_update_from
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_dspl_grayscale_LUT_update_from

This function updates (creates if not present) a grayscale LUT for the image display.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_dspl_grayscale_LUT_update_from(
        HIGEAR hIGear,
        DWORD dwGrpID,
        HIGLUT lut
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle.
dwGrpID DWORD Display group ID.
lut HIGLUT LUT handle.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Sample:

Medical