82
Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book) Credits: M. Shah, UCF CAP5415, lecture 23 http://www.cs.ucf.edu/courses/cap6411/cap5415/, Trevor Darrell, Berkeley, C280, Marc Pollefeys Guido Gerig CS 6320 Spring 2015

Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View GeometryPart II

(Ch7 New book.Ch 10/11 old book)

Credits: M. Shah, UCF CAP5415, lecture 23 http://www.cs.ucf.edu/courses/cap6411/cap5415/, Trevor Darrell, Berkeley, C280, Marc Pollefeys

Guido GerigCS 6320 Spring 2015

Page 2: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View Geometry

Relates

Page 3: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View Geometry

Relates

• 3D World Points

Page 4: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View Geometry

Relates

• 3D World Points

• Camera Centers

Page 5: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View Geometry

Relates

• 3D World Points

• Camera Centers

• Camera Orientations

Page 6: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View Geometry

Relates

• 3D World Points

• Camera Centers

• Camera Orientations

• Camera Intrinsic Parameters

Page 7: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Multi-View Geometry

Relates

• 3D World Points

• Camera Centers

• Camera Orientations

• Camera Intrinsic Parameters

• Image Points

Page 8: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo

scene point

optical center

image plane

Page 9: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo

Basic Principle: Triangulation• Gives reconstruction as intersection of two rays

Page 10: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo

Basic Principle: Triangulation• Gives reconstruction as intersection of two rays

Page 11: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo

Basic Principle: Triangulation• Gives reconstruction as intersection of two rays

Page 12: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo

Basic Principle: Triangulation• Gives reconstruction as intersection of two rays

Page 13: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo

Basic Principle: Triangulation• Gives reconstruction as intersection of two rays• Requires

– calibration– point correspondence

Page 14: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

p p’?

Given p in left image, where can the corresponding point p’in right image be?

Page 15: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p

Page 16: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p

Y2X2

Z2O2

Page 17: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 18: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 19: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 20: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 21: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 22: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 23: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Page 24: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Epipolar Line

Page 25: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Stereo Constraints

X1

Y1

Z1O1

Image plane

Focal plane

M

p p’Y2

X2

Z2O2

Epipolar Line

Epipole

Page 26: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Demo Epipolar Geometry

Java Applet credit to:Quang-Tuan LuongSRI Int.Sylvain Bougnoux

Page 27: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Source: M. Pollefeys

Epipolar constraint

http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

Page 28: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

• Potential matches for p have to lie on the corresponding epipolar line l’.

Source: M. Pollefeys

Epipolar constraint

http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

Page 29: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

• Potential matches for p have to lie on the corresponding epipolar line l’.

Source: M. Pollefeys

Epipolar constraint

http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

Page 30: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

• Potential matches for p have to lie on the corresponding epipolar line l’.

Source: M. Pollefeys

Epipolar constraint

http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

Page 31: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

• Potential matches for p have to lie on the corresponding epipolar line l’.

Source: M. Pollefeys

Epipolar constraint

http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

Page 32: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

• Potential matches for p have to lie on the corresponding epipolar line l’.

• Potential matches for p’ have to lie on the corresponding epipolar line l.

Source: M. Pollefeys

Epipolar constraint

http://www.ai.sri.com/~luong/research/Meta3DViewer/EpipolarGeo.html

Page 33: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Finding Correspondences

Andrea Fusiello, CVonline

Strong constraints for searching for corresponding points!

Page 34: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example

Parallel Cameras: Corresponding points on horizontal lines.

Page 35: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Epipolar Constraint

Page 36: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

Page 37: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 38: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 39: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 40: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 41: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 42: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 43: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 44: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

From Geometry to Algebra

O O’

P

p p’

Page 45: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank
Page 46: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank
Page 47: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank
Page 48: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Linear Constraint:Should be able to express as matrix multiplication.

Page 49: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Review: Matrix Form of Cross Product

Page 50: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Review: Matrix Form of Cross Product

Page 51: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Matrix Form

Page 52: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The Essential Matrix

Page 53: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The Essential Matrix

• Based on the Relative Geometry of the Cameras

• Assumes Cameras are calibrated (i.e., intrinsic parameters are known)

