Convert CIEXYZ to RGB
Description
X
, Y
, and Z
specify the values in the three coordinates of the CIEXYZ color space, XN
, YN
, and ZN
allow to specify additional CIE chromaticities to specify a specific white point.
Usage
colorlib.XYZ_to_RGB(X, Y, Z, XN=None, YN=None,
ZN=None)
Arguments
-
X
numpy.ndarray
-
Values for the
X
dimension. -
Y
numpy.ndarray
-
Values for the
Y
dimension. -
Z
numpy.ndarray
-
Values for the
Z
dimension. -
XN
None, numpy.ndarray
-
Chromaticity of the white point. If of length
1
, the white point specification will be recycled if needed. When not specified (allNone
) a default white point is used. -
YN
-
See
XN
. -
ZN
-
See
XN
.
Return
list
: Returns corresponding coordinates as a list of numpy.ndarray
s of the same length as the inputs ([R, G, B]
).