LABToXYZ
open fun LABToXYZ(@FloatRange(from = 0.0, to = 100) l: Double, @FloatRange(from = "-128", to = 127) a: Double, @FloatRange(from = "-128", to = 127) b: Double, outXyz: @NonNull Array<Double>)(source)
Converts a color from CIE Lab to CIE XYZ representation.
The resulting XYZ representation will use the D65 illuminant and the CIE 2° Standard Observer (1931).
- outXyz[0] is X [0, 95.047)
- outXyz[1] is Y [0, 100)
- outXyz[2] is Z [0, 108.883)
Parameters
l
L component value [0, 100]
a
A component value [-128, 127)
b
B component value [-128, 127)
outXyz
3-element array which holds the resulting XYZ components