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

RThe red component of the color in the range [0..1].
GThe green component of the color in the range [0..1].
BThe blue component of the color in the range [0..1].
whitePointThe reference white point.

Returns

CIELABThe converted CIE LAB components.