Rigid Geometric Transformations
COMPSCI 527 — Computer Vision
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 1 / 15
Rigid Geometric Transformations COMPSCI 527 Computer Vision - - PowerPoint PPT Presentation
Rigid Geometric Transformations COMPSCI 527 Computer Vision COMPSCI 527 Computer Vision Rigid Geometric Transformations 1 / 15 Outline 1 Motivation 2 Projection 3 Cross Product 4 Triple Product 5 Rotations 6 Rigid Transformations
Rigid Geometric Transformations
COMPSCI 527 — Computer Vision
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 1 / 15Outline
1 Motivation 2 Projection 3 Cross Product 4 Triple Product 5 Rotations 6 Rigid Transformations
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 2 / 15Motivation
static scene is a rigid transformation
projection, which we have seen in general
cross product and triple product
Projection
p b athrough b that is closest to a
p = xb for some x
bT (a xb) = 0, which yields x = bT a
bT b so that
p = xb = b x = bbT
bT b a
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 4 / 15BI
bib
pi
O
c IR
tEf
Ow
MAGNITUDE
The Projection Matrix
bT b a
b = Pb
kpk2 =
Pj
IT
EIS Ps
btp
at
Pb Pba
IP
I
at bgbb a
EIJI
p
sign Eb
Pb
bBT
latte
1lb
The Cross Product
vectors a and b is a vector c orthogonal to both a and b,
magnitude kck = ka ⇥ bk = kak kbk sin θ where θ is the smaller angle between a and b
a and b
ay az bx by bz
O
ETI UEI LIE
The Cross-Product Matrix
c = a ⇥ b = [a]×b c = 2 4 cx cy cz 3 5 = 2 4 3 5 2 4 bx by bz 3 5
[a]T
× = [a]×
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 7 / 15a
ay Qx
O
The Triple Product
= ax(bycz bzcy) ay(bxcz bzcx) + az(bxcy bycx)
aT(c ⇥ b) = cT(b ⇥ a) = bT(a ⇥ c)
E
ta 5
d
g
Multiple Reference Frames
camera moves, or we consider multiple cameras, or we consider one camera and the world, we have multiple reference systems
coordinates are expressed in: 1y
talking about: x2
Multiple Reference Frames
2 4 3 5
have ⇥ iii
iji iki
⇤ = I , the 3 ⇥ 3 identity matrix
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 10 / 15if
t
O
se
Rotations
x y z k1 1 j 1 i x 1 y 1 z 12 4 3 5
expressed in reference system 0
0p, what is 1p?
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 11 / 15f
O
Rotations
x y z
1i x
1 1j y
1k1 z
1p
p = 1x i1 + 1y j1 + 1z k1
1x = iT 1 p
,
1y = jT 1 p
,
1z = kT 1 p 1p =
2 4
1x 1y 1z
3 5 = 2 4 iT
1 p
jT
1 p
kT
1 p
3 5 = R1 p where R1 = 0R1 = 2 4 iT
1
jT
1
kT
1
3 5 (unit vectors are the rows)
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 12 / 15Rotations in General
bp = aRbap
where
aRb =
2 4
aiT b ajT b akT b
3 5
b
b
2 4 r11 r12 r13 r21 r22 r23 r31 r32 r33 3 5 = 2 4
aiT b ajT b akT b
3 5
vector in Sb onto the n-th vector in Sa
columns of R
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 13 / 15Properties of Rotation
because i ⇥ j = k , j ⇥ k = i , k ⇥ i = j
(Ra) ⇥ (Rb) = R (a ⇥ b)
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 14 / 15Coordinate Transformation
j0 i0 k0 j1 i1 k1 p t1 p − t11p = R1(p t1)
1 1p + t1
where bRa = aRT
b and bta = aRbatb
COMPSCI 527 — Computer Vision Rigid Geometric Transformations 15 / 15bp
lap
R
ftp.bR.bpbta
Y p
p t
bp
l2aTeptbta
bR
Owo