






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Various topics in advanced computer graphics, including pixels, aliasing, sampling and reconstruction, filters, and anti-aliasing for texture maps. The concepts of pixels, aliasing, and sampling density, and discusses the importance of fourier analysis and convolution in computer graphics. It also explores different types of filters, such as pre-filtering and post-filtering, and their impact on image quality.
Typology: Study notes
1 / 10
This page cannot be seen from the preview
Don't miss anything!







CSCI-6962 Advanced Computer Graphics Cutler
CSCI-6962 Advanced Computer Graphics Cutler
CSCI-6962 Advanced Computer Graphics Cutler
CSCI-6962 Advanced Computer Graphics Cutler
CSCI-6962 Advanced Computer Graphics Cutler
CSCI-6962 Advanced Computer Graphics Cutler
yet everything in a computer is discrete
to a discrete one is called sampling
to a discrete one is called quantization
we must both sample and quantize
CSCI-6962 Advanced Computer Graphics Cutler
An Image is a 2D Function
cannot be represented
as a continuous,
analytic function.
images as tabulated
functions.
this table?
CSCI-6962 Advanced Computer Graphics Cutler
Sampling Grid
image function by a sampling grid of Kronecker delta functions.
CSCI-6962 Advanced Computer Graphics Cutler
Sampling an Image
CSCI-6962 Advanced Computer Graphics Cutler
Questions?
CSCI-6962 Advanced Computer Graphics Cutler
Today
CSCI-6962 Advanced Computer Graphics Cutler
Examples of Aliasing
reconstruction
CSCI-6962 Advanced Computer Graphics Cutler
Sampling Density
mistaken for something simpler during reconstruction
(that's aliasing!)
CSCI-6962 Advanced Computer Graphics Cutler
Sampling Density
sampling density
CSCI-6962 Advanced Computer Graphics Cutler
Remember Fourier Analysis?
can be represented
as a summation of
sinusoidal waves.
CSCI-6962 Advanced Computer Graphics Cutler
Remember Fourier Analysis?
dual in the frequency domain.
has no frequencies above some threshold
CSCI-6962 Advanced Computer Graphics Cutler
Remember Fourier Analysis?
using the Fourier Transform.
CSCI-6962 Advanced Computer Graphics Cutler
Remember Convolution?
CSCI-6962 Advanced Computer Graphics Cutler
Remember Convolution?
spatial domain can be simplified by transforming to its
dual representation in the frequency domain.
same as multiplication in the frequency domain.
as multiplication in the spatial domain
CSCI-6962 Advanced Computer Graphics Cutler
Sampling in the Frequency Domain
Fourier Transform
Fourier Transform
Fourier Transform
CSCI-6962 Advanced Computer Graphics Cutler
Reconstruction
from the frequency domain of the sampled
signal, we can reconstruct the original signal!
overlap between
the copies.
CSCI-6962 Advanced Computer Graphics Cutler
Guaranteeing Proper Reconstruction
frequencies from the original
signal (low pass pre-filtering)
frequency spectrum during reconstruction → aliasing.
CSCI-6962 Advanced Computer Graphics Cutler
Sampling Theorem
intervals, the sampling frequency must be
greater than twice the highest frequency of
the input signal in order to be able to
reconstruct the original perfectly from the
sampled version (Shannon, Nyquist)
CSCI-6962 Advanced Computer Graphics Cutler
Questions?
CSCI-6962 Advanced Computer Graphics Cutler
Problems with Practical Filters
by poor reconstruction filters
causes "ringing" and
can accentuate the
sampling grid
(anisotropy)
CSCI-6962 Advanced Computer Graphics Cutler
Gaussian Filter
does for free!
CSCI-6962 Advanced Computer Graphics Cutler
Box Filter / Nearest Neighbor
are little squares.
CSCI-6962 Advanced Computer Graphics Cutler
Tent Filter / Bi-Linear Interpolation
CSCI-6962 Advanced Computer Graphics Cutler
Bi-Cubic Interpolation
the ideal spatial filter,
the sinc function
CSCI-6962 Advanced Computer Graphics Cutler
Why is the Box Filter Bad?
notice the ugly
horizontal banding
CSCI-6962 Advanced Computer Graphics Cutler
Questions?
CSCI-6962 Advanced Computer Graphics Cutler
Today
CSCI-6962 Advanced Computer Graphics Cutler
Sampling Texture Maps
sampling density matches the sampling density of the
texture.
CSCI-6962 Advanced Computer Graphics Cutler
Linear Interpolation
CSCI-6962 Advanced Computer Graphics Cutler
Spatial Filtering
which cause artifacts in texture
minification.
over the extent of the pixel
the texture with a filter kernel
centered at the sample (i.e.,
pixel center)!
rasterization, but an
approximation it can be
precomputed
CSCI-6962 Advanced Computer Graphics Cutler
MIP Mapping
of images that are
pre-filtered and
re-sampled at
1/2, 1/4, 1/8, etc.,
of the original
image's sampling
we compute the index of the decimated image that is sampled at
a rate closest to the density of our desired sampling rate
many in a small place
CSCI-6962 Advanced Computer Graphics Cutler
Anisotropic MIP-Mapping
different
mipmaps for
the 2 directions
extensions can
handle non
axis-aligned
views
CSCI-6962 Advanced Computer Graphics Cutler
Questions?