08.01.2013 Views

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 25.2 P BP R<br />

components for SDTV<br />

Eq 25.2<br />

Eq 25.3<br />

+0.5<br />

R<br />

Yl<br />

-0.5 0<br />

G<br />

-0.5<br />

P R axis<br />

accompanying luma component. For Rec. 601 luma, the<br />

equations are these:<br />

05 .<br />

PB= ⎛ 601<br />

B'−Y'⎞ 1− 0. 114 ⎝ ⎠<br />

1<br />

= ⎛ 601<br />

B'− Y'⎞ 1. 772 ⎝ ⎠<br />

. ⎛ 601<br />

≈ 0 564 B'−Y'⎞ ⎝ ⎠<br />

05 .<br />

PR= ⎛ 601<br />

R'−Y'⎞ 1− 0. 299 ⎝ ⎠<br />

1<br />

= ⎛ 601<br />

R'− Y'⎞ 1. 402 ⎝ ⎠<br />

≈ 0. 713⎛<br />

601<br />

R'−Y'⎞ ⎝ ⎠<br />

These scale factors are chosen to limit the excursion of<br />

each color difference component to the range -0.5 to<br />

+0.5 with respect to unity luma excursion: 0.114 in the<br />

first expression above is the luma coefficient of blue,<br />

and 0.299 in the second is for red. Figure 25.2 above<br />

shows a plot of the [P B , P R ] plane.<br />

Expressed in matrix form, the B’-Y’ and R’-Y’ rows of<br />

Equation 25.1 are scaled by 0.5 ⁄0.886 and 0.5 ⁄0.701.<br />

To encode from R’G’B’ where reference black is zero<br />

and reference white is unity:<br />

The first row of Equation 25.3 comprises the luma coefficients;<br />

these sum to unity. The second and third rows<br />

each sum to zero, a necessity for color difference<br />

components. The two entries of 0.5 reflect the reference<br />

excursions of P B and P R, at the blue and red prima-<br />

304 DIGITAL VIDEO AND HDTV ALGORITHMS AND INTERFACES<br />

Cy<br />

Mg<br />

B<br />

+0.5<br />

P B axis<br />

⎡601<br />

Y'⎤⎡0.<br />

299 0. 587 0. 114 ⎤ ⎡R'⎤<br />

⎢ ⎥ ⎢<br />

⎥ ⎢ ⎥<br />

⎢ PB<br />

⎥ = ⎢−0.<br />

168736 −0.<br />

331264 0. 5 ⎥ • ⎢G'⎥<br />

⎢ ⎥<br />

P ⎢<br />

R 0. 5 0. 418688 0. 081312 B'<br />

⎣⎢<br />

⎦⎥<br />

⎣<br />

− − ⎥ ⎢ ⎥<br />

⎦ ⎣ ⎦

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!