ITU-R BT.601(用于标清电视)
' ~' L3 a. y+ W4 SRGB → YCbCr
2 p( d4 n h! g, A u+ E3 D3 WY = 0.29900 × R + 0.58700 × G + 0.11400 × B8 d* C4 A9 }7 y, v7 \" {
Cb = -0.16874 × R - 0.33126 × G + 0.50000 × B
) o& {- \3 ?- ]Cr = 0.50000 × R - 0.41869 × G - 0.081 × B
& v3 y" I, [( `1 jYCbCr → RGB8 s6 `) Z6 G+ n9 a! S' D
R = Y + 1.40 200 × Cr, u! ^. q6 e V# z- |
G = Y - 0.34414 × Cb - 0.71414 × Cr
4 O6 }/ n6 x' E$ J$ p2 R7 I. w& J# UB = Y + 1.77200 × Cb
5 d) w9 H9 O8 r) l: c0 tITU-R BT.709(用于高清电视)
0 U* Q3 l9 {+ W* L& C' V; RRGB → YPbPr
7 ?) k, ]3 r1 t0 u) VY = 0.2126 × R + 0.7152 × G + 0.0722 × B
$ ~ E$ @8 Q1 G! h# n. j% `5 ?Pb = -0.1146 × R - 0.3854 × G + 0.5000 × B
1 C* z8 L- }7 mPr = 0.50000 × R - 0.4542 × G - 0.0458 × B
3 n m( |6 `; t- ?. O* H$ sYPbPr → RGB4 f# M4 C) E q5 h4 }
R = Y + 1.5748 × Pr) r. K9 _* X; Q) y6 J v
G = Y - 0.1873 × Pb - 0.4681 × Pr: y5 L$ U" h1 U9 o/ n2 H8 P
B = Y + 1.8556 × Pb |