CS 691 Computational Photography

Slides:



Advertisements
Similar presentations
CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Advertisements

Multiscale Analysis of Images Gilad Lerman Math 5467 (stealing slides from Gonzalez & Woods, and Efros)
15-463: Computational Photography Alexei Efros, CMU, Spring 2010 Most slides from Steve Marschner Sampling and Reconstruction.
Ted Adelson’s checkerboard illusion. Motion illusion, rotating snakes.
Slides from Alexei Efros
Computational Photography: Sampling + Reconstruction Connelly Barnes Slides from Alexei Efros and Steve Marschner.
Pyramids and Texture. Scaled representations Big bars and little bars are both interesting Spots and hands vs. stripes and hairs Inefficient to detect.
Linear Filtering – Part II Selim Aksoy Department of Computer Engineering Bilkent University
Computational Photography CSE 590 Tamara Berg Filtering & Pyramids.
Templates, Image Pyramids, and Filter Banks Slides largely from Derek Hoeim, Univ. of Illinois.
Templates and Image Pyramids Computational Photography Derek Hoiem, University of Illinois 09/06/11.
Freeman Algorithms and Applications in Computer Vision Lihi Zelnik-Manor Lecture 5: Pyramids.
Image Filtering, Part 2: Resampling Today’s readings Forsyth & Ponce, chapters Forsyth & Ponce –
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Sampling and Pyramids : Rendering and Image Processing Alexei Efros …with lots of slides from Steve Seitz.
Edges and Scale Today’s reading Cipolla & Gee on edge detection (available online)Cipolla & Gee on edge detection Szeliski – From Sandlot ScienceSandlot.
Image transformations, Part 2 Prof. Noah Snavely CS1114
CSCE 641 Computer Graphics: Image Sampling and Reconstruction Jinxiang Chai.
Image Pyramids and Blending
Image Sampling Moire patterns
Lecture 4: Image Resampling CS4670: Computer Vision Noah Snavely.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
15-463: Computational Photography Alexei Efros, CMU, Fall 2011 Many slides from Steve Marschner Sampling and Reconstruction.
Lecture 3: Image Resampling CS4670: Computer Vision Noah Snavely Nearest-neighbor interpolation Input image 3x upsample hq3x interpolation (ZSNES)
Templates, Image Pyramids, and Filter Banks Computer Vision James Hays, Brown Slides: Hoiem and others.
Computer Vision - A Modern Approach Set: Pyramids and Texture Slides by D.A. Forsyth Scaled representations Big bars (resp. spots, hands, etc.) and little.
Image Pyramids and Blending : Computational Photography Alexei Efros, CMU, Fall 2005 © Kenneth Kwan.
4 – Image Pyramids. Admin stuff Change of office hours on Wed 4 th April – Mon 31 st March pm (right after class) Change of time/date of last.
Slides from Alexei Efros, Steve Marschner Filters & fourier theory.
Image Sampling Moire patterns -
Image Pyramids and Blending
Recap from Friday Pinhole camera model Perspective projections Lenses and their flaws Focus Depth of field Focal length and field of view.
Image Representation Gaussian pyramids Laplacian Pyramids
CSC589 Introduction to Computer Vision Lecture 9 Sampling, Gaussian Pyramid Bei Xiao.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5409 T-R 10:30am – 11:50am.
2D Image Fourier Spectrum.
Applications of Image Filters Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/04/10.
Templates, Image Pyramids, and Filter Banks Computer Vision Derek Hoiem, University of Illinois 01/31/12.
The Frequency Domain Somewhere in Cinque Terre, May 2005 Many slides borrowed from Steve Seitz CS194: Image Manipulation & Computational Photography Alexei.
CAP5415: Computer Vision Lecture 4: Image Pyramids, Image Statistics, Denoising Fall 2006.
Image Resampling CS4670: Computer Vision Noah Snavely.
Templates, Image Pyramids, and Filter Banks
Image Resampling CS4670: Computer Vision Noah Snavely.
Image Processing Xuejin Chen Ref:
Templates and Image Pyramids Computational Photography Derek Hoiem, University of Illinois 09/03/15.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Templates, Image Pyramids, and Filter Banks
CS 691B Computational Photography
Lecture 5: Fourier and Pyramids
Computer vision. Applications and Algorithms in CV Tutorial 3: Multi scale signal representation Pyramids DFT - Discrete Fourier transform.
Projects Project 1a due this Friday Project 1b will go out on Friday to be done in pairs start looking for a partner now.
Recall: Gaussian smoothing/sampling G 1/4 G 1/8 Gaussian 1/2 Solution: filter the image, then subsample Filter size should double for each ½ size reduction.
Convolution.
Image Resampling & Interpolation
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
Image Sampling Moire patterns
Image Pyramids and Applications
Image Sampling Moire patterns
Jeremy Bolton, PhD Assistant Teaching Professor
Multiscale Analysis of Images
Sampling and Reconstruction
Samuel Cheng Slide credits: Noah Snavely
Convolution.
Filtering Part 2: Image Sampling
Image Sampling Moire patterns
Oh, no, wait, sorry, I meant, welcome to the implementation of 20th-century science fiction literature, or a small part of it, where we will learn about.
Image Resampling & Interpolation
Resampling.
Samuel Cheng Slide credits: Noah Snavely
Templates and Image Pyramids
Presentation transcript:

