Docsity

aliasing in computer grapics, Lecture notes of Computer Graphics

Toggle sidebar
bg1
17-Jul-01 240-422 Computer Graphics : Antialiasing 1/8
Aliasing and Anti-aliasing
•What is aliasing?
–Aliasing is a phenomenon that occurs when
sampling a continuous function with
insufficient resolution
•What is antialiasing?
–Antialiasing is the application of techniques
that reduce or eliminate aliasing
•Why is it necessary?
–To make the graphics look more realistic
•How is it performed?
–We’ll see
pf3
pf4
pf5
pf8

Partial preview of the text

Download aliasing in computer grapics and more Lecture notes Computer Graphics in PDF only on Docsity!

Aliasing and Anti-aliasing

  • What is aliasing?
    • Aliasing is a phenomenon that occurs when sampling a continuous function with insufficient resolution
  • What is antialiasing?
    • Antialiasing is the application of techniques that reduce or eliminate aliasing
  • Why is it necessary?
    • To make the graphics look more realistic
  • How is it performed?
    • We’ll see

Antialiasing: Increasing Resolution

  • Doubling resolution in x and y
  • This method only lessens the problem
  • Costs 4 times memory, memory bandwidth and scan conversion time

Antialiasing: Unweighted Area

Sampling (2/3)

  • Set each pixel’s intensity value proportional to its area of overlap covered by primitive
  • Note more than one pixel/column for lines of 0<slope<
  • This is a form of unweighted area sampling - the further pixel center is from the line, the less influent it has - only pixels covered by primitive can contribute - only amount of area of overlap matters, regardless of distance of area of overlap from pixel’s center

Antialiasing: Unweighted Area

Sampling (3/3)

Cone Filter for Weighted Area

Sampling (1/2)

  • We change to circular pixel; we set cone’s diameter to 2 pixel units
  • dA has greater weight if closer to center of pixel
  • Normalize so that volume=1, sub volume is conical wedge

Cone Filter for Weighted Area

Sampling (2/2)

  • 2 unit support implies up to 3 pixels/column
  • Gupta-Sproull algorithm provides fast anti-aliased lines via table look-up