Robust and large-scale alignment Image from

Slides:



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

Distinctive Image Features from Scale-Invariant Keypoints David Lowe.
Presented by Xinyu Chang
Summary of Friday A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging planes or.
Instance-level recognition II.
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Object Recognition using Invariant Local Features Applications l Mobile robots, driver assistance l Cell phone location or object recognition l Panoramas,
CSE 473/573 Computer Vision and Image Processing (CVIP)
Image alignment Image from
776 Computer Vision Jared Heinly Spring 2014 (slides borrowed from Jan-Michael Frahm, Svetlana Lazebnik, and others)
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Image alignment.
A Study of Approaches for Object Recognition
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Distinctive Image Feature from Scale-Invariant KeyPoints
Feature extraction: Corners and blobs
Distinctive image features from scale-invariant keypoints. David G. Lowe, Int. Journal of Computer Vision, 60, 2 (2004), pp Presented by: Shalomi.
Object Recognition Using Distinctive Image Feature From Scale-Invariant Key point D. Lowe, IJCV 2004 Presenting – Anat Kaspi.
Fitting a Model to Data Reading: 15.1,
Scale Invariant Feature Transform (SIFT)
Blob detection.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
Multiple Object Class Detection with a Generative Model K. Mikolajczyk, B. Leibe and B. Schiele Carolina Galleguillos.
Distinctive Image Features from Scale-Invariant Keypoints David G. Lowe – IJCV 2004 Brien Flewelling CPSC 643 Presentation 1.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Keypoint-based Recognition and Object Search
Object Recognition and Augmented Reality
Indexing Techniques Mei-Chen Yeh.
Image alignment.
Computer vision.
Keypoint-based Recognition Computer Vision CS 543 / ECE 549 University of Illinois Derek Hoiem 03/04/10.
Internet-scale Imagery for Graphics and Vision James Hays cs195g Computational Photography Brown University, Spring 2010.
Recognition and Matching based on local invariant features Cordelia Schmid INRIA, Grenoble David Lowe Univ. of British Columbia.
Object Tracking/Recognition using Invariant Local Features Applications l Mobile robots, driver assistance l Cell phone location or object recognition.
Local invariant features Cordelia Schmid INRIA, Grenoble.
A Statistical Approach to Speed Up Ranking/Re-Ranking Hong-Ming Chen Advisor: Professor Shih-Fu Chang.
1 Total Recall: Automatic Query Expansion with a Generative Feature Model for Object Retrieval Ondrej Chum, James Philbin, Josef Sivic, Michael Isard and.
10/31/13 Object Recognition and Augmented Reality Computational Photography Derek Hoiem, University of Illinois Dali, Swans Reflecting Elephants.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Distinctive Image Features from Scale-Invariant Keypoints Ronnie Bajwa Sameer Pawar * * Adapted from slides found online by Michael Kowalski, Lehigh University.
CSE 185 Introduction to Computer Vision Feature Matching.
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
Distinctive Image Features from Scale-Invariant Keypoints
Presented by David Lee 3/20/2006
776 Computer Vision Jan-Michael Frahm Spring 2012.
Recognizing specific objects Matching with SIFT Original suggestion Lowe, 1999,2004.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
SIFT.
776 Computer Vision Jan-Michael Frahm Spring 2012.
SIFT Scale-Invariant Feature Transform David Lowe
Presented by David Lee 3/20/2006
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Nearest-neighbor matching to feature database
TP12 - Local features: detection and description
Local features: detection and description May 11th, 2017
Feature description and matching
Features Readings All is Vanity, by C. Allan Gilbert,
Object recognition Prof. Graeme Bailey
Nearest-neighbor matching to feature database
CAP 5415 Computer Vision Fall 2012 Dr. Mubarak Shah Lecture-5
Aim of the project Take your image Submit it to the search engine
SIFT.
CSE 185 Introduction to Computer Vision
Computational Photography
Feature descriptors and matching
Presented by Xu Miao April 20, 2005
Recognition and Matching based on local invariant features
Presentation transcript:

Robust and large-scale alignment Image from

Robust feature-based alignment So far, we’ve assumed that we are given a set of “ground-truth” correspondences between the two images we want to align What if we don’t know the correspondences?

Robust feature-based alignment So far, we’ve assumed that we are given a set of “ground-truth” correspondences between the two images we want to align What if we don’t know the correspondences? ?

Robust feature-based alignment

Extract features

Robust feature-based alignment Extract features Compute putative matches

Robust feature-based alignment Extract features Compute putative matches Loop: Hypothesize transformation T