• Relates image of point in one camera to a second camera (points in camera coordinate system).

• Is defined up to scale• 5 independent parameters

Page 54: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The Essential Matrix

What is εp’ ?

Page 55: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The Essential Matrix

Similarly p is the epipolar line corresponding to p in theright camera.

T

p’

Page 56: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The Essential Matrix

What is εe’ ?

• line εp’ converges to epipole e• e’ (center of camera C2 expressed

in frame C1)

eTεe’ ?

e’εe’

Page 57: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Pencil of epipolar lines

Page 58: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Pencil of epipolar lines

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

Page 59: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Epipoles

• The epipolar line l’ = εx to each point x (except e) intersects the epipole e0.

Thus e’ satisfies e’T(εx) = (e’T ε)x = 0 for all x.

• This implies that e’T ε = 0T or εTe’ = 0. The epipole e’ is thus a null vector

to εT (in the left null-space of ε).

• Similarly, εe = 0, i.e. e is a null-vector

to ε (in the right null-space of ε).

MVG Hartley & Zisserman

Page 60: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

MVG Hartley & Zisserman

Page 61: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

MVG Hartley & Zisserman

Epipoles

Page 62: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The Essential Matrix

0eR te

The essential matrix ε = [t]×R has 5 degrees of freedom; 3 rotation angles in R, 3 elements in t, but arbitrary scale.Essential Matrix is singular with rank 2.

Similarly, 0 etRetRe TTTT

Page 63: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

What if Camera Calibration is not known

Page 64: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Review: Intrinsic Camera Parameters

X

Y

Z C

Image plane

Focal plane

M

m

CCC ZYX ,,

u

vi

j

I

J

II vu ,

101000000

0

0

C

C

C

v

uI

I

ZYX

vfuf

Svu

90

vv

uu

fkffkf

Қ

Page 65: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Fundamental Matrix

Tp 0p system coordinate camerain are and pp

If u and u’ are corresponding image coordinates then we have:

pKupKu

2

1 uKp

KuuKpuKp TTTT

12

11

11

1

TT Ku 1 01

2 uK

0 uFuT TKF 11

2K

Page 66: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Fundamental Matrix

Fundamental Matrix is singular with rank 2.

TKF 11

2K0uFuT

The fundamental matrix F has 7 degrees of freedom: A 3 × 3 homogenous matrix has 8 degrees of freedom. The constraint rank(F) = 2 or det(F) = 0 reduces the number to 7.In principal F has 7 parameters up to scale and can be estimated from 7 point correspondences.Direct Simpler Method requires 8 correspondences (Olivier Faugeras, Computer Vision textbook).

Page 67: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank
Page 68: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank
Page 69: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example II: compute F for a forward translating camera

f

f

X YZ

Page 70: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

f

f

X YZ

first image second image

Page 71: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

71

Example: forward motion

courtesy of Andrew Zisserman

Page 72: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

72

Example: forward motion

courtesy of Andrew Zisserman

Page 73: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

e

e’

Page 74: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Estimating Fundamental Matrix0uFuT

Each point correspondence can be expressed as a linear equation:

01

1

333231

232221

131211

vu

FFFFFFFFF

vu

01

33

32

31

23

22

21

13

12

11

FFFFFFFFF

vuvvvvuuvuuu

The 8-point algorithm (Faugeras)

Page 75: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

The 8-point AlgorithmScaling: Set F33 to 1 -> Solve for 8 parameters.

Page 76: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

Page 77: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example ctd.

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

**refers to normal form of line: rho = x cos(phi) + y sin(phi)

uTFu’ = 0 → Fu’=l’, where l’ is epipolar line associated to u.

Page 78: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example: Left to Right

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

Page 79: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example: Right to Left

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

Page 80: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example: Epipoles?

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

Page 81: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Example: Epipoles?

http://www.cse.psu.edu/~rcollins/CSE486/lecture19_6pp.pdf

e

Page 82: Multi-View Geometry Part II (Ch7 New book. Ch 10/11 old book)gerig/CS6320-S2015/Materials/CS6320-CV... · 2015. 2. 11. · Fundamental Matrix Fundamental Matrix is singular with rank

Summary: Properties of the Fundamental matrix