Geometry-aware Feature Matching for Structure from Motion Applications Rajvi Shah, Vanshika Srivastava, P J Narayanan Center for Visual Information Technology.

Slides:



Advertisements
Similar presentations
Distinctive Image Features from Scale-Invariant Keypoints David Lowe.
Advertisements

Location Recognition Given: A query image A database of images with known locations Two types of approaches: Direct matching: directly match image features.
Presented by Xinyu Chang
Content-Based Image Retrieval
BRISK (Presented by Josh Gleason)
Efficiently searching for similar images (Kristen Grauman)
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
A NOVEL LOCAL FEATURE DESCRIPTOR FOR IMAGE MATCHING Heng Yang, Qing Wang ICME 2008.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
IBBT – Ugent – Telin – IPI Dimitri Van Cauwelaert A study of the 2D - SIFT algorithm Dimitri Van Cauwelaert.
Fast High-Dimensional Feature Matching for Object Recognition David Lowe Computer Science Department University of British Columbia.
Robust and large-scale alignment Image from
Image alignment.
A Study of Approaches for Object Recognition
Video Google: Text Retrieval Approach to Object Matching in Videos Authors: Josef Sivic and Andrew Zisserman ICCV 2003 Presented by: Indriyati Atmosukarto.
Quick Review of Apr 15 material Overflow –definition, why it happens –solutions: chaining, double hashing Hash file performance –loading factor –search.
Video Google: Text Retrieval Approach to Object Matching in Videos Authors: Josef Sivic and Andrew Zisserman University of Oxford ICCV 2003.
Algebraic Functions of Views for 3D Object Recognition CS773C Advanced Machine Intelligence Applications Spring 2008: Object Recognition.
Fitting a Model to Data Reading: 15.1,
J Cheng et al,. CVPR14 Hyunchul Yang( 양현철 )
Multiple Object Class Detection with a Generative Model K. Mikolajczyk, B. Leibe and B. Schiele Carolina Galleguillos.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
IIIT Hyderabad Atif Iqbal and Anoop Namboodiri Cascaded.
Large-Scale Content-Based Image Retrieval Project Presentation CMPT 880: Large Scale Multimedia Systems and Cloud Computing Under supervision of Dr. Mohamed.
Image alignment.
Distinctive Image Features from Scale-Invariant Keypoints By David G. Lowe, University of British Columbia Presented by: Tim Havinga, Joël van Neerbos.
Image Based Positioning System Ankit Gupta Rahul Garg Ryan Kaminsky.
Final Exam Review CS485/685 Computer Vision Prof. Bebis.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Shape Matching for Model Alignment 3D Scan Matching and Registration, Part I ICCV 2005 Short Course Michael Kazhdan Johns Hopkins University.
The Brightness Constraint
Reporter: Fei-Fei Chen. Wide-baseline matching Object recognition Texture recognition Scene classification Robot wandering Motion tracking.
Collective Vision: Using Extremely Large Photograph Collections Mark Lenz CameraNet Seminar University of Wisconsin – Madison February 2, 2010 Acknowledgments:
Beyond Sliding Windows: Object Localization by Efficient Subwindow Search The best paper prize at CVPR 2008.
Features-based Object Recognition P. Moreels, P. Perona California Institute of Technology.
Conformational Space.  Conformation of a molecule: specification of the relative positions of all atoms in 3D-space,  Typical parameterizations:  List.
Visual SLAM Visual SLAM SPL Seminar (Fri) Young Ki Baik Computer Vision Lab.
© 2005 Martin Bujňák, Martin Bujňák Supervisor : RNDr.
Wenqi Zhu 3D Reconstruction From Multiple Views Based on Scale-Invariant Feature Transform.
IIIT HYDERABAD Image-based walkthroughs from partial and incremental scene reconstructions Kumar Srijan Syed Ahsan Ishtiaque C. V. Jawahar Center for Visual.
1 Image Matching using Local Symmetry Features Daniel Cabrini Hauagge Noah Snavely Cornell University.
COS429 Computer Vision =++ Assignment 4 Cloning Yourself.
CSE 185 Introduction to Computer Vision Feature Matching.
55:148 Digital Image Processing Chapter 11 3D Vision, Geometry Topics: Basics of projective geometry Points and hyperplanes in projective space Homography.
Compact, Fast and Robust Grids for Ray Tracing Ares Lagae & Philip Dutré 19 th Eurographics Symposium on Rendering EGSR 2008Wednesday, June 25th.
Local features: detection and description
Scale Invariant Feature Transform (SIFT)
SIFT DESCRIPTOR K Wasif Mrityunjay
Unsupervised Salience Learning for Person Re-identification
776 Computer Vision Jan-Michael Frahm Spring 2012.
Recognizing specific objects Matching with SIFT Original suggestion Lowe, 1999,2004.
CSCI 631 – Foundations of Computer Vision March 15, 2016 Ashwini Imran Image Stitching.
Correspondence and Stereopsis. Introduction Disparity – Informally: difference between two pictures – Allows us to gain a strong sense of depth Stereopsis.
IIIT HYDERABAD Techniques for Organization and Visualization of Community Photo Collections Kumar Srijan Faculty Advisor : Dr. C.V. Jawahar.
776 Computer Vision Jan-Michael Frahm Spring 2012.
SIMILARITY SEARCH The Metric Space Approach
SIFT Scale-Invariant Feature Transform David Lowe
CS262: Computer Vision Lect 09: SIFT Descriptors
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
TP12 - Local features: detection and description
Modeling the world with photos
Cheng-Ming Huang, Wen-Hung Liao Department of Computer Science
CAP 5415 Computer Vision Fall 2012 Dr. Mubarak Shah Lecture-5
Efficient Distribution-based Feature Search in Multi-field Datasets Ohio State University (Shen) Problem: How to efficiently search for distribution-based.
Noah Snavely.
Kiera Henning, Jiwon Kim,
CSE 185 Introduction to Computer Vision
Lecture 15: Structure from motion
Robust Feature Matching and Fast GMS Solution
Presentation transcript:

