Conversion.RGBToLab
Static Method in Conversion
Declaration
public static CIELAB RGBToLab(float R, float G, float B, Tristimulus whitePoint)
Description
Converts RGB components to CIE LAB components.
Parameters
R | The red component of the color in the range [0..1]. |
G | The green component of the color in the range [0..1]. |
B | The blue component of the color in the range [0..1]. |
whitePoint | The reference white point. |
Returns
CIELAB | The converted CIE LAB components. |