Aliasing and Antialiasing in Computer Graphics

antialiasing n.w
1 / 33
Embed
Share

Discover the visual artifacts of aliasing such as jagged lines, missed details, and strobing, and learn ways to fix aliasing through antialiasing techniques. Dive into sampling theory to understand signal reconstruction based on Shannon's theory.

  • Aliasing
  • Antialiasing
  • Computer Graphics
  • Sampling Theory
  • Visual Artifacts

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Antialiasing CMSC 435/634

  2. Original Scene Luminosity

  3. Pixel Sampling Samples

  4. Displayed Image Luminosity

  5. What went wrong?

  6. Aliasing Visual artifacts Jagged lines and edges High frequencies appearing as low Small objects missed Texture distortions Strobing and popping Backward movement

  7. Jagged Lines

  8. Jagged Edges

  9. Frequency Aliasing

  10. Missed Detail

  11. Missed Detail

  12. Strobing/Popping

  13. How might you fix aliasing?

  14. Sampling Theory Shannon s sampling theory (1D): A band limited signal f(t) with cut off frequency wF may be perfectly reconstructed from its samples f(nT0) if 2 /T0 >= 2wF wF == Nyquist limit Alternatively: a signal can be reconstructed exactly from samples only if the highest frequency is less than half the sampling rate

  15. Sampling a Sine Wave

  16. What Will Alias? Plot based on frequency Like audio equalizer Fourier transform

  17. What Will Alias? Sampling replicates spectrum in a grid Aliasing when they overlap

  18. How to Fix It? Filter Blur away high frequency before you sample Chops off overlapping parts before you replicate Blur is better than aliasing

  19. Filters 24

  20. Using a Filter to Compute Pixel Color 25

  21. Analytic Area Sampling Compute area of pixel covered Box in spatial domain Nice finite kernel easy to compute sinc (sin(x)/x) in freq domain Plenty of high freq Still aliases

  22. Supersampling Numeric integration of filter Grid with equal weight = box filter Push up Nyquist frequency Edges: frequency, still alias Other filters: Grid with unequal weights Priority sampling

  23. Adaptive sampling Vary numerical integration step More samples in high contrast areas Easy with ray tracing, harder for others Possible bias

  24. Stochastic sampling Monte-Carlo integration of filter Sample distribution Poisson disk Jittered grid Aliasing Noise

  25. No Antialiasing 30

  26. With Antialiasing 31

  27. With Antialiasing 32

  28. With Antialiasing 33

More Related Content