Conversion.RGBToLuv

Static Method in Conversion

Declaration

public static CIELUV RGBToLuv(float R, float G, float B, Tristimulus whitePoint)

Description

Converts RGB components to CIE LUV 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

CIELUVThe converted CIE LUV components.