Search
This homework is split into two weeks.
Having a fundamental matrix F and camera calibration K, the essential matrix E can be computed from the equation
F
K
E
$F = K^{-\top} E K^{-1}\,.$
First, matrix E1 is computed as
E1
$E1 = K^{\top} F K\,.$
Due to errors in data used to estimate F and/or K, the obtained matrix E1 is not a true essential matrix, its two non-zero singular values are not equal. So the matrix must be modified in order to make these singular values equal. The matrix E1 should be decomposed using the singular value decomposition, the matrix D replaced by diag(1,1,0) and correct esential matrix E is composed back.
D
$E1 = U D V^{\top}$
$E = U \left[\begin{array}{ccc}1&0&0\\0&1&0\\0&0&0\end{array}\right]V^{\top}$
Finally, K should be applied to compute a fundamental matrix Fe consistent with K from E (this matrix will differ from the original F).
Fe
Find two essential matrices. A possibly bad Ex and the best E
Ex
Fx
09_egx.pdf
d1_i
d2_i
09_errorsx.pdf
09_eg.pdf
09_errors.pdf
u1
u2
point_sel_e
09a_data.mat
R
C
P1
P2
X
P_i
09_reprojection.pdf
09_errorsr.pdf
09_view1.pdf
09_view2.pdf
09_view3.pdf
09b_data.mat
The first part: upload an archive consisting of:
hw09a.m
hw09a.py
The second part: upload an archive consisting of:
hw09b.m
hw09b.py