additional material on digitization: aliasing by rick pitchford

11
Additional Material on Digitization: Aliasing By Rick Pitchford

Upload: maude-freeman

Post on 25-Dec-2015

222 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Additional Material on Digitization: Aliasing By Rick Pitchford

Additional Material on Digitization: Aliasing

By Rick Pitchford

Page 2: Additional Material on Digitization: Aliasing By Rick Pitchford

The Nyquist Theorem:

1 2 3 4 5 6 7 8 9 10 11 12 13 14

A

m

p

l

i

t

u

de

A signal must be sampled at a rate more than twice its frequency - more than two samples per cycle. Why? If sampled at exactly twice the signal’s frequency, the data becomes indeterminate.

Time

140

130

120

110

100

90

80

70

60

50

40

30

20

10

83

42

57

98

70

Page 3: Additional Material on Digitization: Aliasing By Rick Pitchford

1 2 3 4 5 6 7 8 9 10 11 12 13 14

14

13

12

11

10

9

8

7

6

5

4

3

2

1Time

A

m

p

l

i

t

u

de

At frequencies greater than half the sampling rate - less than two samples per cycle - aliases are formed. Aliases are reconstructed analog signals that didn’t exist in the original.

Nyquist Theorum:

Page 4: Additional Material on Digitization: Aliasing By Rick Pitchford

1 2 3 4 5 6 7 8 9 10 11 12 13 14

14

13

12

11

10

9

8

7

6

5

4

3

2

1Time

A

m

p

l

i

t

u

de

In order to prevent aliases, analog signals are run through very steep low-pass anti-aliasing filters to eliminate the signals at and above one half the sampling frequency.

Nyquist Theorum:

Page 5: Additional Material on Digitization: Aliasing By Rick Pitchford

CCD and CMOS camera pickups are analog devices - each photo site generates a continuously varying signal - but are sampled spatially by the nature of their row and column layout.

To eliminate spatial aliases from fine detail, all chip cameras use a fog-type anti-aliasing filter to limit the high frequency details passing through the lens and onto the transducer surface.

DSLRs subsample their imagers, using only every fourth or fifth row and column to produce HD video but only have an anti-alias filter designed for full-resolution still images, causing moiré patterns.

CCDs - Sampled Analog:

Page 6: Additional Material on Digitization: Aliasing By Rick Pitchford

images from www.bealecorner.org/red/test-patterns/ and the Great Camera Shootout 2011, Pt 2

DSLR Spatial Aliasing:

Page 7: Additional Material on Digitization: Aliasing By Rick Pitchford

video from B+U Steinmueller and nofilmschool.com

This is from footage shot with a Canon T2i, but any DSLRs without an anti-aliasing filter specifically for the version of HD video being shot will show the same type of artifacts on the roof.

Spatial Aliasing in the Wild:

Page 8: Additional Material on Digitization: Aliasing By Rick Pitchford

video from http://www.cinema5d.com/news/?p=11684

An Aftermarket Anti-aliasing Filter:

1080p/24

Page 9: Additional Material on Digitization: Aliasing By Rick Pitchford

Clip from Mitsubishi Motor Corp at http://www.youtube.com/watch?v=5wcQjvi9J38

Film is also a sampled system, using a rate of 24 frames per second.

Low frame rates cause artifacts in rapid camera movements plus the infamous“reverse rotating wheel spokes” seen in many car commercials and westerns Increasing the frame rate will allow faster moves and rotation before aliases appear.

Frames and Temporal Aliasing:

Page 10: Additional Material on Digitization: Aliasing By Rick Pitchford

analog in

Block Diagram of a “Typical” Digital Device:

analog out

anti-aliasing filter & level control

A/D

Processing/ Storage

D/A

smoothingfilter

based on diagram from Broadcast Engineering, May, 2004

The input is low-pass filtered to remove frequencies at or above 1/2 sampling rate; levels are constrained to match the limitations of the quantization stage.

The analog signal is sampled and quantized.

The data is converted back to analog form.

The desired process is performed or the data stored.

The reconstructed analog signal is low-pass filtered to round out waveforms.

Page 11: Additional Material on Digitization: Aliasing By Rick Pitchford

end