Feature Matching and RANSAC

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.
RANSAC and mosaic wrap-up cs129: Computational Photography James Hays, Brown, Fall 2012 © Jeffrey Martin (jeffrey-martin.com) most slides from Steve Seitz,
RANSAC and mosaic wrap-up cs195g: Computational Photography James Hays, Brown, Spring 2010 © Jeffrey Martin (jeffrey-martin.com) most slides from Steve.
Photo Stitching Panoramas from Multiple Images Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/28/12.
Image alignment Image from
Robust and large-scale 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...
Image alignment.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Recognising Panoramas
1Jana Kosecka, CS 223b Cylindrical panoramas Cylindrical panoramas.
Automatic Panoramic Image Stitching using Local Features Matthew Brown and David Lowe, University of British Columbia.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Lecture 10: Cameras CS4670: Computer Vision Noah Snavely Source: S. Lazebnik.
Automatic Image Stitching using Invariant Features Matthew Brown and David Lowe, University of British Columbia.
Lecture 8: Image Alignment and RANSAC
Automatic Image Alignment via Motion Estimation
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
1 Image Features Hao Jiang Sept Image Matching 2.
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.
Lecture 10: Robust fitting CS4670: Computer Vision Noah Snavely.
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.
Robust fitting Prof. Noah Snavely CS1114
Image Stitching Ali Farhadi CSE 455
Image alignment.
Image Stitching Shangliang Jiang Kate Harrison. What is image stitching?
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.
CSCE 643 Computer Vision: Structure from Motion
Image Stitching Ali Farhadi CSE 576 Several slides from Rick Szeliski, Steve Seitz, Derek Hoiem, and Ira Kemelmacher.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
EECS 274 Computer Vision Model Fitting. Fitting Choose a parametric object/some objects to represent a set of points Three main questions: –what object.
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
Automatic Image Alignment : Computational Photography Alexei Efros, CMU, Fall 2011 with a lot of slides stolen from Steve Seitz and Rick Szeliski.
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.
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.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
776 Computer Vision Jan-Michael Frahm Spring 2012.
CS 4501: Introduction to Computer Vision Sparse Feature Descriptors: SIFT, Model Fitting, Panorama Stitching. Connelly Barnes Slides from Jason Lawrence,
Fitting a transformation: feature-based alignment
CS 4501: Introduction to Computer Vision Sparse Feature Detectors: Harris Corner, Difference of Gaussian Connelly Barnes Slides from Jason Lawrence, Fei.
Exercise Class 11: Robust Tecuniques RANSAC, Hough Transform
A Brief Introduction of RANSAC
Lecture 7: Image alignment
RANSAC and mosaic wrap-up
A special case of calibration
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Features Readings All is Vanity, by C. Allan Gilbert,
Object recognition Prof. Graeme Bailey
SIFT Demo Heather Dunlop March 20, 2006.
More Mosaic Madness : Computational Photography
Image Stitching Computer Vision CS 678
Announcements Project 1 Project 2 Vote for your favorite artifacts!
Computational Photography
Automatic Panoramic Image Stitching using Invariant Features
Calibration and homographies
Back to equations of geometric transformations
CS5760: Computer Vision Lecture 9: RANSAC Noah Snavely
CS5760: Computer Vision Lecture 9: RANSAC Noah Snavely
Image Stitching Linda Shapiro ECE/CSE 576.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Feature Matching and RANSAC © Krister Parmstrand 15-463: Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and Rick Szeliski

Feature matching ?

Feature matching Exhaustive search Hashing Nearest neighbor techniques for each feature in one image, look at all the other features in the other image(s) Hashing compute a short descriptor from each feature vector, or hash longer descriptors (randomly) Nearest neighbor techniques k-trees and their variants

What about outliers? ?

Feature-space outlier rejection Let’s not match all features, but only these that have “similar enough” matches? How can we do it? SSD(patch1,patch2) < threshold How to set threshold?

Feature-space outlier rejection A better way [Lowe, 1999]: 1-NN: SSD of the closest match 2-NN: SSD of the second-closest match Look at how much better 1-NN is than 2-NN, e.g. 1-NN/2-NN That is, is our best match so much better than the rest?

Feature-space outliner rejection Can we now compute H from the blue points? No! Still too many outliers… What can we do?

What do we do about the “bad” matches? Matching features What do we do about the “bad” matches?

RAndom SAmple Consensus Select one match, count inliers

RAndom SAmple Consensus Select one match, count inliers

Find “average” translation vector Least squares fit Find “average” translation vector

RANSAC for estimating homography RANSAC loop: Select four feature pairs (at random) Compute homography H (exact) Compute inliers where SSD(pi’, H pi) < ε Keep largest set of inliers Re-compute least-squares H estimate on all of the inliers

RANSAC

Example: Recognising Panoramas M. Brown and D. Lowe, University of British Columbia

Why “Recognising Panoramas”?

Why “Recognising Panoramas”? 1D Rotations (q) Ordering  matching images

Why “Recognising Panoramas”? 1D Rotations (q) Ordering  matching images

Why “Recognising Panoramas”? 1D Rotations (q) Ordering  matching images

Why “Recognising Panoramas”? 1D Rotations (q) Ordering  matching images 2D Rotations (q, f) Ordering  matching images

Why “Recognising Panoramas”? 1D Rotations (q) Ordering  matching images 2D Rotations (q, f) Ordering  matching images

Why “Recognising Panoramas”? 1D Rotations (q) Ordering  matching images 2D Rotations (q, f) Ordering  matching images

Why “Recognising Panoramas”?

Overview Feature Matching Image Matching Bundle Adjustment Multi-band Blending Results Conclusions

RANSAC for Homography

RANSAC for Homography

RANSAC for Homography

Probabilistic model for verification

Finding the panoramas

Finding the panoramas

Finding the panoramas

Finding the panoramas

Homography for Rotation Parameterise each camera by rotation and focal length This gives pairwise homographies

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

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

Results