Image Processing Reference
In-Depth Information
The conversion from YC
b
C
r
to RGB is found by inserting the same weights into
Eqs.
F.11
,
F.12
, and
F.13
:
⎡
⎤
⎡
⎤
⎡
⎤
R
G
B
1
.
000
0
.
000
1
.
403
Y
C
b
−
R
∈[
0
,
255
]
⎣
⎦
=
⎣
⎦
·
⎣
⎦
1
.
000
−
0
.
344
−
0
.
714
128
G
∈[
0
,
255
]
1
.
000
1
.
773
0
.
000
C
r
−
128
B
∈[
0
,
255
]
(F.16)
Note that 128 is added/subtracted in order to bring the values into the range
[
0
,
255
]
.