Image Stitching Shangliang Jiang Kate Harrison. What is image stitching?

Slides:



Advertisements
Similar presentations
Recognising Panoramas M. Brown and D. Lowe, University of British Columbia.
Advertisements

Summary of Friday A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging planes or.
Photo Stitching Panoramas from Multiple Images Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/28/12.
Image alignment Image from
Mosaics con’t CSE 455, Winter 2010 February 10, 2010.
Photo Stitching Panoramas from Multiple Images Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/3/15.
Announcements Project 2 Out today Sign up for a panorama kit ASAP! –best slots (weekend) go quickly...
Recognising Panoramas
SIFT Guest Lecture by Jiwon Kim
1Jana Kosecka, CS 223b Cylindrical panoramas Cylindrical panoramas.
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
Automatic Panoramic Image Stitching using Local Features Matthew Brown and David Lowe, University of British Columbia.
Computer Vision A Hand-Held “Scanner” for Large-Format Images COMP 256 Adrian Ilie Steps Towards.
Image Stitching and Panoramas
Automatic Image Stitching using Invariant Features Matthew Brown and David Lowe, University of British Columbia.
NIPS 2003 Tutorial Real-time Object Recognition using Invariant Local Image Features David Lowe Computer Science Department University of British Columbia.
Automatic Image Alignment via Motion Estimation
Image Stitching II Ali Farhadi CSE 455
Panorama Stitching and Augmented Reality. Local feature matching with large datasets n Examples: l Identify all panoramas and objects in an image set.
Sebastian Thrun CS223B Computer Vision, Winter Stanford CS223B Computer Vision, Winter 2005 Lecture 3 Advanced Features Sebastian Thrun, Stanford.
Image Stitching Ali Farhadi CSEP 576 Several slides from Rick Szeliski, Steve Seitz, Derek Hoiem, and Ira Kemelmacher.
Summary of Previous Lecture A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging.
Feature Matching and RANSAC : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Image Stitching Ali Farhadi CSE 455
Advanced Computer Vision Feature-based Alignment Lecturer: Lu Yi & Prof. Fuh CSIE NTU.
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Prof. Alex Berg (Credits to many other folks on individual slides)
Last Lecture (optical center) origin principal point P (X,Y,Z) p (x,y) x y.
Mosaics Today’s Readings Szeliski, Ch 5.1, 8.1 StreetView.
Image stitching Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac.
Example: line fitting. n=2 Model fitting Measure distances.
Image Stitching Ali Farhadi CSE 576 Several slides from Rick Szeliski, Steve Seitz, Derek Hoiem, and Ira Kemelmacher.
CVPR 2003 Tutorial Recognition and Matching Based on Local Invariant Features David Lowe Computer Science Department University of British Columbia.
10/19/10 Image Stitching Computational Photography Derek Hoiem, University of Illinois Photos by Russ Hewett.
10/29/13 Image Stitching Computational Photography Derek Hoiem, University of Illinois Photos by Russ Hewett.
10/27/15 Image Stitching Computational Photography Derek Hoiem, University of Illinois Photos by Russ Hewett.
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
3D reconstruction from uncalibrated images
Image Stitching Computational Photography
Automatic Image Alignment : Computational Photography Alexei Efros, CMU, Fall 2011 with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Maarten Van Lier 2 e Master Computerwetenschappen.
Last Two Lectures Panoramic Image Stitching
776 Computer Vision Jan-Michael Frahm Spring 2012.
Automatic Image Alignment with a lot of slides stolen from Steve Seitz and Rick Szeliski © Mike Nese CS194: Image Manipulation & Computational Photography.
Image Stitching II Linda Shapiro CSE 455. RANSAC for Homography Initial Matched Points.
Mosaics Today’s Readings Szeliski and Shum paper (sections 1 and 2, skim the rest) –
Digital Camera and Computer Vision Laboratory Department of Computer Science and Information Engineering National Taiwan University, Taipei, Taiwan, R.O.C.
Summary of Monday A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging planes or.
COS 429 PS3: Stitching a Panorama Due November 10 th.
Image Stitching Computer Vision CS 691E Some slides from Richard Szeliski.
Image Stitching II Linda Shapiro EE/CSE 576.
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
Nearest-neighbor matching to feature database
COSC579: Image Align, Mosaic, Stitch
Image Stitching Computational Photography
RANSAC and mosaic wrap-up
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Features Readings All is Vanity, by C. Allan Gilbert,
Nearest-neighbor matching to feature database
SIFT Demo Heather Dunlop March 20, 2006.
Idea: projecting images onto a common plane
Image Stitching II Linda Shapiro EE/CSE 576.
Image Stitching II Linda Shapiro CSE 455.
Feature Matching and RANSAC
Image Stitching Computer Vision CS 678
Announcements Project 1 Project 2 Vote for your favorite artifacts!
Image Stitching II Linda Shapiro EE/CSE 576.
Computational Photography
Automatic Panoramic Image Stitching using Invariant Features
Image Stitching II Linda Shapiro ECE P 596.
Presentation transcript:

