2/27/2017 1
Local features: detection and description
Kristen Grauman UT Austin Tues Feb 27
Announcements
- Reminder: Slides posted on course webpage
- Midterm next Thursday Mar 9
Local features: detection and description Kristen Grauman UT - - PDF document
2/27/2017 Local features: detection and description Kristen Grauman UT Austin Tues Feb 27 Announcements Reminder: Slides posted on course webpage Midterm next Thursday Mar 9 Closed book One 8.5x11 sheet of notes allowed 1
2/27/2017 1
2/27/2017 2
Hartley and Zisserman Lowe
Fei-Fei Li
Slide credit: Kristen Grauman
2/27/2017 3
2/27/2017 4
interest points
feature descriptor surrounding each interest point.
correspondence between descriptors in two views
) 1 ( ) 1 ( 1 1 d
) 2 ( ) 2 ( 1 2 d
Slide credit: Kristen Grauman
No chance to find true matches!
2/27/2017 5
y y y x y x x x
2/27/2017 6
Compute corner response f
2/27/2017 7
Find points with large corner response: f > threshold
Take only the points of local maxima of f
2/27/2017 8
Intuition:
f in both position and scale. f
region size Image 1
f
region size Image 2
s1 s2
2/27/2017 9
Laplacian-of-Gaussian = “blob” detector
2 2 2 2 2
img1 img2 img3
) ( ) (
yy xx
L L
1 2 3 4 5
List of (x, y, σ)
scale
Squared filter response maps
2/27/2017 10
Original image at ¾ the size
Slide credit: Kristen Grauman
Original image at ¾ the size
Scaled down image Original image
Slide credit: Kristen Grauman
2/27/2017 11
Scaled down image Original image
Slide credit: Kristen Grauman
Scaled down image Original image
Slide credit: Kristen Grauman
2/27/2017 12
Scaled down image Original image
Slide credit: Kristen Grauman
Scaled down image Original image
Slide credit: Kristen Grauman
2/27/2017 13
Scaled down image Original image
Slide credit: Kristen Grauman
Image credit: Lana Lazebnik
2/27/2017 14
interest points
feature descriptor surrounding each interest point.
correspondence between descriptors in two views
) 1 ( ) 1 ( 1 1 d
) 2 ( ) 2 ( 1 2 d
Slide credit: Kristen Grauman
e.g. scale, translation, rotation
2/27/2017 15
Figure from T. Tuytelaars ECCV 2006 tutorial
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.
Figure: Andrew Zisserman
2/27/2017 16
2p
gradients binned by orientation subdivided local patch Final descriptor = concatenation of all histograms, normalize histogram per grid cell
Slide credit: Kristen Grauman
http://www.vlfeat.org/overview/sift.html Interest points and their scales and orientations (random subset of 50) SIFT descriptors
Slide credit: Kristen Grauman
2/27/2017 17
CSE 576: Computer Vision
Image from Matthew Brown
Slide credit: Steve Seitz
2/27/2017 18
NASA Mars Rover images NASA Mars Rover images with SIFT feature matches Figure by Noah Snavely
2/27/2017 19
interest points
feature descriptor surrounding each interest point.
correspondence between descriptors in two views
Slide credit: Kristen Grauman
2/27/2017 20
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)
Image 1 Image 2
Slide credit: Kristen Grauman
At what SSD value do we have a good match? To add robustness to matching, consider ratio : dist to best match / dist to second best match If low, first match looks good. If high, could be ambiguous match.
Image 1 Image 2
Slide credit: Kristen Grauman
2/27/2017 21
Lowe IJCV 2004 http://www.vlfeat.org/overview/sift.html Interest points and their scales and orientations (random subset of 50) SIFT descriptors
Slide credit: Kristen Grauman
2/27/2017 22
http://www.vlfeat.org/overview/sift.html
Slide credit: Kristen Grauman
segmentation – Local character means robustness to clutter, occlusion
2/27/2017 23
Matthew Brown http://matthewalunbrown.com/autostitch/autostitch.html
2/27/2017 24
[Image from T. Tuytelaars ECCV 2006 tutorial]
2/27/2017 25
Slide credit: J. Sivic
Viewpoint Scale Lighting Occlusion
2/27/2017 26
– Harris corner detector – Laplacian of Gaussian, automatic scale selection
– Rotation according to dominant gradient direction – Histograms for robustness to small shifts and translations (SIFT descriptor)
Additional questions we need to address to achieve these applications:
matches
matches
Slide credit: Kristen Grauman
2/27/2017 27
Source: L. Lazebnik
Source: L. Lazebnik
2/27/2017 28
Source: L. Lazebnik
matches that are related by T)
Source: L. Lazebnik
2/27/2017 29
matches that are related by T)
with T)
Source: L. Lazebnik
matches that are related by T)
with T)
Source: L. Lazebnik