














Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!















Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003
Problem
correspondences, compute 3-D
motion (translation and rotation)
and shape (depth).
Copyright Mubarak Shah 2003
Tomasi and Kanade
Orthographic
Projection
Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003
( )
( )
v j s t
u i s t
= −
= −
( , , )
p p P P
s = X Y Z 3D world
k
= i
× j
Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003
fp fP f
u = u −a
~
( )
1
( )
1
q f
P
q
T
p f f
T
f
i s t
P
= i s −t − −
∑
=
⎥
⎦
⎤
⎢
⎣
⎡
= − ∑
=
P
q
P q
T
f
s
P
i s
1
1
= i s
Origin of world is at the
centroid of object points
Copyright Mubarak Shah 2003
P
T
fP f
P
T
fP f
v j s
u i s
=
=
~
~
⎥
⎥
⎥
⎦
⎤
⎢
⎢
⎢
⎣
⎡
= −
V
U
W
~
~
~
Copyright Mubarak Shah 2003
fp fP f
u = u −a
~
u = i s
~
fp fP f
u = u + a
~
fp f p f
u = i s + a ( )
p f
T
fp f
u =i s −t
a
Copyright Mubarak Shah 2003
u =i s +a
T
p
W = RS + te
( 1 , 1 )
( , , , , , )
K
K K
=
=
e
t
a a b b
fp f p f
v = j s +b
2FX 1XP
2FX3 3XP
Copyright Mubarak Shah 2003
Projected camera translation can
be computed:
∑
∑
=
=
− = =
− = =
P
p
f f p
T
f
P
p
f f p
T
f
v
P
j t b
u
P
i t a
1
1
1
1
Copyright Mubarak Shah 2003
W
~
W
~
Copyright Mubarak Shah 2003
Singular Value Decomposition (SVD)
Theorem: Any m by n matrix A, for which
,can be written as
1 2
A = O ΣO
mxn
nxn nxn mxn
is diagonal
are orthogonal
Σ
1 2
O,O
O O O O I
T T = = 1 1 2 2
m ≥ n
Copyright Mubarak Shah 2003
Singular Value Decomposition (SVD)
If A is square, then are all square. 1 2
O , Σ,O
O 1
− 1
= O 1
T
O 2
− 1
= O 2
T
Σ
− 1
= diag(
1
w j
)
1 2
A =OΣO
− 1
= O 2
diag(
w j
1
1 2
A = O ΣO
mxn
nxn nxn mxn
Copyright Mubarak Shah 2003
Singular Value Decomposition (SVD)
j
j
Copyright Mubarak Shah 2003
Singular Value Decomposition (SVD)
Ax = b
Copyright Mubarak Shah 2003
Singular Value Decomposition (SVD)
1
j
2
j
Copyright Mubarak Shah 2003
= 0 j
w
j
w
1
O b
w
x O diag
T
j
2 1
)]
1
= [ (
Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003
[ ] 1 1 1
O = O′ O′′
⎥
⎦
⎤
⎢
⎣
⎡
Σ ′′
Σ′
Σ =
0
0
⎥
⎦
⎤
⎢
⎣
⎡
′′
′
=
2
2
2
O
O
O
1 2 1 2 1 2
O ΣO =O′Σ′O′+O′′Σ ′′O′′
3 P-
2F
3
P-
3
P-
P
(^3) P-
Copyright Mubarak Shah 2003
[ ]
[ ]
W R S
S O
R O
ˆ ˆ ˆ
ˆ
ˆ
2
2
1
2
1
1
=
= Σ′ ′
= ′ Σ′
ˆ
W =
ˆ
RQ ( )
Q
− 1 ˆ
S ( )
This decomposition is not unique
Q is any 3X3 invertable matrix
Approximate Rotation matrix
Approximate Shape matrix
Copyright Mubarak Shah 2003
ˆ
i
f
T
T
ˆ
i
f
= 1
ˆ
j
f
T
T
ˆ
j
f
= 1
ˆ
i
f
T
T
ˆ
j
f
= 0
R and S are linear transformation of
approximate Rotation and shape matrices
How to determine Q?
Rows of rotation matrix are unit vectors
and orthogonal
Copyright Mubarak Shah 2003
3
3 1
3 2
3 1 1
2 1 1
1 1 1
−
−
T
f
T T
f f
T
f
T T
f f
T
f
T T
f f
T T T
T T T
T T T
f i QQ j
f j QQ j
f i QQ i
f i QQ j
f j QQ j
f i QQ i
q
q
q
q
q
q
1
9
[ ]
ij
i
j
ε is error
Copyright Mubarak Shah 2003
1 2
~
W =OΣO
2
1
1
[ ]
2
2
1
ˆ
S = Σ′ O′
Q
ˆ
= S^ Q S
ˆ
− 1
=
Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003
Copyright Mubarak Shah 2003