Local features and image matching

Slides:



Advertisements
Similar presentations
Feature extraction: Corners
Advertisements

Local features: detection and description Tuesday October 8 Devi Parikh Virginia Tech Slide credit: Kristen Grauman 1 Disclaimer: Most slides have been.
CSE 473/573 Computer Vision and Image Processing (CVIP)
Interest points CSE P 576 Ali Farhadi Many slides from Steve Seitz, Larry Zitnick.
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Matching with Invariant Features
Computational Photography
Algorithms and Applications in Computer Vision
Interest points CSE P 576 Larry Zitnick Many slides courtesy of Steve Seitz.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Harris corner detector
Lecture 4: Feature matching
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Feature extraction: Corners and blobs
Interest Points and Corners Computer Vision CS 143, Brown James Hays Slides from Rick Szeliski, Svetlana Lazebnik, Derek Hoiem and Grauman&Leibe 2008 AAAI.
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
1 Interest Operators Find “interesting” pieces of the image Multiple possible uses –image matching stereo pairs tracking in videos creating panoramas –object.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Local invariant features Cordelia Schmid INRIA, Grenoble.
CS 558 C OMPUTER V ISION Lecture VII: Corner and Blob Detection Slides adapted from S. Lazebnik.
Lecture 06 06/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
CSE 185 Introduction to Computer Vision Local Invariant Features.
CS 1699: Intro to Computer Vision Local Image Features: Extraction and Description Prof. Adriana Kovashka University of Pittsburgh September 17, 2015.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Local invariant features 1 Thursday October 3 rd 2013 Neelima Chavali Virginia Tech.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Feature extraction: Corners and blobs. Why extract features? Motivation: panorama stitching We have two images – how do we combine them?
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 and image matching October 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Local features: detection and description
Features Jan-Michael Frahm.
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
CS654: Digital Image Analysis
CS 2750: Machine Learning Bias-Variance Trade-off (cont’d) + Image Representations Prof. Adriana Kovashka University of Pittsburgh January 20, 2016.
Instructor: Mircea Nicolescu Lecture 10 CS 485 / 685 Computer Vision.
CSE 185 Introduction to Computer Vision Local Invariant Features.
Lecture 10: Harris Corner Detector CS4670/5670: Computer Vision Kavita Bala.
Keypoint extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
SIFT Scale-Invariant Feature Transform David Lowe
Interest Points EE/CSE 576 Linda Shapiro.
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Fitting a transformation: feature-based alignment
Distinctive Image Features from Scale-Invariant Keypoints
Local features: main components
3D Vision Interest Points.
Corners and interest points
TP12 - Local features: detection and description
Source: D. Lowe, L. Fei-Fei Recap: edge detection Source: D. Lowe, L. Fei-Fei.
Lecture 4: Harris corner detection
Scale and interest point descriptors
Local features: detection and description May 11th, 2017
Corners and Interest Points
Features Readings All is Vanity, by C. Allan Gilbert,
Interest Points and Harris Corner Detector
Lecture 5: Feature detection and matching
Lecture VI: Corner and Blob Detection
Lecture 5: Feature invariance
Lecture 5: Feature invariance
Corner Detection COMP 4900C Winter 2008.
Local features and image matching May 7th, 2019
Presentation transcript:

Local features and image matching Devi Parikh Disclaimer: Many slides have been borrowed from Kristen Grauman, who may have borrowed some of them from others. Any time a slide did not already have a credit on it, I have credited it to Kristen. So there is a chance some of these credits are inaccurate.

Announcements PS2 due last night Project proposals PS3 out Due in a ~week (October 10th) PS3 out Due in ~3 weeks (October 24th) Slide credit: Kristen Grauman

Video from last time

Example using binary image analysis: Bg subtraction + blob detection University of Southern California http://iris.usc.edu/Projects/detect/detection-result.html Slide credit: Kristen Grauman

Topics overview Intro Multiple views and motion Features & filters Gradients Edges Blobs/regions Local invariant features Grouping & fitting Recognition Video processing Slide credit: Kristen Grauman

Topics overview Intro Multiple views and motion Features & filters Gradients Edges Blobs/regions Local invariant features Grouping & fitting Recognition Video processing Slide credit: Kristen Grauman

