計算機(jī)視覺基礎(chǔ)5——本質(zhì)矩陣與基本矩陣(Essential and Fundamental Matrices)

回顧本質(zhì)矩陣的定義


image

本質(zhì)矩陣的基本性質(zhì):
image

結(jié)合成像的幾何關(guān)系
      
image

Longuet-Higgins equation
image

注意大小寫的區(qū)別哦,大小表示物點(diǎn)矢量,小與表示像點(diǎn)矢量。
像平面上的一點(diǎn)可以看作:
? (u,v) 2D film point(局限于像平面上來考慮)
? (u,v,f) 3D point on film plane(相機(jī)坐標(biāo)系中來考慮)
? k(u,v,f) viewing ray into the scene(透過像點(diǎn)和原點(diǎn)射線上點(diǎn)的像,相機(jī)坐標(biāo)系中來考慮)
? k(X, Y, Z) ray through point P in the scene(在世界坐標(biāo)系中來考慮)
設(shè)l
為像平面上的一直線:au+bv+c=0

由點(diǎn)線結(jié)合關(guān)系可得:


因此有
image

這樣就可以用幾何的觀點(diǎn)來解釋上述方程:左像平面上的一點(diǎn)pl
乘以本質(zhì)矩陣E
,結(jié)果為一條直線,該直線就是pl
的極線,且過pl
在右像平面上的對應(yīng)點(diǎn)pr
。這個結(jié)論十分喜人。
同理有
image

? Remember: epipoles belong to the epipolar lines
image

? And they belong to all the epipolar lines
image

關(guān)于本質(zhì)矩陣的關(guān)系總結(jié)如下:
image

本質(zhì)矩陣采用的是相機(jī)的外部參數(shù),也就是說采用相機(jī)坐標(biāo)(The essential matrix uses CAMERA coordinates),如果要分析數(shù)字圖像,則要考慮坐標(biāo)(u,v),此時需要用到內(nèi)部參數(shù)(To use image coordinates we must consider the INTRINSIC camera parameters)
image

從像素級來考慮,有如下關(guān)系
image

short version: The same equation works in pixel coordinates too!
矩陣F
稱為基本矩陣:F=M?TrRSM?1l

? has rank 2
? depends on the INTRINSIC and EXTRINSIC Parameters (f, etc ; R & T)
Analogous to essential matrix. The fundamental matrix also tells how pixels (points) in each image are related to epipolar lines in the other image.
例子:

image

image
image

image
image

由F?el=0
,并根據(jù)下圖,where is the epipole? vector in the right nullspace of matrix F
,即F
的右零空間。當(dāng)然el
是非零向量,也就是說F?el=0
有非零解,說明矩陣F
不是滿秩的,或者說它是奇異的,However, due to noise,F may not be singular.So instead, next best thing is eigenvector associated with smallest eigenvalue of F。
image

[u,d] = eigs(F’ * F)u =-0.0013 0.2586 -0.96600.0029 -0.9660 -0.25861.0000 0.0032 -0.0005d = 1.0e8*-1.0000 0 00 -0.0000 00 0 -0.0000eigenvector associated with smallest eigenvalue>> uu = u(:,3)uu = ( -0.9660 -0.2586 -0.0005)>> uu / uu(3) : to get pixel coords(1861.02 498.21 1.0)

where is the epipole?


image

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容