Multi-view geometry
Slides from L. Lazebnik
Multi-view geometry Slides from L. Lazebnik Structure from motion - - PowerPoint PPT Presentation
Multi-view geometry Slides from L. Lazebnik Structure from motion Camera 1 Camera 3 Camera 2 R 1 ,t 1 R 3 ,t 3 R 2 ,t 2 Figure credit: Noah Snavely Structure from motion ? Camera 1 Camera 3 Camera 2 R 1 ,t 1 R 3 ,t 3 R 2 ,t 2
Slides from L. Lazebnik
Camera 3
Figure credit: Noah Snavely
Camera 1 Camera 2
Camera 3
Camera 1 Camera 2
point in two or more images, compute the 3D coordinates of that point
Camera 3
Camera 1 Camera 2
the camera parameters
Camera 1 Camera 2
in two images, compute the camera parameters
= intersections of baseline with image planes = projections of the other camera center = vanishing points of the motion direction
X x x’
= intersections of baseline with image planes = projections of the other camera center = vanishing points of the motion direction
planes (always come in corresponding pairs)
X x x’
x x’ X
epipolar line l’.
epipolar line l.
x x’ X x’ X x’ X
X
x x’
X
x x’
world coordinate system is set to that of the first camera
by the inverse of the calibration matrices to get normalized image coordinates:
pixel 1 norm pixel 1 norm
X
x x’
X
x x’
X
x x’ = Rx+t
= (x,1)T
[ ]
÷ ÷ ø ö ç ç è æ 1 x I
[ ]
÷ ÷ ø ö ç ç è æ 1 x t R
b a b a ] [
´
= ú ú ú û ù ê ê ê ë é ú ú ú û ù ê ê ê ë é
´
z y x x y x z y z
b b b a a a a a a
Recall:
X
x x’ = Rx+t
= (x,1)T
[ ]
÷ ÷ ø ö ç ç è æ 1 x I
[ ]
÷ ÷ ø ö ç ç è æ 1 x t R
b a b a ] [
´
= ú ú ú û ù ê ê ê ë é ú ú ú û ù ê ê ê ë é
´
z y x x y x z y z
b b b a a a a a a
Recall:
X
x x’ = Rx+t
= (x,1)T
[ ]
÷ ÷ ø ö ç ç è æ 1 x I
[ ]
÷ ÷ ø ö ç ç è æ 1 x t R
X
x x’
ú ú ú û ù ê ê ê ë é = ú ú ú û ù ê ê ê ë é = = 1 , where y x c b a
T
x l x l
X
x x’
X
x x’
X
x x’
1
X
x x’
(Faugeras and Luong, 1992)
1
1
T T
X
x x’
1
T T
T
1 1
33 32 31 23 22 21 13 12 11
= ú ú ú û ù ê ê ê ë é ú ú ú û ù ê ê ê ë é ¢ ¢ v u f f f f f f f f f v u [ ]
1
33 32 31 23 22 21 13 12 11
= ú ú ú ú ú ú ú ú ú ú ú ú û ù ê ê ê ê ê ê ê ê ê ê ê ê ë é ¢ ¢ ¢ ¢ ¢ ¢ f f f f f f f f f v u v v v u v u v u u u
T
32 31 23 22 21 13 12 11
32 31 23 22 21 13 12 11
Source: D. Hoiem
T i=1 N
i=1 N
xi
F T ! xi Fxi ! xi
8-point Normalized 8-point Nonlinear least squares
2.33 pixels 0.92 pixel 0.86 pixel
2.18 pixels 0.85 pixel 0.80 pixel