Conversion.RGBToUVW

Static Method in Conversion

Declaration

public static CIEUVW RGBToUVW(float R, float G, float B, Tristimulus whitePoint)

Description

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

CIEUVWThe converted CIE UVW components.