Conversion.RGBToLCh_ab

Static Method in Conversion

Declaration

public static CIELCh_ab RGBToLCh_ab(float R, float G, float B, Tristimulus whitePoint)

Description

Converts RGB components to CIE LCh(ab) 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

CIELCh_abThe converted CIE LCh(ab) components.