00001 #ifndef FCAM_COLOR_H 00002 #define FCAM_COLOR_H 00003 00011 namespace FCam { 00012 00014 extern const float RGBtoXYZ[9]; 00015 00021 int xyToCCT(float x, float y); 00022 00027 void kelvinToXY(int T, float *x, float *y); 00028 00030 void invert3x3(float *in, float *out); 00031 void invert3x3(double *in, double *out); 00032 00038 void colorMatrixInterpolate(const float *a, const float *b, float alpha, float *result); 00039 00040 } 00041 #endif