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.

I write resampling ratios in the<br />

form input samples:output samples.<br />

With my convention, a ratio less<br />

than unity is upsampling.<br />

Upsampling produces more result samples than input<br />

samples. In audio, new samples can be estimated at<br />

a higher rate than the input, for example when digital<br />

audio sampled at 44.1 kHz is converted to the 48 kHz<br />

professional rate used with video. In video, upsampling<br />

is required in the spatial upconversion from 1280×720<br />

HDTV to 1920×1080 HDTV: 1280 samples in each<br />

input line must be converted to 1920 samples in the<br />

output, an upsampling ratio of 2:3.<br />

One way to accomplish upsampling by an integer ratio<br />

of 1: n is to interpose n-1 zero samples between each<br />

pair of input samples. This causes the spectrum of the<br />

original signal to repeat at multiples of the original<br />

sampling rate. The repeated spectra are called “images.”<br />

(This is a historical term stemming from radio; it has<br />

nothing to do with pictures!) These “images” are then<br />

eliminated (or at least attenuated) by an anti-imaging<br />

lowpass filter. In some upsampling structures, such as<br />

the Langrange interpolator that I will describe later in<br />

this chapter, filtering and upsampling are intertwined.<br />

Downsampling produces fewer result samples than<br />

input samples. In audio, new samples can be created at<br />

a lower rate than the input. In video, downsampling is<br />

required when converting 4f SC NTSC digital video to<br />

Rec. 601 (”4:2:2“) digital video: 910 samples in each<br />

input line must be converted to 858 samples in the<br />

output, a downsampling ratio of 35:33; for each 35<br />

input samples, 33 output samples are produced.<br />

In an original sample sequence, signal content from DC<br />

to nearly 0.5 f S can be represented. After downsampling,<br />

though, the new sample rate may be lower than<br />

that required by the signal bandwidth. After downsampling,<br />

meaningful signal content is limited by the<br />

Nyquist criterion at the new sampling rate – for<br />

example, after 4:1 downsampling, signal content is<br />

limited to 1 ⁄ 8 of the original sampling rate. To avoid the<br />

introduction of aliases, lowpass filtering is necessary<br />

prior to, or in conjunction with, downsampling. The<br />

corner frequency depends upon the downsampling<br />

ratio; for example, a 4:1 ratio requires a corner less than<br />

0.125 f S. Downsampling with an integer ratio of n:1<br />

172 DIGITAL VIDEO AND HDTV ALGORITHMS AND INTERFACES

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

Saved successfully!

Ooh no, something went wrong!