ImageGear for C and C++ on Windows v19.5 - Updated
IG_LUT_item_set
API Reference Guide > Core Component API Reference > Core Component Functions Reference > LUT Functions > IG_LUT_item_set

This function sets the LUT item.

Declaration:

 
Copy Code
AT_VOID ACCUAPI IG_LUT_item_set(
        HIGLUT lut, 
        AT_INT32 index, 
        AT_INT value
);

Arguments:

Name Type Description
lut HIGLUT LUT handle.
index AT_INT32 Index of the item.
value AT_INT Value of the item.

Return Value:

None

Supported Raster Image Formats:

This function does not process image pixels.

Sample:

None

Remarks:

If LUT input is unsigned, valid values for index are in range [0, 2^InputDepth-1].

If LUT input is signed, valid values for index are in range [-2^(InputDepth-1), 2^(InputDepth-1)-1].