Local features: detection and description

Slides:



Advertisements
Similar presentations
Distinctive Image Features from Scale-Invariant Keypoints
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.
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Monday March 21 Prof. Kristen Grauman UT-Austin Image formation.
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
CSE 473/573 Computer Vision and Image Processing (CVIP)
Image alignment Image from
Robust and large-scale alignment Image from
Patch Descriptors CSE P 576 Larry Zitnick
Algorithms and Applications in Computer Vision
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
1 Interest Operators Find “interesting” pieces of the image –e.g. corners, salient regions –Focus attention of algorithms –Speed up computation Many possible.
Affine Linear Transformations Prof. Graeme Bailey (notes modified from Noah Snavely, Spring 2009)
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Lecture 4: Feature matching
1 Interest Operator Lectures lecture topics –Interest points 1 (Linda) interest points, descriptors, Harris corners, correlation matching –Interest points.
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
Feature-based object recognition Prof. Noah Snavely CS1114
Scale Invariant Feature Transform (SIFT)
Automatic Matching of Multi-View Images
Blob detection.
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 8: Scale invariance.
Lecture 6: Feature matching and alignment CS4670: Computer Vision Noah Snavely.
Overview Harris interest points Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points Evaluation and comparison of different.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Lecture 06 06/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Lecture 4: Feature matching CS4670 / 5670: Computer Vision Noah Snavely.
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.
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.
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.
CS654: Digital Image Analysis
776 Computer Vision Jan-Michael Frahm Spring 2012.
Blob detection.
Lecture 5: Feature detection and matching CS4670 / 5670: Computer Vision Noah Snavely.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Interest Points EE/CSE 576 Linda Shapiro.
Lecture 13: Feature Descriptors and Matching
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
TP12 - Local features: detection and description
Scale and interest point descriptors
Local features: detection and description May 11th, 2017
Feature description and matching
CAP 5415 Computer Vision Fall 2012 Dr. Mubarak Shah Lecture-5
CSE 455 – Guest Lectures 3 lectures Contact Interest points 1
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Local features and image matching
SIFT keypoint detection
Lecture VI: Corner and Blob Detection
Computational Photography
Feature descriptors and matching
Lecture 5: Feature invariance
Lecture 5: Feature invariance
Local features and image matching May 7th, 2019
Lecture: Feature Descriptors
Presentation transcript:

Local features: detection and description Tuesday October 6th 2015 Devi Parikh Virginia Tech Disclaimer: Most 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. Slide credit: Kristen Grauman

Announcements Project proposal grades out PS2 due last night PS3 due October 19th 11:55 pm Slide credit: Devi Parikh

Topics overview Features & filters Grouping & fitting Multiple views and motion Homography and image warping Local invariant features Image formation Epipolar geometry Stereo and structure from motion Recognition Video processing Slide credit: Kristen Grauman

Last time Detecting corner-like points in an image Slide credit: Kristen Grauman

Today Local invariant features Detection of interest points (Harris corner detection) Scale invariant blob detection: LoG Description of local patches SIFT : Histograms of oriented gradients Slide credit: Kristen Grauman

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

Properties of the Harris corner detector Rotation invariant? Scale invariant? Yes Slide credit: Kristen Grauman

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

Scale invariant interest points How can we independently select interest points in each image, such that the detections are repeatable across different scales? Slide credit: Kristen Grauman

Automatic scale selection Intuition: Find scale that gives local maxima of some function f in both position and scale. f region size Image 1 f region size Image 2 s1 s2 Slide credit: Kristen Grauman

What can be the “signature” function? Slide credit: Kristen Grauman

Recall: Edge detection f Derivative of Gaussian Edge = maximum of derivative Source: S. Seitz

Recall: Edge detection f Edge Second derivative of Gaussian (Laplacian) Edge = zero crossing of second derivative Source: S. Seitz

From edges to blobs Edge = ripple Blob = superposition of two ripples maximum Spatial selection: the magnitude of the Laplacian response will achieve a maximum at the center of the blob, provided the scale of the Laplacian is “matched” to the scale of the blob Slide credit: Lana Lazebnik

Blob detection in 2D Laplacian of Gaussian: Circularly symmetric operator for blob detection in 2D Slide credit: Kristen Grauman

Blob detection in 2D: scale selection Laplacian-of-Gaussian = “blob” detector filter scales img2 img3 img1 Bastian Leibe

