(C) 2002 University of Wisconsin, CS 559

Slides:



Advertisements
Similar presentations
3-D Computational Vision CSc Image Processing II - Fourier Transform.
Advertisements

MIT EECS 6.837, Durand and Cutler Sampling, Aliasing, & Mipmaps.
Fourier Transform – Chapter 13. Fourier Transform – continuous function Apply the Fourier Series to complex- valued functions using Euler’s notation to.
CS 551 / CS 645 Antialiasing. What is a pixel? A pixel is not… –A box –A disk –A teeny tiny little light A pixel is a point –It has no dimension –It occupies.
Sep 15, 2005CS477: Analog and Digital Communications1 Modulation and Sampling Analog and Digital Communications Autumn
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Sampling (Section 4.3) CS474/674 – Prof. Bebis. Sampling How many samples should we obtain to minimize information loss during sampling? Hint: take enough.
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Immagini e filtri lineari. Image Filtering Modifying the pixels in an image based on some function of a local neighborhood of the pixels
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
CSCE 641 Computer Graphics: Fourier Transform Jinxiang Chai.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
CPSC 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Computational Photography: Fourier Transform Jinxiang Chai.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
First semester King Saud University College of Applied studies and Community Service 1301CT.
The Nyquist–Shannon Sampling Theorem. Impulse Train  Impulse Train (also known as "Dirac comb") is an infinite series of delta functions with a period.
02/12/02 (c) 2002 University of Wisconsin, CS 559 Filters A filter is something that attenuates or enhances particular frequencies Easiest to visualize.
CSC418 Computer Graphics n Aliasing n Texture mapping.
Sampling and Antialiasing CMSC 491/635. Abstract Vector Spaces Addition –C = A + B = B + A –(A + B) + C = A + (B + C) –given A, B, A + X = B for only.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
… Representation of a CT Signal Using Impulse Functions
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Fourier representation for discrete-time signals And Sampling Theorem
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Chapter 5 Frequency Domain Analysis of Systems. Consider the following CT LTI system: absolutely integrable,Assumption: the impulse response h(t) is absolutely.
Filtering Robert Lin April 29, Outline Why filter? Filtering for Graphics Sampling and Reconstruction Convolution The Fourier Transform Overview.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Lecture 7: Sampling Review of 2D Fourier Theory We view f(x,y) as a linear combination of complex exponentials that represent plane waves. F(u,v) describes.
Digital Image Processing DIGITIZATION. Summery of previous lecture Digital image processing techniques Application areas of the digital image processing.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
CMSC 635 Sampling and Antialiasing. Aliasing in images.
Leo Lam © Signals and Systems EE235 Leo Lam.
CS559: Computer Graphics Lecture 4: Compositing and Resampling Li Zhang Spring 2008.
02/05/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Mach Banding –Humans exaggerate sharp boundaries, but not fuzzy ones.
Lecture 7 Transformations in frequency domain 1.Basic steps in frequency domain transformation 2.Fourier transformation theory in 1-D.
2D Sampling Goal: Represent a 2D function by a finite set of points.
Leo Lam © Signals and Systems EE235. Leo Lam © Fourier Transform Q: What did the Fourier transform of the arbitrary signal say to.
Sampling of Continuous-Time Signals Quote of the Day Optimist: "The glass is half full." Pessimist: "The glass is half empty." Engineer: "That glass is.
ABE425 Engineering Measurement Systems Fourier Transform, Sampling theorem, Convolution and Digital Filters Dr. Tony E. Grift Dept. of Agricultural.
Frequency Domain By Dr. Rajeev Srivastava. Image enhancement in the frequency domain is straightforward. We simply compute the Fourier transform of the.
Lecture 5: Fourier and Pyramids
2D Fourier Transform.
9/28/04© University of Wisconsin, CS559 Fall 2004 Last Time Filtering –Box –Bartlett –Gaussian –Edge Detect (High-Pass) –Edge Enhance –How to apply filters.
Sampling (Section 4.3) CS474/674 – Prof. Bebis.
Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
Advanced Computer Graphics
… Sampling … … Filtering … … Reconstruction …
DIGITAL FILTERS h = time invariant weights (IMPULSE RESPONSE FUNCTION)
Sampling and Quantization
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F() is the spectrum of the function.
Image Acquisition.
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Joshua Barczak CMSC435 UMBC
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Linear system Convolution Linear Filter
2D Fourier transform is separable
CSCE 643 Computer Vision: Image Sampling and Filtering
CSCE 643 Computer Vision: Thinking in Frequency
© University of Wisconsin, CS559 Spring 2004
Digital Image Processing
Lecture 5: Resampling, Compositing, and Filtering Li Zhang Spring 2008
Noise in FTIR Nyquist sampling theorem This is for ideal case
Fourier Transform Analytic geometry gives a coordinate system for describing geometric objects. Fourier transform gives a coordinate system for functions.
Signals and Systems Revision Lecture 2
Chapter 3 Sampling.
CSC418 Computer Graphics Aliasing Texture mapping.
Presentation transcript:

