Keypoint Application: Panorama
Juan Carlos Niebles and Adrien Gaidon
Stanford Vision and Learning Lab
Slides by Anooshree Sengupta
Linear Algebra Review
Stanford University
27-Sep-2018
1
Outline
Linear Algebra Review
Stanford University
27-Sep-2018
2
Outline
Linear Algebra Review
Stanford University
27-Sep-2018
3
What are keypoints?
Reliable, unique points in images which can be used to find corresponding regions in different images of the same scene
Linear Algebra Review
Stanford University
27-Sep-2018
4
Finding keypoints
Harris Corner Detector
Use gradient Eigenvalues to find corners at a certain scale
Harris-Laplacian
Find keypoints using Harris and scale using Laplacian filter
DoG
Use DoG filters to find keypoints across space and scale
SCALE INVARIANT
Linear Algebra Review
Stanford University
27-Sep-2018
5
Describing keypoints
SIFT Descriptor
Keypoints as histogram of normalize gradient orientation
HoG
Region (or image) as histograms of local gradients
ROT. + SCALE INVARIANT
Linear Algebra Review
Stanford University
27-Sep-2018
6
RANSAC – algorithm for model fitting
Linear Algebra Review
Stanford University
27-Sep-2018
7
RANSAC – algorithm for model fitting
Linear Algebra Review
Stanford University
27-Sep-2018
8
RANSAC – algorithm for model fitting
Linear Algebra Review
Stanford University
27-Sep-2018
9
RANSAC – algorithm for model fitting
Linear Algebra Review
Stanford University
27-Sep-2018
10
RANSAC – algorithm for model fitting
Linear Algebra Review
Stanford University
27-Sep-2018
11
Outline
Linear Algebra Review
Stanford University
27-Sep-2018
12
Panorama
Linear Algebra Review
Stanford University
27-Sep-2018
13
Panorama
Linear Algebra Review
Stanford University
27-Sep-2018
14
Key insight: leverage corresponding keypoints
Linear Algebra Review
Stanford University
27-Sep-2018
15
Problem 1: how to match keypoints?
Linear Algebra Review
Stanford University
27-Sep-2018
16
Problem 2: how to fit images?
Linear Algebra Review
Stanford University
27-Sep-2018
17
Outline
Linear Algebra Review
Stanford University
27-Sep-2018
18
How to know if keypoints are “the same”?
Use keypoint descriptors!
Linear Algebra Review
Stanford University
27-Sep-2018
19
Matching algorithm
Try this with one for-loop!
Linear Algebra Review
Stanford University
27-Sep-2018
20
Matching result
Linear Algebra Review
Stanford University
27-Sep-2018
21
Outline
Linear Algebra Review
Stanford University
27-Sep-2018
22
Easy case: pictures taken from same angle
Linear Algebra Review
Stanford University
27-Sep-2018
23
Hard case: pictures taken from diff angles
Linear Algebra Review
Stanford University
27-Sep-2018
24
Find transformation between matches
| | 1 |
| | 1 |
| | 1 |
| | 1 |
| | 1 |
| | 1 |
| | 1 |
| | 1 |
Linear Algebra Review
Stanford University
27-Sep-2018
25
What if we have noisy matches?
Refine transformation matrix with RANSAC!
Linear Algebra Review
Stanford University
27-Sep-2018
26
Pick subset
Linear Algebra Review
Stanford University
27-Sep-2018
27
Fit affine matrix and find inliers
Linear Algebra Review
Stanford University
27-Sep-2018
28
Recompute matrix with all inliers and stitch!
Linear Algebra Review
Stanford University
27-Sep-2018
29
Outline
Linear Algebra Review
Stanford University
27-Sep-2018
30