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

This function creates a LUT object.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_LUT_create(
        AT_INT InputDepth, 
        AT_BOOL InputIsSigned, 
        AT_INT OutputDepth, 
        AT_BOOL OutputIsSigned,
        HIGLUT* lpLUT
);

Arguments:

Name Type Description
InputDepth AT_INT Input bit count of the LUT.
InputIsSigned AT_BOOL Shows whether input of the LUT is signed.
OutputDepth AT_INT Output bit count of the LUT.
OutputIsSigned AT_BOOL Shows whether output of the LUT is signed.
lpLUT HIGLUT* Handle of the created LUT object.

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:

This function does not process image pixels.

Sample:

Medical