Robust feature-based alignment Extract features Compute putative matches Loop: Hypothesize transformation T Verify transformation (search for other matches consistent with T)

Robust feature-based alignment Extract features Compute putative matches Loop: Hypothesize transformation T Verify transformation (search for other matches consistent with T)

Generating putative correspondences ?

Need to compare feature descriptors of local patches surrounding interest points ( ) = ? feature descriptor ?

Feature descriptors Recall: covariant detectors => invariant descriptors Detect regionsNormalize regions Compute appearance descriptors

Simplest descriptor: vector of raw intensity values How to compare two such vectors? Sum of squared differences (SSD) –Not invariant to intensity change Normalized correlation –Invariant to affine intensity change Feature descriptors

Disadvantage of intensity vectors as descriptors Small deformations can affect the matching score a lot

Descriptor computation: Divide patch into 4x4 sub-patches Compute histogram of gradient orientations (8 reference angles) inside each sub-patch Resulting descriptor: 4x4x8 = 128 dimensions Feature descriptors: SIFT David G. Lowe. "Distinctive image features from scale-invariant keypoints.” IJCV 60 (2), pp , 2004."Distinctive image features from scale-invariant keypoints.”

Descriptor computation: Divide patch into 4x4 sub-patches Compute histogram of gradient orientations (8 reference angles) inside each sub-patch Resulting descriptor: 4x4x8 = 128 dimensions Advantage over raw vectors of pixel values Gradients less sensitive to illumination change Pooling of gradients over the sub-patches achieves robustness to small shifts, but still preserves some spatial information Feature descriptors: SIFT David G. Lowe. "Distinctive image features from scale-invariant keypoints.” IJCV 60 (2), pp , 2004."Distinctive image features from scale-invariant keypoints.”

Feature matching ? Generating putative matches: for each patch in one image, find a short list of patches in the other image that could match it based solely on appearance

Feature space outlier rejection How can we tell which putative matches are more reliable? Heuristic: compare distance of nearest neighbor to that of second nearest neighbor Ratio of closest distance to second-closest distance will be high for features that are not distinctive David G. Lowe. "Distinctive image features from scale-invariant keypoints.” IJCV 60 (2), pp , 2004."Distinctive image features from scale-invariant keypoints.” Threshold of 0.8 provides good separation

Reading David G. Lowe. "Distinctive image features from scale- invariant keypoints.” IJCV 60 (2), pp , 2004."Distinctive image features from scale- invariant keypoints.”

RANSAC The set of putative matches contains a very high percentage of outliers RANSAC loop: 1.Randomly select a seed group of matches 2.Compute transformation from seed group 3.Find inliers to this transformation 4.If the number of inliers is sufficiently large, re-compute least-squares estimate of transformation on all of the inliers Keep the transformation with the largest number of inliers

RANSAC example: Translation Putative matches

RANSAC example: Translation Select one match, count inliers

RANSAC example: Translation Select one match, count inliers

RANSAC example: Translation Select translation with the most inliers

Scalability: Alignment to large databases What if we need to align a test image with thousands or millions of images in a model database? Efficient putative match generation Approximate descriptor similarity search, inverted indices Model database ? Test image

Scalability: Alignment to large databases What if we need to align a test image with thousands or millions of images in a model database? Efficient putative match generation Fast nearest neighbor search, inverted indexes D. Nistér and H. Stewénius, Scalable Recognition with a Vocabulary Tree, CVPR 2006Scalable Recognition with a Vocabulary Tree Test image Database Vocabulary tree with inverted index

Descriptor space Slide credit: D. Nister

Hierarchical partitioning of descriptor space (vocabulary tree) Slide credit: D. Nister

Vocabulary tree/inverted index

Populating the vocabulary tree/inverted index Slide credit: D. Nister Model images

Populating the vocabulary tree/inverted index Slide credit: D. Nister Model images

Populating the vocabulary tree/inverted index Slide credit: D. Nister Model images

Populating the vocabulary tree/inverted index Slide credit: D. Nister Model images

Looking up a test image Slide credit: D. Nister Test image Model images

Voting for geometric transformations Modeling phase: For each model feature, record 2D location, scale, and orientation of model (relative to normalized feature coordinate frame) model index

Voting for geometric transformations Test phase: Each match between a test and model feature votes in a 4D Hough space (location, scale, orientation) with coarse bins Hypotheses receiving some minimal amount of votes can be subjected to more detailed geometric verification model test image index

Indexing with geometric invariants When we don’t have feature descriptors, we can take n-tuples of neighboring features and compute invariant features from their geometric configurations Application: searching the sky: A B C D