Conversion.YPbPrToYCbCr

Static Method in Conversion

Declaration

public static YCbCr YPbPrToYCbCr(float Y, float Pb, float Pr)

Description

Converts Y′PbPr components to Y′CbCr components.

Parameters

YThe luma component of the color in the range [0..1].
PbThe blue-difference chroma component of the color in the range [-0.5..0.5].
PrThe red-difference chroma component of the color in the range [-0.5..0.5].

Returns

YCbCrThe converted Y′CbCr components.