Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi

Slides:



Advertisements
Similar presentations
| Page Angelo Farina UNIPR | All Rights Reserved | Confidential Digital sound processing Convolution Digital Filters FFT.
Advertisements

Signals and Systems Fall 2003 Lecture #13 21 October The Concept and Representation of Periodic Sampling of a CT Signal 2. Analysis of Sampling.
Sampling and Reconstruction
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 4: Image Processing 1 Ravi Ramamoorthi
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 4 Ravi Ramamoorthi
Data Processing Chapter 3 As a science major, you will all eventually have to deal with data. As a science major, you will all eventually have to deal.
Sampling theory Fourier theory made easy
Prof. Brian L. Evans Dept. of Electrical and Computer Engineering The University of Texas at Austin EE445S Real-Time Digital Signal Processing Lab Spring.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 5 Ravi Ramamoorthi
Computer Graphics Recitation 6. 2 Motivation – Image compression What linear combination of 8x8 basis signals produces an 8x8 block in the image?
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi Some slides.
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.
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.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 5: Image Processing 2: Warping Ravi Ramamoorthi
Image Sampling Moire patterns
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 5: Image Processing 2: Warping Ravi Ramamoorthi
CSCE 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 7: Review, Reconstruction Ravi Ramamoorthi
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
University of British Columbia CPSC 414 Computer Graphics © Tamara Munzner 1 Scan Conversion Week 6, Fri 10 Oct 2003 sampling.
Sampling and Aliasing Kurt Akeley CS248 Lecture 3 2 October 2007
CPSC 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Fourier Theory and its Application to Vision
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Computational Photography: Fourier Transform Jinxiang Chai.
Image Sampling Moire patterns -
Leo Lam © Signals and Systems EE235. Transformers Leo Lam ©
Sampling of Continuous Time Signal Section
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
EE513 Audio Signals and Systems Digital Signal Processing (Systems) Kevin D. Donohue Electrical and Computer Engineering University of Kentucky.
… Representation of a CT Signal Using Impulse Functions
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Image Processing 고려대학교 컴퓨터 그래픽스 연구실 cgvr.korea.ac.kr.
EE421, Fall 1998 Michigan Technological University Timothy J. Schulz 08-Sept, 98EE421, Lecture 11 Digital Signal Processing (DSP) Systems l Digital processing.
Antialiasing CptS 548 Advanced Computer Graphics John C. Hart.
EE D Fourier Transform. Bahadir K. Gunturk EE Image Analysis I 2 Summary of Lecture 2 We talked about the digital image properties, including.
Chapter 9 Basic Signal Processing. Motivation Many aspects of computer imagery differ from aspects of conventional imagery Computer representations are.
111 Lecture 2 Signals and Systems (II) Principles of Communications Fall 2008 NCTU EE Tzu-Hsien Sang.
1 Chapter 5 Ideal Filters, Sampling, and Reconstruction Sections Wed. June 26, 2013.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Notice  HW problems for Z-transform at available on the course website  due this Friday (9/26/2014) 
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.
Image Processing Basics. What are images? An image is a 2-d rectilinear array of pixels.
Leo Lam © Signals and Systems EE235 Leo Lam.
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.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Prof. Nizamettin AYDIN Advanced Digital Signal Processing 1.
Lecture 5: Fourier and Pyramids
The Frequency Domain Digital Image Processing – Chapter 8.
University of Texas at Austin CS384G - Computer Graphics Fall 2008 Don Fussell Sampling and Reconstruction.
Sampling Week 7, Fri 17 Oct 2003 p1 demos sampling.
Advanced Computer Graphics
Advanced Computer Graphics
… Sampling … … Filtering … … Reconstruction …
Advanced Computer Graphics
Lecture Signals with limited frequency range
(C) 2002 University of Wisconsin, CS 559
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 643 Computer Vision: Image Sampling and Filtering
CSCE 643 Computer Vision: Thinking in Frequency
Sampling and Reconstruction
Interpolation and Pulse Shaping
Lecture 5: Resampling, Compositing, and Filtering Li Zhang Spring 2008
Lesson Week 8 Fourier Transform of Time Functions (DC Signal, Periodic Signals, and Pulsed Cosine)
Chapter 3 Sampling.
Digital Signal Processing
DIGITAL CONTROL SYSTEM WEEK 3 NUMERICAL APPROXIMATION
Presentation transcript:

Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi

