Image Stitching Linda Shapiro CSE 455
1
Image Stitching Linda Shapiro CSE 455 1 Combine two or more - - PowerPoint PPT Presentation
Image Stitching Linda Shapiro CSE 455 1 Combine two or more overlapping images to make one larger image Add example 2 Slide credit: Vaibhav Vaish How to do it? Basic Procedure 1. Take a sequence of images from the same position 1.
1
Add example Slide credit: Vaibhav Vaish
2
3
4
5
6
7
8
9
Let’s assume we are given a set of good matching interest points
10
mosaic PP
11
Camera Center
12
13
14
15
translation rotation aspect affine perspective
16
17
f(x) g(x’) x x’ h(x)
18
f(x) g(x’) x x’ h(x)
19
f(x) g(x’) x x’ h(x)
20
21
f(x) g(x’) x x’ h-1(x)
22
f(x) g(x’) x x’ h-1(x)
23
Translation 2 unknowns Affine 6 unknowns Perspective 8 unknowns
24
25
How do we solve for ?
27
Mean displacement =
Displacement of match i =
28
– What are the knowns? Unknowns? – How many unknowns? How many equations (per match)?
29
– “Overdetermined” system of equations – We will find the least squares solution
30
31
32
33
34
35
36
37
38
39
40
Defines a least squares problem:
2n × 9 9 2n
41
42
43
44
45
What do we do about the “bad” matches?
46
Select one match, count inliers
47
Select one match, count inliers
48
Find “average” translation vector
49
50
51
51
52
52
3 inliers
53
53
4 inliers
54
54
9 inliers
55
55
8 inliers
56
56