ImageGear Professional DLL v18.1 for Windows
IG_IP_DCRaw_tone_LUT_build
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Processing Functions > IG_IP_DCRaw_tone_LUT_build

Glossary Item Box

Builds tone correction LUT.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_IP_DCRaw_tone_LUT_build (
        AT_INT ChannelDepth,
        AT_DOUBLE Exposure,
        AT_DOUBLE Shadows,
        HIGLUT* ToneLUT
);

Arguments:

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.

Remarks:

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.

©2014. Accusoft Corporation. All Rights Reserved.