Jan 13, 2015
2. Aliasing
Sampling Interval Actual (high-frequency) signal Sampled (aliased) signal 3.
Examples of Aliasing 4. Aliasing and Line Drawing
Sampling Interval Sampling Interval
5. Antialiasing Lines
6. Antialiasing Lines
7. Solution 1: Unweighted Area Sampling
Line One Pixel 8. Solution 2: Weighted Area Sampling
Line One Pixel 9. Solution 3:Gupta-Sproull algorithm
x p NE m Ex p+1 Line to draw v y p y p+1 D 10. Gupta-Sproull algorithm (cont)
a How does triangle abc compare to triangle ade? Dc = e, and a = a, so b must equal d b c d e dx dy v r r 11. Gupta-Sproull algorithm (cont)
a So: Db c d e dx dy v r r And: Then: 12. Gupta-Sproull algorithm(cont)
x p NE m Ex p+1 Line to draw v y p y p +1 D 13. Gupta-Sproull algorithm (cont)
x p NE m Ex p+1 Line to draw v y p y p+1 D 14. Gupta-Sproull algorithm (cont)
x p NE m Ex p+1 Line to draw v y p y p +1 D 15. Gupta-Sproull algorithm (cont)
16. Gupta-Sproull algorithm (cont)
17. Gupta-Sproull algorithm (cont)
18. Solution 4: Super-sampling
No antialiasing Antialiasing(2 2 super-sampling) 19. Solution 5: Sum of Foreground and Background
20. Polygon Antialiasing