Automatic Image Stitching using Invariant Features Matthew Brown and David Lowe, University of British Columbia.

Slides:



Advertisements
Similar presentations
Distinctive Image Features from Scale-Invariant Keypoints
Advertisements

Recognising Panoramas M. Brown and D. Lowe, University of British Columbia.
Summary of Friday A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging planes or.
Outline Feature Extraction and Matching (for Larger Motion)
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Distinctive Image Features from Scale- Invariant Keypoints Mohammad-Amin Ahantab Technische Universität München, Germany.
Photo Stitching Panoramas from Multiple Images Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 02/28/12.
Image alignment Image from
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Fast High-Dimensional Feature Matching for Object Recognition David Lowe Computer Science Department University of British Columbia.
Computational Photography
1 Interest Operators Find “interesting” pieces of the image –e.g. corners, salient regions –Focus attention of algorithms –Speed up computation Many possible.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Recognising Panoramas
1 Interest Operator Lectures lecture topics –Interest points 1 (Linda) interest points, descriptors, Harris corners, correlation matching –Interest points.
SIFT Guest Lecture by Jiwon Kim
Automatic Panoramic Image Stitching using Local Features Matthew Brown and David Lowe, University of British Columbia.
Scale Invariant Feature Transform
Distinctive Image Feature from Scale-Invariant KeyPoints
Feature tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on good features.
Computer Vision A Hand-Held “Scanner” for Large-Format Images COMP 256 Adrian Ilie Steps Towards.
Image Stitching and Panoramas
Automatic Matching of Multi-View Images
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
Panorama Stitching and Augmented Reality. Local feature matching with large datasets n Examples: l Identify all panoramas and objects in an image set.
Distinctive Image Features from Scale-Invariant Keypoints David G. Lowe – IJCV 2004 Brien Flewelling CPSC 643 Presentation 1.
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.
Overview Introduction to local features
Distinctive Image Features from Scale-Invariant Keypoints By David G. Lowe, University of British Columbia Presented by: Tim Havinga, Joël van Neerbos.
Image Stitching Tamara Berg CSE 590 Computational Photography Many slides from Alyosha Efros & Derek Hoiem.
Advanced Computer Vision Feature-based Alignment Lecturer: Lu Yi & Prof. Fuh CSIE NTU.
Image Stitching Shangliang Jiang Kate Harrison. What is image stitching?
Overview Harris interest points Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points Evaluation and comparison of different.
Image stitching Digital Visual Effects Yung-Yu Chuang with slides by Richard Szeliski, Steve Seitz, Matthew Brown and Vaclav Hlavac.
CVPR 2003 Tutorial Recognition and Matching Based on Local Invariant Features David Lowe Computer Science Department University of British Columbia.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Overview Introduction to local features Harris interest points + SSD, ZNCC, SIFT Scale & affine invariant interest point detectors Evaluation and comparison.
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
Project 3 questions? Interest Points and Instance Recognition Computer Vision CS 143, Brown James Hays 10/21/11 Many slides from Kristen Grauman and.
Local features: detection and description
Automatic Image Alignment : Computational Photography Alexei Efros, CMU, Fall 2011 with a lot of slides stolen from Steve Seitz and Rick Szeliski.
Presented by David Lee 3/20/2006
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.
Recognizing specific objects Matching with SIFT Original suggestion Lowe, 1999,2004.
SIFT.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Image Stitching II Linda Shapiro EE/CSE 576.
SIFT Scale-Invariant Feature Transform David Lowe
Presented by David Lee 3/20/2006
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
TP12 - Local features: detection and description
Local features: detection and description May 11th, 2017
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.
Image Mosaicing Shiran Stan-Meleh
CSE 455 – Guest Lectures 3 lectures Contact Interest points 1
Feature Matching and RANSAC
Noah Snavely.
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:

Automatic Image Stitching using Invariant Features Matthew Brown and David Lowe, University of British Columbia

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°

Recognising Panoramas

1D Rotations () –Ordering  matching images

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

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

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

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

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

Recognising Panoramas

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

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

Overview Feature Matching –SIFT Features –Nearest Neighbour Matching Image Matching Bundle Adjustment Multi-band Blending Results Conclusions

Overview Feature Matching –SIFT Features –Nearest Neighbour Matching Image Matching Bundle Adjustment Multi-band Blending Results Conclusions

Invariant Features Schmid & Mohr 1997, Lowe 1999, Baumberg 2000, Tuytelaars & Van Gool 2000, Mikolajczyk & Schmid 2001, Brown & Lowe 2002, Matas et. al. 2002, Schaffalitzky & Zisserman 2002

SIFT Features Invariant Features –Establish invariant frame Maxima/minima of scale-space DOG  x, y, s Maximum of distribution of local gradients   –Form descriptor vector Histogram of smoothed local gradients 128 dimensions 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 Neighbour Matching Image Matching Bundle Adjustment Multi-band Blending Results Conclusions

Nearest Neighbour Matching Nearest neighbour matching Use k-d tree –k-d tree recursively bi-partitions data at mean in the dimension of maximum variance –Approximate nearest neighbours found in O(n log n) Find k-NN for each feature –k  number of overlapping images (we use k = 4) [ Beis Lowe 1997, Nene Nayar 1997, Gray Moore 2000, Shakhnarovich 2003 ]

K-d tree

Overview Feature Matching –SIFT Features –Nearest Neighbour Matching Image Matching Bundle Adjustment Multi-band Blending Results Conclusions

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

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

Overview Feature Matching Image Matching –RANSAC for Homography Bundle Adjustment Multi-band Blending Results Conclusions

Overview Feature Matching Image Matching –RANSAC for Homography Bundle Adjustment Multi-band Blending Results Conclusions

RANSAC for Homography

RANSAC: 1D Line Fitting least squares line

RANSAC: 1D Line Fitting

RANSAC line

The RANSAC Algorithm function H = RANSAC(points, nIterations) { bestInliers = 0; bestH = zeros(3, 3); for (i = 0; i < nIterations; i++) { samplePoints = RandomSample(points); H = ComputeTransform(samplePoints); nInliers = Consistent(H); if (nInliers > bestInliers) { bestInliers = nInliers; bestH = H; } // end if } // end for } // end RANSAC

2D Transforms Linear (affine) Homography

Finding the panoramas

Connected Components

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

Bundle Adjustment Adjust rotation, focal length of each image to minimise error in matched features

Bundle Adjustment Adjust rotation, focal length of each image to minimise error in matched features

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

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

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

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

Linear Blending

2-band Blending

Multi-band Blending No blending

Multi-band Blending Linear blending –Each pixel is a weighted sum

Multi-band Blending Multi-band blending –Each pixel is a weighted sum (for each band)

Multi-band Blending Linear blending Multi-band blending

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

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

Results

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

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

Fully automatic panoramas –A recognition problem… Invariant feature based method –SIFT features, RANSAC, Bundle Adjustment, Multi- band Blending –O(nlogn) Future Work –Advanced camera modelling radial distortion, camera motion, scene motion, vignetting, exposure, high dynamic range, flash … –Full 3D case – recognising 3D objects/scenes in unordered datasets. “PhotoTourism”.