Feature Detection
]
Feature Detection ] Logistics Write the use of free late days - - PowerPoint PPT Presentation
Feature Detection ] Logistics Write the use of free late days right below the title. We only grade the latest submission. Regrading requests are allowed 2 weeks after the grade release. Wednesday lecture from 9:50am 10:40am
]
release.
Database of planar objects Instance recognition
Database of 3D objects 3D objects recognition
Recognition under occlusion
NASA Mars Rover images
Where are the corresponding points?
Find features that are invariant to transformations
Feature detection
Feature detection Feature descriptor
Feature detection Feature descriptor
CNN CNN CNN CNN Yes No Yes No CNN No CNN Yes
Zoom-in demo
Look for unusual image regions
How to define “unusual”?
Consider a small window of pixels
Slide adapted from Darya Frolova, Denis Simakov, Weizmann Institute.
Consider a small window of pixels
Slide adapted from Darya Frolova, Denis Simakov, Weizmann Institute.
“flat” region: no change in all directions “edge”: no change along the edge direction “corner”: significant change in all directions
Uniqueness = How does it change when shifted by a small amount?
Slide adapted from Darya Frolova, Denis Simakov, Weizmann Institute.
Define
E(u,v) = amount of change when you shift the window by (u,v) E(u,v) is small for all shifts E(u,v) is small for some shifts E(u,v) is small for no shifts
We want to be ______
Consider shifting the window W by (u,v)
Sum of the Squared Differences (SSD)
W
Taylor Series expansion of I: If the motion (u,v) is small, then first order approx is good Plugging this into the formula on the previous slide…
Consider shifting the window W by (u,v)
summing up the squared differences
W
This can be rewritten:
This can be rewritten: Which [u v] maximizes E(u,v)? Which [u v] minimizes E(u,v)?
This can be rewritten: Which [u v] maximizes E(u,v)? Which [u v] minimizes E(u,v)?
This can be rewritten: x- x+ Eigenvector with the largest eigen value? Eigenvector with the smallest eigen value? x- x+
The eigenvectors of a matrix A are the vectors x that satisfy: The scalar λ is the eigenvalue corresponding to x
Local measure of feature uniqueness
E(u,v) is small for all shifts E(u,v) is small for some shifts E(u,v) is small for no shifts
We want to be large =
Here’s what you do
Here’s what you do
Called “non-local max suppression”
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02
Flat
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012
Flat
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012 3 0.02 0.02
Flat ?
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012 3 0.02 0.02
Flat Edge
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012 3 0.02 0.02 2.5 3 1.36
Flat Edge ?
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012 3 0.02 0.02 2.5 3 1.36
Flat Edge Corner
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012 3 0.02 0.02 2.5 3 1.36 5 6 2.73
Flat Edge Corner ?
λ- is a variant of the “Harris operator” for feature detection
0.03 0.02 0.012 3 0.02 0.02 2.5 3 1.36 5 6 2.73
Flat Edge Corner Strong corner
λ- is a variant of the “Harris operator” for feature detection
Harris
Ellipse rotates but its shape (eigenvalues) remains the same Corner response R is invariant to image rotation
Partial invariance to affine intensity change
shift I → I + b
R
x (image coordinate) threshold
R
x (image coordinate)
The Harris detector is not invariant to changes in …
edge! corner!
Suppose you’re looking for corners Key idea: find scale that gives local maximum of f
Slide from Tinne Tuytelaars
Lindeberg et al, 1996
Slide from Tinne Tuytelaars
Lindeberg et al., 1996
Basic reading: