29
Filtering Separating what you want from what you have

Filtering Separating what you want from what you have

Embed Size (px)

Citation preview

Page 1: Filtering Separating what you want from what you have

FilteringSeparating what you want from what you have

Page 2: Filtering Separating what you want from what you have
Page 3: Filtering Separating what you want from what you have

 

Page 4: Filtering Separating what you want from what you have

Signals are all around us• Image, video, audio, radio, medical and musical signals…• These signals contain a lot of information

Page 5: Filtering Separating what you want from what you have

We can also filter signals

signal (we want)+

noise (we don’t)

FILTER

signal (we want)

Page 6: Filtering Separating what you want from what you have

Digital Filters

When an image is being processed by a computer/iPhone…

…we can filter it using computation(also known as digital signal processing or DSP)

1 0 0 1 0 1 0 0 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 0 1 0 10 0 0 1 0 1 0 0 1 0 1 0 1 0 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 0 1 0 10 0 1 0 1 0 1 0 1 0 0 1 0 1 0 1 0 1 0 0 0 0 1 1 1 1 1 0 0 0 0 1 10 1 1 1 1 0 0 0 0 1 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0 1 0 1 0 0 1 0 10 1 0 1 0 1 0 1 0 0 1 0 0 1 1 0 0 1 1 1 0 0 0 1 1 1 1 0 1 0 1 0 0

Page 7: Filtering Separating what you want from what you have

What can filtering achieve?Noise-cancelling headphones reduce unwanted ambient sounds (noise) by generating an antinoise sound wave to cancel the noise, letting just the music be heard

Page 8: Filtering Separating what you want from what you have

What can filtering achieve?

noisy image de-noised image

Page 9: Filtering Separating what you want from what you have

The concept of frequency

• Describes how quickly a signal moves

• Plays an important role in many types of filters

low frequency

high frequency

Page 10: Filtering Separating what you want from what you have

Frequency in music

Page 11: Filtering Separating what you want from what you have

middle C261.626 Hz

middle A440 Hz

Page 12: Filtering Separating what you want from what you have

Spectrum

Hz27.5

440261 4186

Page 13: Filtering Separating what you want from what you have

Spectrum of a “real-world” signal

Real-world signals can be thought of as combinations of different frequency components

Page 14: Filtering Separating what you want from what you have
Page 15: Filtering Separating what you want from what you have
Page 16: Filtering Separating what you want from what you have

Many filters act by keeping some frequencies (the ones we want)

and throwing away others (the ones we don’t)

Page 17: Filtering Separating what you want from what you have

Low-pass filter

Page 18: Filtering Separating what you want from what you have

Low-pass filter

Page 19: Filtering Separating what you want from what you have

Low-pass filter

Page 20: Filtering Separating what you want from what you have

High-pass filter

Page 21: Filtering Separating what you want from what you have

High-pass filter

Page 22: Filtering Separating what you want from what you have

High-pass filter

Page 23: Filtering Separating what you want from what you have

Band-pass filter

Page 24: Filtering Separating what you want from what you have

Band-pass filter

Page 25: Filtering Separating what you want from what you have

Band-pass filter

Page 26: Filtering Separating what you want from what you have

Notch filter

Page 27: Filtering Separating what you want from what you have

Notch filter

Page 28: Filtering Separating what you want from what you have

Notch filter

Page 29: Filtering Separating what you want from what you have

tinyurl.com/filterdemo