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.

XYZ<br />

or R 1G 1B 1<br />

TRISTIMULUS 3×3<br />

(“LINEAR MATRIX”)<br />

-1<br />

[T<br />

1 ]<br />

I use T 1 -1 to denote the encoding<br />

“linear matrix,” to conform to the<br />

notation of Luminance coefficients,<br />

on page 250.<br />

RGB<br />

TRANSFER<br />

FUNCTION<br />

γ E ≈0.5<br />

NONLINEAR<br />

3×3<br />

[ P ]<br />

CHROMA<br />

SUBSAMPLING<br />

R’G’B’ Y’CBCR Y’CBCR<br />

e.g., 4:2:2<br />

Figure 24.7 Luma/color difference encoder. involves the four stages summarized in this block<br />

diagram. First, linear-light (tristimulus) input signals are transformed through the “linear” matrix<br />

T 1 -1 to produce RGB coded to the interchange primaries. Gamma correction is then applied. The<br />

matrix P then produces luma and two color differences. The color difference (chroma) signals are<br />

then subsampled; luma undergoes a compensating delay.<br />

Interchange primaries are also<br />

called transmission primaries.<br />

necessary to insert a 3×3 matrix that transforms from<br />

the interchange primaries to the image display primaries.<br />

(See page 252.)<br />

Figure 24.7 above summarizes luma/color difference<br />

encoding. If image data originated in linear XYZ components,<br />

a 3×3 matrix transform (T 1 -1 ) would be applied to<br />

obtain linear RGB having chromaticities and white reference<br />

of the interchange primaries. For Rec. 709 interchange<br />

primaries standard for SDTV and HDTV, the<br />

matrix would be that of Equation 22.9, on page 251.<br />

More typically, image data originates in some devicedependent<br />

space that I denote R 1 G 1 B 1 , and the 3×3<br />

“linear matrix” transform (T 1 -1 ) is determined by the<br />

camera designer. See the sequence of Figures 22.3<br />

through 22.8, starting on page 244, and the accompanying<br />

text and captions, to gain an appreciation for how<br />

such a matrix might be crafted. Practical cameras do not<br />

have spectral sensitivities that are linear combinations<br />

of the CIE color matching functions, so they are not<br />

properly characterized by chromaticities. Nonetheless,<br />

once a linear matrix to a set of interchange primaries<br />

has been chosen, Equation 22.10 can be used to derive<br />

equivalent sensor primaries (the “taking primaries”).<br />

Once the linear matrix has been applied, each of the<br />

components is subject to a nonlinear transfer function<br />

(gamma correction) that produces nonlinear R’G’B’.<br />

These components are transformed through a 3×3<br />

294 DIGITAL VIDEO AND HDTV ALGORITHMS AND INTERFACES

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

Saved successfully!

Ooh no, something went wrong!