ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Core Component API Reference / Core Component Functions Reference / General Image Functions / IG_image_grayscale_LUT_update_from
In This Topic
    IG_image_grayscale_LUT_update_from
    In This Topic

    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