Aliasing and Anti-Aliasing Flashcards
(12 cards)
How is aliasing caused?
Aliasing is caused by taking samples at too low a frequency?
What rate do we sample above to reconstruct a signal correctly?
The Nyquist rate, if the frequency of the signal is f, samples must be taken at least 2f
What happens to an image if it’s sampled more?
It becomes more accurate.
What is unweighted sampling?
We measure the area of coverage of the line of the pixel and set that percentage to the colour of the foreground over the background
What is the benefit of unweighted sampling?
Smooth transition from on to off
What is the disadvantage of unweighted sampling?
Hard to compute.
What is super-sampling?
More sampling per pixels. Samples are subdivided into sub-pixels and compared
What does super-sampling do for ray-tracing?
Trace more rays per pixel
What is the disadvantage of super-sampling?
More computation needed.
What is the advantage of super-sampling?
Better image quality
What is adaptive aliasing?
Find the pixels on edges and do more samples per pixel there instead of non-edges.
What is the process of adaptive super-sampling?
- Sample scene at each pixel corner
- If the 4 samples vary by more then the current threshold
-Take 5 more samples to create 4 subpixels - Recursively repeat this process on each of the subpixels until the samples are less than the current threshold or a limit has been reached
- Average all the samples for the anti-aliased result