Conversion.YIQToRGB

Static Method in Conversion

Declaration

public static Color YIQToRGB(float Y, float I, float Q, SignalEncoding encoding = SignalEncoding.Rec709)

Description

Converts Y′IQ components to an RGB color.

Parameters

YThe luma component of the color in the range [0..1].
IThe orange-blue chroma component of the color in the range [-0.596..0.596].
QThe purple-green chroma component of the color in the range [-0.523..0.523].
encodingThe encoding to use (default=Rec709).

Returns

ColorThe converted RGB color.