Go to the documentation of this file.00001 #ifndef FCAM_COLOR_H
00002 #define FCAM_COLOR_H
00003
00011 namespace FCam {
00012
00014 const float RGBtoXYZ[9] = {
00015 0.4124564, 0.3575761, 0.1804375,
00016 0.2126729, 0.7151522, 0.0721750,
00017 0.0193339, 0.1191920, 0.9503041
00018 };
00019
00025 int xyToCCT(float x, float y);
00026
00031 void kelvinToXY(int T, float *x, float *y);
00032
00034 void invert3x3(float *in, float *out);
00035 void invert3x3(double *in, double *out);
00036
00042 void colorMatrixInterpolate(const float *a, const float *b, float alpha, float *result);
00043
00044 }
00045 #endif