Geometry-aware Feature Matching for Structure from Motion Applications Rajvi Shah, Vanshika Srivastava, P J Narayanan Center for Visual Information Technology IIIT Hyderabad, India

Feature Matching for SfM Applications Match features across all image pairs

Pair-wise Feature Matching Image 1 + SIFTImage 2 + SIFT Img1 Descriptors Img2 Descriptors

O(M 2 ) Exhaustive Comparison Pair-wise Feature Matching Image 1 + SIFTImage 2 + SIFT Img1 Descriptors Img2 Descriptors

O(M log M) Kd-tree based Comparison Pair-wise Feature Matching Image 1 + SIFTImage 2 + SIFT Img1 Descriptors Img2 Descriptors

Features in Image 1 Features in Image 2Kd-tree of features in Image 2 (in 128-d descriptor space) Q Best Match2 nd Best Match Kd-tree based Feature Matching Search for top-two near neighbors Ratio of distances between query and 2-NNs

Features in Image 1 Features in Image 2Kd-tree of features in Image 2 (in 128-d descriptor space) Q Kd-tree based Feature Matching Best Match2 nd Best Match

Features in Image 1 Features in Image 2 Q Match F-matrix l = F.Q l Geometric Verification Distance of the matching point from epipolar line

Features in Image 1 Features in Image 2 Q F-matrix l = F.Q Distance from l > d Match l Incrorect Match d Geometric Verification Distance of the matching point from epipolar line

Main Problems  Kd-tree based approach: O(M log M)  Images with features in order on 10 4 ~  Wasted effort in matching inconsistent features  Difficult to parallelize  Ratio test is punitive for repetitive structures  Features have similar appearance, e.g. windows.  Salient but not distinctive to pass the ratio test  Rejection of many valid correspondences

