Lecture6 1
Lecture6 1
LoG can be
approximated by a
difference of two
Gaussians (DoG) at
different scales
𝑘2𝜎
𝑘4𝜎
𝑘3𝜎
𝑘2𝜎
𝑘𝜎
• Descriptors: robust
– spatial histograms of orientation
– SIFT and variants are typically good
for stitching and recognition
Which features match?
Feature matching
Given a feature in I1, how to find the best match
in I2?
1. Define distance function that compares two
descriptors
2. Test all the features in I2, find the one with min
distance
Feature distance
How to define the difference between two features f1, f2?
– Simple approach: L2 distance, ||f1 - f2 || (aka SSD)
– can give good scores to ambiguous (incorrect) matches
f1 f2
I1 I2
Feature distance
How to define the difference between two features f1, f2?
• Better approach: ratio distance = ||f1 - f2 || / || f1 - f2’ ||
• f2 is best SSD match to f1 in I2
• f2’ is 2nd best SSD match to f1 in I2
• gives large values for ambiguous matches
f1 f2' f2
I1 I2
Feature matching example