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
X | A mix of cone response curves chosen to be orthogonal to luminance and non-negative in the range [0..95.047]. |
Y | The luminance component of the color in the range [0..100]. |
Z | Somewhat equal to blue, or the "S" cone response in the range [0..108.883]. |
whitePoint | The reference white point. |
Returns
CIELAB | The converted CIE LAB components. |