Builds tone correction LUT.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_IP_DCRaw_tone_LUT_build ( 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. |
Returns the number of ImageGear errors that occurred during this function call.
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.