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 16.12 [1, 1] FIR<br />

filter sums two adjacent<br />

samples; this forms a simple<br />

lowpass filter. I’ll introduce<br />

the term FIR on page 157.<br />

Figure 16.13 [1, -1] FIR<br />

filter subtracts one sample<br />

from the previous sample;<br />

this forms a simple highpass<br />

filter.<br />

Figure 16.14 [1, 0, 1] FIR<br />

filter averages a sample and<br />

the second preceding<br />

sample, ignoring the sample<br />

in between; this forms<br />

a bandreject (“notch,” or<br />

“trap”) filter at 0.25 f S .<br />

Figure 16.15 [1, 0, -1] FIR<br />

filter subtracts one sample<br />

from the second previous<br />

sample, ignoring the sample<br />

in between; this forms<br />

a bandpass filter centered at<br />

0.25 f S .<br />

2<br />

1<br />

0<br />

0<br />

2<br />

1<br />

2<br />

1<br />

Frequency, ω, rad·s (=1·fS )<br />

-1<br />

π 2π<br />

0<br />

0 π<br />

Frequency, ω, rad·s<br />

2π<br />

-1<br />

2<br />

1<br />

0<br />

0 π<br />

Frequency, ω, rad·s<br />

2π<br />

-1<br />

0<br />

0 π<br />

Frequency, ω, rad·s<br />

2π<br />

-1<br />

Digital filters can be implemented in software, firmware,<br />

or hardware. At the right side of each graph<br />

above, I show the block diagrams familiar to hardware<br />

designers. Each block labelled R designates a register;<br />

a series of these elements forms a shift register.<br />

A simple highpass filter (HPF) is formed by subtracting<br />

each sample from the previous sample: This filter has<br />

weights [1, -1]. The response of this filter is graphed in<br />

Figure 16.13. In general, and in this case, a highpass<br />

CHAPTER 16 FILTERING AND SAMPLING 153<br />

IN<br />

IN<br />

IN<br />

R<br />

IN R<br />

R<br />

R<br />

R<br />

R<br />

+1<br />

+ 1<br />

1<br />

+1<br />

+1<br />

+ 1<br />

1<br />

+1<br />

OUT<br />

OUT<br />

OUT<br />

OUT

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

Saved successfully!

Ooh no, something went wrong!