視差和深度分析與計算
我們先來看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.
![這裡寫圖片描述](https://i.iter01.com/images/e1278e2de8407f036f0f7d2c5e85c1a91ef4e01a14e3dc292a2f3a5323f6e95e.png)
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.
相關文章
- 計算機視覺與深度學習公司計算機視覺深度學習
- 史丹佛—深度學習和計算機視覺深度學習計算機視覺
- 計算機視覺與深度學習應用關係計算機視覺深度學習
- 計算機視覺應用:深度學習的力量和侷限性計算機視覺深度學習
- 時間差計算
- 計算機視覺中的深度學習計算機視覺深度學習
- 計算機視覺與深度學習,看這本書就夠了計算機視覺深度學習
- Python獲取當前日期和日期差計算Python
- 深度學習高效計算與處理器設計深度學習
- Android 計算倆個日期差Android
- 計算機視覺技術專利分析計算機視覺
- 字首和與差分
- Python有效括號字串判斷和深度計算Python字串
- matlab符號函式的求導與差分的計算Matlab符號函式求導
- 自學程式設計和計算機科班出身的差別在哪?程式設計計算機
- excel日期加減計算方法 excel計算日期時間差Excel
- 8個計算機視覺深度學習中常見的Bug計算機視覺深度學習
- 反向代理與正向代理差異分析
- 2018年數字化轉型四大趨勢與分析:雲端計算與物聯網深度整合
- 計算時間差,頁面倒數計時,安卓與ios相容問題安卓iOS
- 差分方程自動計算專案
- python程式計算執行時間差Python
- OpenCV 例項解讀:深度學習的計算與加速OpenCV深度學習
- 【深度學習】:一門入門3D計算機視覺深度學習3D計算機視覺
- 逆波蘭計算器分析和實現
- 樹上字首和與差分
- 計算機影象與視覺入門必備計算機視覺
- 基於深度學習分析與檢索海量短視訊內容深度學習
- AI與雲端計算的深度融合會帶來什麼?AI
- js處理浮點數計算誤差JS
- [深度學習] 計算機視覺低程式碼工具Supervision庫使用指北深度學習計算機視覺
- 一文讀懂計算機視覺中的深度域適應計算機視覺
- 深度學習與計算機視覺教程(16) | 生成模型(PixelRNN,PixelCNN,VAE,GAN)(CV通關指南·完結)深度學習計算機視覺模型RNNCNN
- 解讀操作型MDM和分析型MDM的差異與過渡WG
- 計算機演算法設計與分析筆記(二)——遞迴與分治計算機演算法筆記遞迴
- 為什麼計算機對浮點型數字計算存在誤差計算機
- 恆訊科技分析:使用邊緣計算和雲端計算各有何優勢?
- 深度殘差網路(ResNet)
- games101-2 透視深度插值矯正與抗鋸齒分析GAM