Two-View Geometry: Epipolar Geometry and the Fundamental Matrix
簡韶逸 Shao-Yi Chien Department of Electrical Engineering National Taiwan University Fall 2018
1
Two-View Geometry: Epipolar Geometry and the Fundamental Matrix - - PowerPoint PPT Presentation
Two-View Geometry: Epipolar Geometry and the Fundamental Matrix Shao-Yi Chien Department of Electrical Engineering National Taiwan University Fall 2018 1 Outline Epipolar geometry and the fundamental matrix [Slides credit: Marc
簡韶逸 Shao-Yi Chien Department of Electrical Engineering National Taiwan University Fall 2018
1
2
[Slides credit: Marc Pollefeys]
3
4
What if only C,C’,x are known?
5
All points on p project on l and l’
6
Family of planes p and lines l and l’ Intersection in e and e’
7
Epipoles e,e’ = intersection of baseline with image plane = projection of projection center in other image = vanishing point of camera motion direction an epipolar plane = plane containing baseline (1-D family) an epipolar line = intersection of epipolar plane with image (always come in corresponding pairs)
8
9
10
e e’
11
Algebraic representation of epipolar geometry
we will see that mapping is (singular) correlation (i.e. projective mapping from points to lines) represented by the fundamental matrix F
12
π
π
If a=(a1, a2, a3)T [𝒃]×= −𝑏3 𝑏2 𝑏3 −𝑏1 −𝑏2 𝑏1
13
(note: doesn’t work for C=C’ F=0)
λ X
e'
14
The fundamental matrix satisfies the condition that for any pair of corresponding points x↔x’ in the two images
l' x'T
15
(i) Transpose: if F is fundamental matrix for (P,P’), then FT is fundamental matrix for (P’,P) (ii) Epipolar lines: l’=Fx & l=FTx’ (iii) Epipoles: on all epipolar lines, thus e’TFx=0, x e’TF=0, similarly Fe=0 (iv) F has 7 d.o.f. , i.e. 3x3-1(homogeneous)-1(rank2) (v) F is a correlation, projective mapping from a point x to a line l’=Fx (not a proper correlation, i.e. not invertible)
16
(pick k=e, since eTe≠0)
T
17
18
19
RK K H
1
T
example:
Translation is parallel to the x-axis
20
T
motion starts at x and moves towards e, faster depending on Z pure translation: F only 2 d.o.f., xT[e]xx=0 auto-epipolar
21
T
T
22
Derivation based purely on projective concepts
F invariant to transformations of projective 3-space
unique not unique canonical form
Same matching point!
26
previous slide: at least projective ambiguity this slide: not more! Show that if F is same for (P,P’) and (P,P’), there exists a projective transformation H so that P=PH and P’=P’H ~ ~ ~ ~
T 1
lemma:
ka a ~ F a ~ A a a aF
2 rank
T
av A
~ k A
~ k a A ~ a ~ A a
k k I k H
T 1 1
v
' P ~ ] a | av
[ v a] | [A H P'
T 1 T 1 1
k k k k I k
27
F matrix corresponds to P,P’ iff P’TFP is skew-symmetric
X 0, FPX P' X
T T
F matrix, S skew-symmetric matrix
F S F F e' F S F 0] | F[I ] e' | [SF
T T T T T T
(fund.matrix=F) Possible choice:
Canonical representation:
T
28
≡fundamental matrix for calibrated cameras (remove K)
T
T
x' K ' x ˆ x; K x ˆ
5 d.o.f. (3 for R; 2 for t up to scale) E is essential matrix if and only if two singularvalues are equal (and third=0)
T
Given E, P=[I|0], there are 4 possible choices for the second camera matrix P’
29
(only one solution where points is in front of both cameras)
30