Constructor and Description |
---|
CieUtil() |
Modifier and Type | Method and Description |
---|---|
static double[] |
xyToXyz(double x,
double y)
Calculates the XYZ coordinates for a given point (x,y) in the CIE
xy-color diagram.
|
static double[] |
xyToXyz(double x,
double y,
double Y) |
static double[] |
xyzToxy(double[] XYZ)
Calculates the (x, y) color diagram coordinates for XYZ color coordinates (X,Y,Z).
|
public CieUtil()
public static double[] xyToXyz(double x, double y)
x
- x-coordinatey
- y-coordinatepublic static double[] xyToXyz(double x, double y, double Y)
public static double[] xyzToxy(double[] XYZ)
XYZ
- the XYZ coordinateCopyright © 2006–2017, Wilhelm Burger, Mark J. Burge (BSD 2-Clause Simplified License)