Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Aliasing and Antialiasing: Understanding Errors and Artifacts in Rendering, Exams of Signals and Systems Theory

The concepts of aliasing and antialiasing in the context of computer graphics. Aliasing refers to errors and artifacts that arise during rendering due to the conversion from a continuously defined illumination field to a discrete raster grid of pixels. the effects of aliasing and discusses various techniques for reducing it, including prefiltering, postfiltering, unweighted area sampling, and weighted area sampling. It also explains the relationship between aliasing and sampling theory, and the importance of the Nyquist rate in avoiding aliasing.

What you will learn

  • What are the effects of aliasing?
  • What is aliasing in computer graphics?
  • What is the role of the Nyquist rate in avoiding aliasing?
  • How can aliasing be reduced using prefiltering?
  • What is the difference between unweighted and weighted area sampling?

Typology: Exams

2021/2022

Uploaded on 09/12/2022

ekavaria
ekavaria 🇺🇸

4.4

(38)

262 documents

1 / 11

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Aliasing and Antialiasing
ITCS 4120/5120 1Aliasing and Antialiasing
What is Aliasing?
“Errors and Artifacts arising during rendering, due to the conversion
from a continuously defined illumination field to a discrete raster
grid of pixels”
ITCS 4120/5120 2Aliasing and Antialiasing
What is Aliasing?
ITCS 4120/5120 3Aliasing and Antialiasing
What is Aliasing?
ITCS 4120/5120 4Aliasing and Antialiasing
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Aliasing and Antialiasing: Understanding Errors and Artifacts in Rendering and more Exams Signals and Systems Theory in PDF only on Docsity!

Aliasing and Antialiasing

Aliasing and Antialiasing

What is Aliasing?

“Errors and Artifacts arising during rendering, due to the conversionfrom a continuously defined illumination field to a discrete rastergrid of pixels” ITCS 4120/

What is Aliasing?

Aliasing and Antialiasing

What is Aliasing?

ITCS 4120/

What is Aliasing?

Aliasing and Antialiasing

Effects of Aliasing

ITCS 4120/

Effects of Aliasing

Aliasing and Antialiasing

Effects of Aliasing

ITCS 4120/

Area Sampling Techniques

Aliasing and Antialiasing

Area Sampling Techniques

ITCS 4120/

Area Sampling Techniques

Aliasing and Antialiasing

Area Sampling Techniques

ITCS 4120/

Unweighted Area Sampling

Pixel intensity is varied in proportion to the area of the pixel inter-cepted by the primitive.

Unweighted – equivalent to a box filter of unit height over pixel.

Properties^ 

Intensity of pixel decreases as the distance between the pixel centerand primitive increases.

A primitive cannot influence a pixel’s intensity if it does not intersectit.

Equal areas (intersected) contribute equal intensity – not a desirableproperty.

ITCS 4120/

Aliasing and Antialiasing

Weighted Area Sampling

Equal areas can contribute unequally in terms of pixel intensity.

Areas closer to the pixel center contribute more.

Essentially results in filtering with a mask that is centered over thepixel with decreasing radial influence.

Cone filters are a compromise between computational expense andoptimality.

ITCS 4120/

Postfiltering Techniques

ITCS 4120/

Aliasing and Antialiasing

Supersampling (Regular Sampling)

Very expensive.

Not very satisfactory.

ITCS 4120/

Filtering Example

Aliasing and Antialiasing

Filtering Example

ITCS 4120/

Filtering Example

Aliasing and Antialiasing

Aliasing from a Sampling Theory Viewpoint

Sampling(Spatial Domain) ITCS 4120/

Sampling(Spatial Domain)

Image is a spatial signal

ITCS 4120/

Aliasing and Antialiasing

Frequency Domain

X axis (position): frequency

Y axis (height): strength of each frequency

Examples:

sine wave:

impulse, square wave:

infinite train of im-

pulses

ITCS 4120/

How do we get to the Frequency Domain?

Use the Fourier Transform

Let

(x

)^

be a continuous function of a real variable

x

. Then

(x

)^

(x

)e

−j

2 πωx

dx

is the

Fourier Transform

of

(x

), with

j

and,

−^1

(x

)e

j^2

πωx

is the

Inverse Fourier Transform.

◦^

(x

)^

is continuous and integrable

◦^

)^

is integrable

◦^

x

(spatial domain),

(frequency domain)

ITCS 4120/

Aliasing and Antialiasing

What does the Fourier Transform Do to A

Spatial Signal?

Signal in frequency domain is an integration of individual sinusoids.

ITCS 4120/

Comb Function

Application:

Used to digitize continuous functions.

Series of impulses (delta functions)

Identity element of convolution: reproduces an indentical copy of thefunction f(x)

FT of a comb function is another comb function

ITCS 4120/

Aliasing and Antialiasing

Comb Function(contd)

Multiplying

f

(x

)^

with a comb in image space

convolving their

Fourier transforms, resulting in multiple identical copies of

f^

(x

Can result in aliasing if copies overlap

Maximum allowable frequency is the Nyquist Frequency, which ishalf the sampling frequency.

ITCS 4120/

Aliasing and Antialiasing

Reconstruction Example(Adequate Sampling) ITCS 4120/

Aliasing and Antialiasing

Reconstruction Example(Inadequate Sampling) ITCS 4120/

Aliasing and Antialiasing

Box Filter

Reconstruction filter for nearest neighbor interpolation.

Resampling images/volumes to a higher resolution using nearestneighbor values.

FT of a box filter is the Sinc function (

sinπxπx

Large side lobes continuing at regular intervals will cause aliasing.

Aliasing in images manifests itself as “jaggies”

Aliasing and Antialiasing

Pyramid Filter

Reconstruction filter used in linear interpolation

Computationally more expensive, but more accurate

FT is much better behaved (side lobes much smaller)

Less tendency to produce aliasing

ITCS 4120/

Aliasing and Antialiasing

Gaussian Filter

The optimal filter in terms of avodiding side lobes

FT of a Gaussian is another Gaussian

Widely used to blur images and the basis for scale space

Aliasing and Antialiasing