Geometry-aware Matching Features in Image 1 Features in Image 2 1. Select a small subset (10%-20%) of features

Geometry-aware Matching Features in Image 1 Features in Image 2 2. Match the selected features using Kd-tree

Geometry-aware Matching Features in Image 1 Features in Image 2 3. Estimate F-Matrix using initial matches (Utilize it for geometry-guided matching) F-matrix

Features in Image 1 Features in Image 2 Q F-matrix l = F.Q Points with Distance from l < d Geometry-aware Matching 4. Find a set of candidate matches l

Features in Image 1 Features in Image 2 Q F-matrix l = F.Q Points with Distance from l < d Geometry-aware Matching 5. Find the top 2-NN within candidates & ratio test l

Features in Image 1 Features in Image 2 Q F-matrix l = F.Q Points with Distance from l < d Geometry-aware Matching Candidate set is different for each query! l

Geometry-aware Matching Efficiently finding the candidate set Distances of n points from the line l need to be computed. Linear Search: O(n)

d Geometry-aware Matching Efficiently finding the candidate set Distances of n points from the line l need to be computed. Linear Search: O(n) Select K points on line l, each at distance d. Radial Search: O(K log n) K << N.

d Geometry-aware Matching Efficiently finding the candidate set Distances of n points from the line l need to be computed. Linear Search: O(n) Select K points on line l, each at distance d. Radial Search: O(K log n) K << N.

d Geometry-aware Matching Efficiently finding the candidate set Distances of n points from the line l need to be computed. Linear Search: O(n) Select K points on line l, each at distance d. Radial Search: O(K log n) K << N. Optimize Further

d Grid based approach:  Divide the image using 4 grids of cell size 2d x 2d, overlap d G1 Geometry-aware Matching Efficiently finding the candidate set

d Grid based approach:  Divide the image using 4 grids of cell size 2d x 2d, overlap d G2 Geometry-aware Matching Efficiently finding the candidate set

d Grid based approach:  Divide the image using 4 grids of cell size 2d x 2d, overlap d G3 Geometry-aware Matching Efficiently finding the candidate set

d G4 Geometry-aware Matching Efficiently finding the candidate set Grid based approach:  Divide the image using 4 grids of cell size 2d x 2d, overlap d  Bin the features into the overlapping cells.  Each cell index  list of feature indices binned in this cell.  Each (x,y) point  4 cells.

d Grid based approach: For each of the K equidistant points,  Compute its distance from centers of 4 corresponding cells.  Select the closest cell.  Select all points in this cell as candidates for matching. Candidate Search: O(K) Geometry-aware Matching Efficiently finding the candidate set

Grid based approach: Candidate Search: O(K) Matching operations reduced: From (n log n) to (|c|log|c|) |c| ≈ ~ 0.8% of n for 2MP image. Geometry-aware Matching Efficiently finding the candidate set

l’ l F Geometry-aware Matching Efficiently finding the candidate set

 Fewer candidates, faster search (5-10x speed up).  Grid based approach is GPU-friendly.  Selective ratio-test:  Retains valid matches for repetitive elements  Denser and more complete point clouds Geometry-aware Matching

Datasets & Experiments  Matching Image Pairs of 4 different Scene type  Indoor, Plaza, Monument, Desk objects  Matches were verified by hand  Match-graph construction + SFM Reconstruction  Barcelona Museum, Tsinghua School, Notre Dame  ~ 90 – 200 images  Reconstruction by bundler

Key Results  CPU : ~ 5-10 times faster than Kd-tree matching  GPU : ~10 times faster than SIFTGPU matching.  Pairwise Matching : 2 – 5 times more matches  Reconstruction : 1.5 – 6 times more 3D points

Qualitative Results Unguided MatchingGeometry-aware Matching

Correctly Matched Points Unguided MatchingGeometry-aware Matching

Qualitative Results Unguided Matching Geometry-aware Matching 119/191 images 181/191 images

Thank You