08.01.2013 Views

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Averaging neighboring samples<br />

is the simplest form of moving<br />

average (MA) filter.<br />

0 1 t 0 2π<br />

0 1 t 0 2π<br />

0 1 t 0 2π<br />

Figure 16.10 Waveforms of three temporal extents are shown on the left; the corresponding<br />

transforms are shown on the right. Spectral width is inversely proportional to temporal extent, not<br />

only for the Gaussians shown here, but for all waveforms.<br />

ones that I have been describing are implemented digitally<br />

by computing weighted sums of samples.<br />

Perhaps the simplest digital filter is one that just sums<br />

adjacent samples; the weights in this case are [1, 1].<br />

Figure 16.12 on the facing page shows the frequency<br />

response of such a [1, 1] filter. This filter offers minimal<br />

attenuation to very low frequencies; as signal frequency<br />

approaches half the sampling rate, the response follows<br />

a cosine curve to zero. This is a very simple, very cheap<br />

lowpass filter (LPF).<br />

I have drawn in gray the filter’s response from 0.5f S to<br />

the sampling frequency. In a digital filter, frequencies in<br />

this region are indistinguishable from frequencies<br />

between 0.5f S and 0. The gain of this filter at zero<br />

frequency (DC) is 2, the sum of its coefficients.<br />

Normally, the coefficients of such a filter are normalized<br />

to sum to unity, so that the overall DC gain of the<br />

filter is one. In this case the normalized coefficients<br />

would be [ 1 ⁄2, - 1 ⁄2]. However, it is inconvenient to call<br />

this a [ 1 ⁄2, - 1 ⁄2]-filter; colloquially, this is a [1, 1]-filter.<br />

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

ω<br />

ω<br />

ω

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

Saved successfully!

Ooh no, something went wrong!