5
Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the maximum frequency of the signal. (Nyquist’s theorem) Due to limited resolution in the spatial (pixel-size) or colour domain, we are forced to under sample. This results in effects called aliasing.

Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the

Embed Size (px)

Citation preview

Page 1: Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the

Sampling theoremIn order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the maximum frequency of the signal. (Nyquist’s theorem)

Due to limited resolution in the spatial (pixel-size) or colour domain, we are forced to under sample. This results in effects called aliasing.

Page 2: Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the

Anti-aliasingTo reduce the effect of aliasing various anti-aliasing techniques can be applied. Some examples are:

•Low-pass filtering (poor mans anti-aliasing)•Area-sampling (colour proportional to area)•Super-sampling (more samples than pixels)•Dithering (anti-aliasing in the colour domain)

Page 3: Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the

Area-samplingIntensity proportional to the area covered by the object.

Simplified version: Intensity proportional to (1-distance to pixel)

Page 4: Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the

Super-samplingNormal rasterisation, in a frame-buffer of higher resolution than the screen. Average the intensity of the covered sub-pixels when setting the real pixel value.

6/9 green + 3/9 white

Page 5: Sampling theorem In order to accurately reconstruct a signal from a periodically sampled version of it, the sampling frequency must be at least twice the

Anti-aliasing solves the problem of sliveras well as the problem of shared vertices.

Sliver