Image Stitching Shangliang Jiang Kate Harrison

What is image stitching?

Introduction Are you getting the whole picture? –Compact Camera FOV = 50 x 35°

Introduction Are you getting the whole picture? –Compact Camera FOV = 50 x 35° –Human FOV = 200 x 135°

Introduction Are you getting the whole picture? –Compact Camera FOV = 50 x 35° –Human FOV = 200 x 135° –Panoramic Mosaic = 360 x 180°

Recognizing Panoramas 1D Rotations () –Ordering  matching images

Recognizing Panoramas 1D Rotations () –Ordering  matching images

Recognizing Panoramas 1D Rotations () –Ordering  matching images

Recognizing Panoramas 2D Rotations (, ) –Ordering  matching images 1D Rotations () –Ordering  matching images

Recognizing Panoramas 1D Rotations () –Ordering  matching images 2D Rotations (, ) –Ordering  matching images

Recognizing Panoramas 1D Rotations () –Ordering  matching images 2D Rotations (, ) –Ordering  matching images

Recognizing Panoramas

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching –SIFT Features –Nearest Neighbor Matching Image Matching Bundle Adjustment Image Compositing Conclusions

SIFT Features SIFT features are… –Geometrically invariant to similarity transforms, some robustness to affine change –Photometrically invariant to affine changes in intensity

Overview Feature Matching –SIFT Features –Nearest Neighbor Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Nearest Neighbor Matching Find k nearest neighbors for each feature –k  number of overlapping images (we use k = 4) Use k-d tree –k-d tree recursively bi-partitions data at mean in the dimension of maximum variance –Approximate nearest neighbors found in O(nlogn)

Overview Feature Matching –SIFT Features –Nearest Neighbor Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching –Random Sample Consensus (RANSAC) for Homography –Probabilistic model for verification Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching –Random Sample Consensus (RANSAC) for Homography –Probabilistic model for verification Bundle Adjustment Image Compositing Conclusions

RANSAC for Homography

Overview Feature Matching Image Matching –Random Sample Consensus (RANSAC) for Homography –Probabilistic model for verification Bundle Adjustment Image Compositing Conclusions

Probabilistic model for verification

Finding the panoramas

Overview Feature Matching Image Matching –RANSAC for Homography –Probabilistic model for verification Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment –Error function Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment –Error function Image Compositing Conclusions

Bundle Adjustment New images initialised with rotation, focal length of best matching image

Bundle Adjustment New images initialised with rotation, focal length of best matching image

Error function Sum of squared projection errors –n = #images –I(i) = set of image matches to image i –F(i, j) = set of feature matches between images i,j –r ij k = residual of k th feature match between images i,j Robust error function

Overview Feature Matching Image Matching Bundle Adjustment –Error function Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Blending

Gain compensation

How do we blend? Linear blending Multi-band blending

Multi-band Blending Burt & Adelson 1983 –Blend frequency bands over range 

Low frequency ( > 2 pixels) High frequency ( < 2 pixels) 2-band Blending

3-band blending Band 1: high frequencies

3-band blending Band 2: mid-range frequencies

3-band blending Band 3: low frequencies

Panorama straightening Heuristic: people tend to shoot pictures in a certain way

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Overview Feature Matching Image Matching Bundle Adjustment Image Compositing Conclusions

Conclusion

Algorithm

AutoStitch program AutoStitch.net

Open questions Advanced camera modeling –radial distortion, camera motion, scene motion, vignetting, exposure, high dynamic range, flash … Full 3D case – recognizing 3D objects/scenes in unordered datasets

Credits Automatic Panoramic Image Stitching Using Invariant Features, 2007 –Matthew Brown and David G. Lowe (Uni. of British Columbia) Recognising Panoramas, 2003 –Matthew Brown and David G. Lowe (Uni. of British Columbia) –2003 –Thanks for the slides! Image Alignment and Stitching: A Tutorial, 2006 –Richard Szeliski (Microsoft)

Questions?