Converts color temperature structure to XY coordinates of the corresponding white point.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_color_temperature_convert_to_xy(
const AT_COLOR_TEMPERATURE* lpColorTemperature
AT_DPOINT* lpWhiteXY,
);
|
Name | Type | Description |
---|---|---|
lpColorTemperature | const AT_COLOR_TEMPERATURE* | Color temperature structure. |
lpWhiteXY | AT_DPOINT* | Coordinates of a white point to be calculated. |
Returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
Setting a greater temperature for an image results in more yellow color; lower temperature results in more blue color. Useful range for Temperature is between 2000 and 10000.
Setting a greater tint value for an image results in a more magenta color; lower tint values result in greener color. Useful range for Tint is between -50 and 50.