Conversion.YCbCrToRGB

Static Method in Conversion

Declaration

public static Color YCbCrToRGB(float Y, float Cb, float Cr, SignalEncoding encoding = SignalEncoding.Rec709)

Description

Converts Y′CbCr components to an RGB color.

Parameters

YThe luma component of the color in the full range [0..255].
CbThe blue-difference chroma component of the color in the full range [0..255].
CrThe red-difference chroma component of the color in the full range [0..255].
encodingThe encoding to use (default=Rec709).

Returns

ColorThe converted RGB color.