Blob detection in 2D We define the characteristic scale as the scale that produces peak of Laplacian response characteristic scale Slide credit: Lana Lazebnik

Example Original image at ¾ the size Kristen Grauman

Original image at ¾ the size Kristen Grauman

Kristen Grauman

Kristen Grauman

Kristen Grauman

Kristen Grauman

Kristen Grauman

Scale invariant interest points Interest points are local maxima in both position and scale. s1 s2 s3 s4 s5 scale  List of (x, y, σ) Squared filter response maps Slide credit: Kristen Grauman

Scale-space blob detector: Example T. Lindeberg. Feature detection with automatic scale selection. IJCV 1998. Slide source: Kristen Grauman CS 376 Lecture 15

Scale-space blob detector: Example Image credit: Lana Lazebnik

(Difference of Gaussians) Technical detail We can approximate the Laplacian with a difference of Gaussians; more efficient to implement. (Laplacian) (Difference of Gaussians) Slide credit: Kristen Grauman

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 Slide credit: Kristen Grauman

Geometric transformations e.g. scale, translation, rotation Slide credit: Kristen Grauman

Photometric transformations Figure from T. Tuytelaars ECCV 2006 tutorial Slide credit: Kristen Grauman

Raw patches as local descriptors The simplest way to describe the neighborhood around an interest point is to write down the list of intensities to form a feature vector. But this is very sensitive to even small shifts, rotations. Slide credit: Kristen Grauman

SIFT descriptor [Lowe 2004] Use histograms to bin pixels within sub-patches according to their orientation. 2 p Why subpatches? Why does SIFT have some illumination invariance? Slide credit: Kristen Grauman

Making descriptor rotation invariant CSE 576: Computer Vision Rotate patch according to its dominant gradient orientation This puts the patches into a canonical orientation. Slide credit: Kristen Grauman Image from Matthew Brown

SIFT descriptor [Lowe 2004] Extraordinarily robust matching technique Can handle changes in viewpoint Up to about 60 degree out of plane rotation Can handle significant changes in illumination Sometimes even day vs. night (below) Fast and efficient—can run in real time Lots of code available http://people.csail.mit.edu/albert/ladypack/wiki/index.php/Known_implementations_of_SIFT 35 Steve Seitz

Example NASA Mars Rover images Slide credit: Kristen Grauman

with SIFT feature matches Figure by Noah Snavely Example NASA Mars Rover images with SIFT feature matches Figure by Noah Snavely Slide credit: Kristen Grauman

SIFT properties Invariant to Scale Rotation Partially invariant to Illumination changes Camera viewpoint Occlusion, clutter Slide credit: Kristen Grauman

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 Slide credit: Kristen Grauman

Matching local features Kristen Grauman

Matching local features ? Image 1 Image 2 To generate candidate matches, find patches that have the most similar appearance (e.g., lowest SSD) Simplest approach: compare them all, take the closest (or closest k, or within a thresholded distance) Kristen Grauman

? ? ? ? Ambiguous matches At what SSD value do we have a good match? Image 1 Image 2 At what SSD value do we have a good match? To add robustness to matching, can consider ratio : distance to best match / distance to second best match If low, first match looks good. If high, could be ambiguous match. Kristen Grauman

Matching SIFT Descriptors Nearest neighbor (Euclidean distance) Threshold ratio of nearest to 2nd nearest descriptor Lowe IJCV 2004 Slide credit: Kristen Grauman

Recap: robust feature-based alignment Source: L. Lazebnik

Recap: robust feature-based alignment Extract features Source: L. Lazebnik

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

Recap: 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

Recap: 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

Recap: 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

Applications of local invariant features Wide baseline stereo Motion tracking Panoramas Mobile robot navigation 3D reconstruction Recognition … Slide credit: Kristen Grauman

Automatic mosaicing http://www.cs.ubc.ca/~mbrown/autostitch/autostitch.html Slide credit: Kristen Grauman

Wide baseline stereo [Image from T. Tuytelaars ECCV 2006 tutorial] Slide credit: Kristen Grauman

Recognition of specific objects, scenes Schmid and Mohr 1997 Sivic and Zisserman, 2003 Rothganger et al. 2003 Lowe 2002 Kristen Grauman

Summary Interest point detection Invariant descriptors Harris corner detector Laplacian of Gaussian, automatic scale selection Invariant descriptors Rotation according to dominant gradient direction Histograms for robustness to small shifts and translations (SIFT descriptor)

Questions? See you Thursday! Slide credit: Devi Parikh