(C) 2002 University of Wisconsin, CS 559 Filters A filter is something that attenuates or enhances particular frequencies Easiest to visualize in the frequency domain, where filtering is defined as multiplication: Here, F is the spectrum of the function, G is the spectrum of the filter, and H is the filtered function. Multiplication is point-wise 02/07/02 (C) 2002 University of Wisconsin, CS 559

(C) 2002 University of Wisconsin, CS 559 Qualitative Filters F G H Low-pass  = High-pass  = Band-pass  = 02/07/02 (C) 2002 University of Wisconsin, CS 559

Low-Pass Filtered Image 02/07/02 (C) 2002 University of Wisconsin, CS 559

High-Pass Filtered Image 02/07/02 (C) 2002 University of Wisconsin, CS 559

Filtering in the Spatial Domain Filtering the spatial domain is achieved by convolution Qualitatively: Slide the filter to each position, x, then sum up the function multiplied by the filter at that position 02/07/02 (C) 2002 University of Wisconsin, CS 559

(C) 2002 University of Wisconsin, CS 559 Convolution Example 02/07/02 (C) 2002 University of Wisconsin, CS 559

(C) 2002 University of Wisconsin, CS 559 Convolution Theorem Convolution in the spatial domain is the same as multiplication in the frequency domain Take a function, f, and compute its Fourier transform, F Take a filter, g, and compute its Fourier transform, G Compute H=FG Take the inverse Fourier transform of H, to get h Then h=fg Multiplication in the spatial domain is the same as convolution in the frequency domain 02/07/02 (C) 2002 University of Wisconsin, CS 559

Sampling in Spatial Domain Sampling in the spatial domain is like multiplying by a spike function  02/07/02 (C) 2002 University of Wisconsin, CS 559

Sampling in Frequency Domain Sampling in the frequency domain is like convolving with a spike function  02/07/02 (C) 2002 University of Wisconsin, CS 559

Reconstruction in Frequency Domain To reconstruct, we must restore the original spectrum That can be done by multiplying by a square pulse  02/07/02 (C) 2002 University of Wisconsin, CS 559

Reconstruction in Spatial Domain Multiplying by a square pulse in the frequency domain is the same as convolving with a sinc function in the spatial domain  02/07/02 (C) 2002 University of Wisconsin, CS 559

Aliasing Due to Under-sampling If the sampling rate is too low, high frequencies get reconstructed as lower frequencies High frequencies from one copy get added to low frequencies from another   02/07/02 (C) 2002 University of Wisconsin, CS 559

Aliasing Implications There is a minimum frequency with which functions must be sampled – the Nyquist frequency Twice the maximum frequency present in the signal Signals that are not bandlimited cannot be accurately sampled and reconstructed Not all sampling schemes allow reconstruction eg: Sampling with a box 02/07/02 (C) 2002 University of Wisconsin, CS 559

(C) 2002 University of Wisconsin, CS 559 More Aliasing Poor reconstruction also results in aliasing Consider a signal reconstructed with a box filter in the spatial domain (which means using a sinc in the frequency domain):   02/07/02 (C) 2002 University of Wisconsin, CS 559