Conversion.XYZToLab

Static Method in Conversion

Declaration

public static CIELAB XYZToLab(float X, float Y, float Z, Tristimulus whitePoint)

Description

Converts CIE XYZ components to CIE LAB components.

Parameters

XA mix of cone response curves chosen to be orthogonal to luminance and non-negative in the range [0..95.047].
YThe luminance component of the color in the range [0..100].
ZSomewhat equal to blue, or the "S" cone response in the range [0..108.883].
whitePointThe reference white point.

Returns

CIELABThe converted CIE LAB components.