Topics overview Intro Multiple views and motion Features & filters Local invariant features Features & filters Filters Gradients Edges Blobs/regions Grouping & fitting Recognition Video processing Slide credit: Kristen Grauman

Earlier Image mosaics Fitting a 2D transformation 2D image warping Affine, Homography 2D image warping Computing an image mosaic

Robust feature-based alignment Source: L. Lazebnik

Robust feature-based alignment Extract features Source: L. Lazebnik

Robust feature-based alignment Extract features Compute putative matches Source: L. Lazebnik

Robust feature-based alignment Extract features Compute putative matches Loop: Hypothesize transformation T (small group of putative matches that are related by T) Source: L. Lazebnik

Robust feature-based alignment Extract features Compute putative matches Loop: Hypothesize transformation T (small group of putative matches that are related by T) Verify transformation (search for other matches consistent with T) Source: L. Lazebnik

Robust feature-based alignment Extract features Compute putative matches Loop: Hypothesize transformation T (small group of putative matches that are related by T) Verify transformation (search for other matches consistent with T) Source: L. Lazebnik

How to detect which features to match? Today How to detect which features to match?

Detecting local invariant features Detection of interest points Harris corner detection Scale invariant blob detection: LoG (next time) Description of local patches (next time)

Local features: main components Detection: Identify the interest points Description:Extract vector feature descriptor surrounding each interest point. Matching: Determine correspondence between descriptors in two views Kristen Grauman

Local features: desired properties Repeatability The same feature can be found in several images despite geometric and photometric transformations Saliency Each feature has a distinctive description Compactness and efficiency Many fewer features than image pixels Locality A feature occupies a relatively small area of the image; robust to clutter and occlusion

Goal: interest operator repeatability We want to detect (at least some of) the same points in both images. Yet we have to be able to run the detection procedure independently per image. No chance to find true matches! 22

Goal: descriptor distinctiveness We want to be able to reliably determine which point goes with which. Must provide some invariance to geometric and photometric differences between the two views. ?

Local features: main components Detection: Identify the interest points Description:Extract vector feature descriptor surrounding each interest point. Matching: Determine correspondence between descriptors in two views

What points would you choose?

Corners as distinctive interest points We should easily recognize the point by looking through a small window Shifting a window in any direction should give a large change in intensity “flat” region: no change in all directions “edge”: no change along the edge direction “corner”: significant change in all directions Slide credit: Alyosha Efros, Darya Frolova, Denis Simakov

Corners as distinctive interest points 2 x 2 matrix of image derivatives (averaged in neighborhood of a point). Notation:

What does this matrix reveal? First, consider an axis-aligned corner:

What does this matrix reveal? First, consider an axis-aligned corner: This means dominant gradient directions align with x or y axis Look for locations where both λ’s are large. If either λ is close to 0, then this is not corner-like. What if we have a corner that is not aligned with the image axes?

What does this matrix reveal? The eigenvalues of M reveal the amount of intensity change in the two principal orthogonal gradient directions in the window.

Corner response function “edge”: “corner”: “flat” region 1 >> 2 1 and 2 are large, 1 ~ 2; 1 and 2 are small; 2 >> 1 1 2

Harris corner detector Compute M matrix for each image window to get their cornerness scores. Find points whose surrounding window gave large corner response (f> threshold) Take the points of local maxima, i.e., perform non-maximum suppression 33

Example of Harris application Kristen Grauman

Example of Harris application Compute corner response at every pixel. Kristen Grauman

Example of Harris application Only non-maxes exceeding average (thresholded) Kristen Grauman

Properties of the Harris corner detector Rotation invariant? Scale invariant? Yes

Properties of the Harris corner detector Rotation invariant? Scale invariant? Yes No All points will be classified as edges Corner !

Harris Detector: Steps Slide credit: Kristen Grauman

Harris Detector: Steps Compute corner response f Slide credit: Kristen Grauman

Harris Detector: Steps Find points with large corner response: f > threshold Slide credit: Kristen Grauman

Harris Detector: Steps Take only the points of local maxima of f Slide credit: Kristen Grauman

Harris Detector: Steps Slide credit: Kristen Grauman

Summary Extracting interest points (and features) from images Image warping to create mosaic, given homography Interest point detection Harris corner detector Next time: Laplacian of Gaussian, automatic scale selection

Questions?