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

This function concatenates two LUTs into one LUT.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_LUT_concatenate(
        HIGLUT SrcLUT1, 
        HIGLUT SrcLUT2, 
        HIGLUT* lpDstLUT
);

Arguments:

Name Type Description
SrcLUT1 HIGLUT First LUT to concatenate.
SrcLUT2 HIGLUT Second LUT to concatenate.
lpDstLUT HIGLUT* Returns concatenated LUT.

Return Value:

Returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Application of concatenated LUT to an image produces the same result as consequent application of the input LUTs.

Input depth of SrcLUT2 must be equal to output depth of SrcLUT1. If output of the SrcLUT1 is signed, input of SrcLUT2 must be signed; if output of the SrcLUT1 is unsigned, input of SrcLUT2 must be unsigned. Input depth of the result LUT will be equal to input depth of SrcLUT1; output depth of the result LUT will be equal to output depth of SrcLUT2.