CS 691 Computational Photography Instructor: Gianfranco Doretto Image Pyramids

Linear image transformations In analyzing images, it’s often useful to make a change of basis. transformed image Vectorized image Basis

Spatial Domain Basis Basis functions: Tells you where things are…. … but no concept of what it is …………..

= * Identity transform Pixel domain image 1000… 01000… 00100… 000100… = * …0001000… …00010 …0001 Pixel domain image Spatial bases are local: each transform coefficient depends on one pixel location. Pixel domain image

Fourier Domain Basis Basis functions: Tells you what (frequency) is in the image…. … but not where it is ……… ………

= * Fourier transform Fourier transform Fourier bases are global: each transform coefficient depends on all pixel locations. Pixel domain image

Image Analysis Want representation that combines what and where.  Image Pyramids

Overview Gaussian Pyramid Laplacian Pyramid

Image Pyramids Known as a Gaussian Pyramid [Burt and Adelson, 1983] In computer graphics, a mip map [Williams, 1983] A precursor to wavelet transform

Gaussian pyramid construction filter mask Repeat Filter (keep filter the same size) Subsample (by a factor of two) Until minimum resolution reached can specify desired number of levels (e.g., 3-level pyramid) Total number of pixels in pyramid? 1 + ¼ + 1/16 + 1/32…….. = 4/3  Over-complete representation

A bar in the big images is a hair on the zebra’s nose; in smaller images, a stripe; in the smallest, the animal’s nose

What are they good for? Improve Search Pre-computation Compression Search over translations Classic coarse-to-fine strategy Search over scale Template matching E.g. find a face at different scales Pre-computation Need to access image at different blur levels Useful for texture mapping at different resolutions (called mip-mapping) Compression Capture important structures with fewer bytes Denoising Model statistics of pyramid sub-bands Image blending

= * Gaussian pyramid Pixel domain Gaussian pyramid image Overcomplete representation. Low-pass filters, sampled appropriately for their blur.

Overview Gaussian Pyramid Laplacian Pyramid

What does blurring take away? original

What does blurring take away? smoothed (5x5 Gaussian)

High-Pass filter smoothed – original

Band-pass filtering Laplacian Pyramid (subband images) Gaussian Pyramid (low-pass images) Laplacian Pyramid (subband images) Created from Gaussian pyramid by subtraction

Laplacian filter - ≅ Unit impulse Gaussian Laplacian of Gaussian

Laplacian pyramid algorithm subsample blur _ blur blur _ subsample subsample _

Can we reconstruct the original? Need this! interpolate interpolate interpolate

The Laplacian Pyramid Synthesis Analysis preserve difference between upsampled Gaussian pyramid level and Gaussian pyramid level band pass filter - each level represents spatial frequencies (largely) unrepresented at other levels Analysis reconstruct Gaussian pyramid, take top layer

Laplacian pyramid

= * Laplacian pyramid Laplacian pyramid Pixel domain image Overcomplete representation. Transformed pixels represent bandpassed image information.

Hybrid Image in Laplacian Pyramid Extra points for project 1 High frequency  Low frequency

Slide Credits This set of sides also contains contributions kindly made available by the following authors Alexei Efros Svetlana Lazebnik Frédo Durand Bill Freeman Steve Seitz Derek Hoiem David Forsyth