ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_DCRaw_tone_LUT_build

Builds tone correction LUT.


Copy Code
        AT_INT ChannelDepth,
        AT_DOUBLE Exposure,
        AT_DOUBLE Shadows,
        HIGLUT* ToneLUT


Name Type Description
ChannelDepth AT_INT Bit depth of the LUT.
Shadows AT_DOUBLE Amount by which to move the black point.
Exposure AT_DOUBLE Exposure compensation, in f/stops.
ToneLUT HIGLUT* Returns new 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.


The LUT moves image's black point by 2^16 / 1000 * Shadows, and adjusts white point according to Exposure parameter. Exposure parameter is measured in f/stops and works similar to modifying the camera exposure.

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