Assorted color manipulation utilities. More...
Go to the source code of this file.
Namespaces | |
namespace | FCam |
Main namespace for the API. | |
Functions | |
int | FCam::xyToCCT (float x, float y) |
CIE 1931 x,y to correlated color temperature approximation function. | |
void | FCam::kelvinToXY (int T, float *x, float *y) |
Blackbody radiator color temperature to CIE 1931 x,y chromaticity approximation function. | |
void | FCam::invert3x3 (float *in, float *out) |
3x3 matrix inverse. | |
void | FCam::colorMatrixInterpolate (const float *a, const float *b, float alpha, float *result) |
Linearly interpolates two 3x4 color matrices a and b using interpolant alpha. | |
Variables | |
const float | FCam::RGBtoXYZ [9] |
3x3 conversion matrix from linear sRGB to CIE XYZ |
Assorted color manipulation utilities.
This file declares several functions to manipulate color temperatures and color conversion matrices.
Definition in file Color.h.