ImageGear for C and C++ on Windows v20.0 - Updated
IG_image_grayscale_LUT_update_from
API Reference Guide > Core Component API Reference > Core Component Functions Reference > General Image Functions > IG_image_grayscale_LUT_update_from

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

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_grayscale_LUT_update_from(
        HIGEAR hIGear,
        HIGLUT lut
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle.
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++.

Currently, grayscale LUT is only taken into account for 2…16 bpp Grayscale images.

Sample:

Medical

Is this page helpful?
Yes No
Thanks for your feedback.