Conversion.YPbPrToRGB
Static Method in Conversion
Declaration
public static Color YPbPrToRGB(float Y, float Pb, float Pr, SignalEncoding encoding = SignalEncoding.Rec709)Description
Converts Y′PbPr components to an RGB color.
Parameters
| Y | The luma component of the color in the range [0..1]. |
| Pb | The blue-difference chroma component of the color in the range [-0.5..0.5]. |
| Pr | The red-difference chroma component of the color in the range [-0.5..0.5]. |
| encoding | The encoding to use (default=Rec709). |
Returns
| Color | The converted RGB color. |