31#include <frc/util/Color.h>
37 CIEColor(
double X,
double Y,
double Z) : X(X), Y(Y), Z(Z), mag(X + Y + Z) {}
44 double GetX() {
return X; }
51 double GetY() {
return Y; }
58 double GetZ() {
return Z; }
68 double GetYx() {
return X / mag; }
78 double GetYy() {
return Y / mag; }
83 static const double IlluminantD65[3];
84 static const double XYZtoRGB[9];
Definition: CIEColor.h:35
double GetYx()
Definition: CIEColor.h:68
double GetZ()
Definition: CIEColor.h:58
double GetY()
Definition: CIEColor.h:51
double GetX()
Definition: CIEColor.h:44
double GetYy()
Definition: CIEColor.h:78
CIEColor(double X, double Y, double Z)
Definition: CIEColor.h:37
Definition: SparkLowLevel.cpp:40