E Essential Matrix 16-385 Computer Vision (Kris Kitani) Carnegie - - PowerPoint PPT Presentation

e
SMART_READER_LITE
LIVE PREVIEW

E Essential Matrix 16-385 Computer Vision (Kris Kitani) Carnegie - - PowerPoint PPT Presentation

E Essential Matrix 16-385 Computer Vision (Kris Kitani) Carnegie Mellon University Recall:Epipolar constraint p l 0 x x 0 l o 0 o e 0 e l 0 Potential matches for lie on the epipolar line x The epipolar geometry is an important concept


slide-1
SLIDE 1

E

Essential Matrix

16-385 Computer Vision (Kris Kitani)

Carnegie Mellon University

slide-2
SLIDE 2

p

Recall:Epipolar constraint

e e0 l l0

Potential matches for lie on the epipolar line x

x

l0

x0

slide-3
SLIDE 3

The epipolar geometry is an important concept for stereo vision

Left image Right image

Task: Match point in left image to point in right image How would you do it?

slide-4
SLIDE 4

The epipolar constraint is an important concept for stereo vision

Left image Right image

Task: Match point in left image to point in right image

Epipolar constrain reduces search to a single line

How do you compute the epipolar line?

slide-5
SLIDE 5

Essential Matrix

The Essential Matrix is a 3 x 3 matrix that encodes epipolar geometry

E

slide-6
SLIDE 6

Given a point in one image, multiplying by the essential matrix will tell us the epipolar line in the second view.

Ex = l0

e e0 l0

x X x0

slide-7
SLIDE 7

Epipolar Line

l =   a b c  

in vector form

l e x

If the point is on the epipolar line then

x l

ax + by + c = 0

x>l = ?

Representing the …

slide-8
SLIDE 8

Epipolar Line

l =   a b c  

in vector form

l e x

If the point is on the epipolar line then

x l

ax + by + c = 0

x>l = 0

slide-9
SLIDE 9

Recall: Dot Product

a b c = a × b c · a = 0 c · b = 0

dot product of two orthogonal vectors is zero

slide-10
SLIDE 10
  • x

l =   a b c  

>l

vector representing the line is normal (orthogonal) to the plane vector representing the point x is inside the plane

x>l = 0

Therefore:

slide-11
SLIDE 11

e e0 l0

x X x0

x>l = 0

Ex = l0

So if and then

x0>Ex = ?

slide-12
SLIDE 12

e e0 l0

x X x0

x>l = 0

Ex = l0

So if and then

x0>Ex = 0

slide-13
SLIDE 13

Motivation

The Essential Matrix is a 3 x 3 matrix that encodes epipolar geometry Given a point in one image, multiplying by the essential matrix will tell us the epipolar line in the second view.

slide-14
SLIDE 14

Essential Matrix vs Homography

What’s the difference between the essential matrix and a homography?

slide-15
SLIDE 15

Essential Matrix vs Homography

What’s the difference between the essential matrix and a homography? They are both 3 x 3 matrices but …

slide-16
SLIDE 16

Essential Matrix vs Homography

They are both 3 x 3 matrices but …

l0 = Ex

x0 = Hx

Essential matrix maps a point to a line Homography maps a point to a point

What’s the difference between the essential matrix and a homography?

slide-17
SLIDE 17

Where does the Essential matrix come from?

slide-18
SLIDE 18

t R, t x X x0

x0 = R(x − t)

slide-19
SLIDE 19

t R, t x X x0

x0 = R(x − t)

Does this look familiar?

slide-20
SLIDE 20

t R, t x X x0

x0 = R(x − t)

Camera-camera transform just like world-camera transform

slide-21
SLIDE 21

t x X x0

x, t, x0

These three vectors are coplanar

slide-22
SLIDE 22

If these three vectors are coplanar then

t x X x0

x>(t × x) = ?

x, t, x0

slide-23
SLIDE 23

If these three vectors are coplanar then

t x X x0

x, t, x0

x>(t × x) = 0

slide-24
SLIDE 24

Recall: Cross Product

a b c = a × b c · a = 0 c · b = 0

Vector (cross) product 
 takes two vectors and returns a vector perpendicular to both

slide-25
SLIDE 25

If these three vectors are coplanar then

t x X x0

x, t, x0

(x − t)>(t × x) = ?

slide-26
SLIDE 26

If these three vectors are coplanar then

t x X x0

x, t, x0

(x − t)>(t × x) = 0

slide-27
SLIDE 27

putting it together

(x − t)>(t × x) = 0

coplanarity

x0 = R(x − t)

rigid motion

(x0>R)(t × x) = 0

slide-28
SLIDE 28

putting it together

(x − t)>(t × x) = 0

coplanarity

x0 = R(x − t)

rigid motion

(x0>R)(t × x) = 0 (x0>R)([t⇥]x) = 0

slide-29
SLIDE 29

a × b =   a2b3 − a3b2 a3b1 − a1b3 a1b2 − a2b1   a × b = [a]×b =   −a3 a2 a3 −a1 −a2 a1     b1 b2 b3  

Can also be written as a matrix multiplication Cross product Skew symmetric

slide-30
SLIDE 30

putting it together

(x − t)>(t × x) = 0

coplanarity

x0 = R(x − t)

rigid motion

(x0>R)(t × x) = 0 (x0>R)([t⇥]x) = 0 x0>(R[t⇥])x = 0

slide-31
SLIDE 31

putting it together

(x − t)>(t × x) = 0

coplanarity

x0 = R(x − t)

rigid motion

(x0>R)(t × x) = 0 (x0>R)([t⇥]x) = 0 x0>(R[t⇥])x = 0

x0>Ex = 0

slide-32
SLIDE 32

putting it together

(x − t)>(t × x) = 0

coplanarity

x0 = R(x − t)

rigid motion

(x0>R)(t × x) = 0 (x0>R)([t⇥]x) = 0 x0>(R[t⇥])x = 0

x0>Ex = 0

Essential Matrix [Longuet-Higgins 1981]

slide-33
SLIDE 33

properties of the E matrix

x0>Ex = 0

Longuet-Higgins equation (points in normalized coordinates)

slide-34
SLIDE 34

properties of the E matrix

x0>Ex = 0

x>l = 0 x0>l0 = 0

l0 = Ex

l = ET x0

Epipolar lines Longuet-Higgins equation (points in normalized coordinates)

slide-35
SLIDE 35

properties of the E matrix

x0>Ex = 0

x>l = 0 x0>l0 = 0

l0 = Ex

l = ET x0

Epipolar lines Longuet-Higgins equation Epipoles

Ee = 0 e0>E = 0

(points in normalized camera coordinates)

slide-36
SLIDE 36

How do you generalize to uncalibrated cameras?