To Do  Assignment 1, Due Feb 16.  Anyone need help finding partners?  Start thinking about written part based on this lecture

Outline  Basic ideas of sampling, reconstruction, aliasing  Signal processing and Fourier analysis  Implementation of digital filters (second part of assn) next week  Section of textbook (you really should read it) Some slides courtesy Tom Funkhouser

Sampling and Reconstruction  An image is a 2D array of samples  Discrete samples from real-world continuous signal

Sampling and Reconstruction

(Spatial) Aliasing

 Jaggies probably biggest aliasing problem

Sampling and Aliasing  Artifacts due to undersampling or poor reconstruction  Formally, high frequencies masquerading as low  E.g. high frequency line as low freq jaggies

Image Processing pipeline

Outline  Basic ideas of sampling, reconstruction, aliasing  Signal processing and Fourier analysis  Implementation of digital filters (second part of assn) next week  Section of textbook

Motivation  Formal analysis of sampling and reconstruction  Important theory (signal-processing) for graphics  Mathematics tested in written assignment  Will implement some ideas in project

Ideas  Signal (function of time generally, here of space)  Continuous: defined at all points; discrete: on a grid  High frequency: rapid variation; Low Freq: slow variation  Images are converting continuous to discrete. Do this sampling as best as possible.  Signal processing theory tells us how best to do this  Based on concept of frequency domain Fourier analysis

Sampling Theory Analysis in the frequency (not spatial) domain  Sum of sine waves, with possibly different offsets (phase)  Each wave different frequency, amplitude

Fourier Transform  Tool for converting from spatial to frequency domain  Or vice versa  One of most important mathematical ideas  Computational algorithm: Fast Fourier Transform  One of 10 great algorithms scientific computing  Makes Fourier processing possible (images etc.)  Not discussed here, but see extra credit on assignment 1

Fourier Transform  Simple case, function sum of sines, cosines  Continuous infinite case

Fourier Transform  Simple case, function sum of sines, cosines  Discrete case

Fourier Transform: Examples 1 Single sine curve (+constant DC term)

Fourier Transform Examples 2  Common examples

Fourier Transform Properties  Common properties  Linearity:  Derivatives: [integrate by parts]  2D Fourier Transform  Convolution (next)

Sampling Theorem, Bandlimiting  A signal can be reconstructed from its samples, if the original signal has no frequencies above half the sampling frequency – Shannon  The minimum sampling rate for a bandlimited function is called the Nyquist rate

Sampling Theorem, Bandlimiting  A signal can be reconstructed from its samples, if the original signal has no frequencies above half the sampling frequency – Shannon  The minimum sampling rate for a bandlimited function is called the Nyquist rate  A signal is bandlimited if the highest frequency is bounded. This frequency is called the bandwidth  In general, when we transform, we want to filter to bandlimit before sampling, to avoid aliasing

Antialiasing  Sample at higher rate  Not always possible  Real world: lines have infinitely high frequencies, can’t sample at high enough resolution  Prefilter to bandlimit signal  Low-pass filtering (blurring)  Trade blurriness for aliasing

Ideal bandlimiting filter  Formal derivation is homework exercise

Outline  Basic ideas of sampling, reconstruction, aliasing  Signal processing and Fourier analysis  Convolution  Implementation of digital filters (second part of assn) next week  Section of textbook

Convolution 1

Convolution 2

Convolution 3

Convolution 4

Convolution 5

Convolution in Frequency Domain  Convolution (f is signal ; g is filter [or vice versa])  Fourier analysis (frequency domain multiplication)

Practical Image Processing  Discrete convolution (in spatial domain) with filters for various digital signal processing operations  Easy to analyze, understand effects in frequency domain  E.g. blurring or bandlimiting by convolving with low pass filter

Outline  Basic ideas of sampling, reconstruction, aliasing  Signal processing and Fourier analysis  Implementation of digital filters (second part of ass) next week  Section of textbook