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:
ChannelDepth | Bit depth of the LUT. |
Shadows | Amount by which to move the black point. |
Exposure | Exposure compensation, in f/stops. |
ToneLUT | 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.