Lecture 17/18 Sampling Theory/2D Curves Flashcards
What is sampling?
Sampling: capturing the value of a function at specific points
What are examples of regular sampling?
1D: digitised music
2D: digitized pictures
3D: voxel volumes
4D: video (3 space + 1 time)
What are examples of Irregular sampling
1D: Gieger counters, buses
2D: cities on a map
3D: bees in a swarm
ND: lots of data!
How can the original continuous function be RECONSTRUCTED from samples?
Want to reconstruct the original continuous signal from samples.
This is done using convolution, here a linear kernel is used.
What are the issues that might occur when reconstructing a continuous function from samples?
Aliasing in terms of frequency is caused as follows:
Aliasing is caused by using low sampling frequency to sample a high-frequency function.
Aliasing can effect all signals
Visualise spatial and temporal aliasing
What is the The Nyquist Limit?
What is the Nyquist–Shannon sampling theorem?
What function kernel is needed for the sampling theorem to be obeyed?
If the sampling theorem is obeyed,it is possible to reconstruct the continuous signal exactly from its discrete samples.
A sinc function kernel is needed sinc(x) = sin(px)/ (px)
How can aliasing be avoided?
Two things:
Low pass filter
+ This removes troublesome high frequency components
- But blurs the signal
Add noise !!
+ Used in ray-tracing and other areas of graphics
- Possibly counter intuitive
~ Basic idea is to “scramble” the picture just a little, so it looks less regular
How can aliasing be removed by sample rate alteration?
Naïve downsampling causes overlapping (aliased) spectra
Higher sample rates move overlapping spectra further apart in frequency domain, thus reducing aliasing
…eventually overlap doesn’t matter
How to remove aliasing if the sample size cannot be altered?
remove high frequencies in spectrum
i.e. low-pass filter signal
e.g. Gaussian blur
How does a low pass filter remove aliasing?
overlapping spectra without filtering:
- low-pass filter can narrow the spectrum enough to eliminate overlap
- produces a well-sampled representation of the filtered signal
Avoids aliasing artefacts, but loses high frequencies