Docsity

Stereo Systems - Computer Vision - Slides | EECS 442, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Stereo Systems - Computer Vision - Slides | EECS 442 and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

EECS 442 – Computer vision Stereo systems

•Stereo vision •Rectification •Correspondence problem •Active stereo vision systems Reading:

[HZ] Chapter: 11^ [FP] Chapter: 11

Stereo vision

Goal: estimate the position of P given the observation of P from two view points^ Assumptions: known camera parameters and position (K, R, T)

p’

P

p O

1

O

2

Correspondence problem

p’

P

p O

1

O

2

Given a point in 3d, discover corresponding observations in left and right images [also called binocular fusion problem]

Triangulation

Intersecting the two lines of sight gives rise to P

p’

P

p O

1

O

2

O
O

P

e^2

p^

p’

e^2

Parallel image planes

K^
K

z^ x

→

y v = v’

Rectification: making two images “parallel”

u

v

u

v

Parallel image planes

⎤ ⎥ ⎥ ⎥⎦

⎡ ⎢ ⎢ ⎢⎣

−

=

=^

×

0

0

0 0

0

0 0

] [

T

T

R t

E

K
=K

= known

x parallel to O

O 1

2

O
O

P

e^2

p^

p’

e^2

K^
K

z^ x

y^

u

v

u

v

v = v’?

Making image planes parallel

p’

P

p

O

O
H ’

GOAL: Estimate the perspective transformation H

that makes the images parallel

Projective transformation

i x^

i x^

′

H

i

i^

x H

x

= ′

Now we don’t have the destination image

Making image planes parallel

T

2

1

T^

] 1

e e[

T R K e^

=

=^

T K e^

′

′=

Making image planes parallel

p’

P

p

e^

e’

K

K’

R,T

[^

]^ P

T

R

K

P^

[^

]^ P 0 I K

P^

→

O
O

Making image planes parallel

  1. Map e to the x-axis at location [1,0,1]

T

[^

T] 1

0 1

H H

1

T R

H

=^

→

=^

T

2

1

] 1

e e[ e

p’

P

p

e^

e’

K

K’

R,T

[^

]^ P 0 I K

P^

→

O
O

[^

]^ P

T

R

K

P^

Making image planes parallel

  1. Align epipolar lines

p’

p

H = H
H 1

2

P

e

O
O’

e’

  1. Define: H = H
H 1

2

Note: H is not unique!

Projective transformation of a line (in 2D)

l

H

l^

T

⎤ ⎥ ⎦

⎡ ⎢ ⎣ =^

b

v

t

A

H

Making image planes parallel

H

Courtesy figure S. Lazebnik

Why rectification is useful?

  • Makes the correspondence problem easier • Makes triangulation easy