視差和深度分析與計算
我們先來看opencv給出的一個教程[ http://docs.opencv.org/3.1.0/dd/d53/tutorial_py_depthmap.html ]裡面對概念的說明。先看下面這張圖:
通過這張圖,我們得出視差的計算表示式為:
disparity=x-x^{'}=\frac{BF}{Z}
其中
x
和x^{'}
對應的是場景中的3D點和相機中心在影象平面上的投影點的距離,stack flow上面的回答[ http://stackoverflow.com/questions/17607312/difference-between-disparity-map-and-disparity-image-in-stereo-matching ]更加準確,這個稍後再來參考。B
是兩個相機中心的距離,f
是相機的焦距,Z
就是對應點的深度了(作者在這兒選擇Z代表深度,應該也是想要表達深度是Z軸方向的距離)。通過上面的表示式我們也能看出來深度和視差成反比。下面再來理解下視差這個概念。下面的英文講解得相當透徹,就不多此一舉翻譯成中文了。 Disparity refers to the distance between two corresponding points in the left and right image of a stereo pair. If you look at the image below you see a labelled point X (ignore X1, X2 & X3). By following the dotted line from X to OL you see the intersection point with the left hand plane at XL. The same principal applies with the right-hand image plane.
If X projects to a point in the left frame XL = (u,v) and to the right frame at XR = (p,q) you can find the disparity for this point as the magnitude of the vector between (u,v) and (p,q). Obviously this process involves choosing a point in the left hand frame and then finding its match (often called the corresponding point) in the right hand image; often this is a particularly difficult task to do without making a lot of mistakes.
相關文章
- 計算機視覺與深度學習公司計算機視覺深度學習
- 史丹佛—深度學習和計算機視覺深度學習計算機視覺
- 計算機視覺與深度學習應用關係計算機視覺深度學習
- 錢德沛教授:雲端計算和網格計算差別何在?薦
- 時間差計算
- 計算機視覺應用:深度學習的力量和侷限性計算機視覺深度學習
- 計算機視覺中的深度學習計算機視覺深度學習
- 計算機視覺與深度學習,看這本書就夠了計算機視覺深度學習
- JS計算時間差JS
- 深度學習高效計算與處理器設計深度學習
- Python獲取當前日期和日期差計算Python
- bash shell計算時間差
- 註冊時間差計算
- 計算兩個時間差
- carbon 計算當前時間與給定時間差
- 自學程式設計和計算機科班出身的差別在哪?程式設計計算機
- 字首和與差分
- 計算機視覺技術專利分析計算機視覺
- 雙目測距與三維重建的OpenCV實現問題集錦(三)立體匹配與視差計算OpenCV
- Android 計算倆個日期差Android
- JavaScript計算時間差詳解JavaScript
- 世界時區及時差計算
- 計算時間差,頁面倒數計時,安卓與ios相容問題安卓iOS
- excel日期加減計算方法 excel計算日期時間差Excel
- 8個計算機視覺深度學習中常見的Bug計算機視覺深度學習
- Python有效括號字串判斷和深度計算Python字串
- 反向代理與正向代理差異分析
- 逆波蘭計算器分析和實現
- UIMotionEffect和Home頁背景視差效果UI
- 差分方程自動計算專案
- pandas中計算總體標準差
- shell 計算時間差的問題
- AI與雲端計算的深度融合會帶來什麼?AI
- OpenCV 例項解讀:深度學習的計算與加速OpenCV深度學習
- 分析函式視窗子句 RANGE/ROWS 差別函式
- 【深度學習】:一門入門3D計算機視覺深度學習3D計算機視覺
- 深度三維殘差神經網路:視訊理解新突破神經網路
- 計算機影象與視覺入門必備計算機視覺