目前主要有兩個方法實現深度檢測,分別是多影像深度檢測以及單影像深度檢測。前者由於需要多攝影機,因此擁有較高的硬體成本,不過軟體演算法相對簡單。後者雖然有較低的硬體成本,但軟體演算法卻相當複雜。這個領域近年來有著讓整個系統精簡、可攜,並且精巧化附於傳統攝影機的光學元件的趨勢。在這篇論文裡,我們使用桌上型電腦藉由圖形處理單元來實現單影像深度檢測,並且透過我們進化後的演算法及compute shader 的平行處理技術達到即時應用。這些方法大大地加速了高計算複雜度地單影像深度檢測,從原先幀率 0.003fps(在MATLAB實現)提升至幀率53fps(在compute shader 實現),幾乎是即時標準幀率30fps的兩倍。在先前的文獻,就我們所知沒有文獻討論單影像深度檢測的優化。
There are two major ways to implement depth estimation, multiple image depth estimation and single image depth estimation, respectively. The former has a high hardware cost because it uses multiple cameras but it has a simple software algorithm. Conversely, the latter has a low hardware cost but the software algorithm is complex. One of the recent trends in this field is to make a system compact, or even portable, and to simplify the optical elements to be attached to the conventional camera. In this paper, we present an implementation of depth estimation with a single image using a graphics processing unit (GPU) in a desktop PC, and achieve real-time application via our evolutional algorithm and parallel processing technique, employing a compute shader. The methods greatly accelerate the compute-intensive implementation of depth estimation with a single view image from 0.003 frames per second (fps) (implemented in MATLAB) to 53 fps, which is almost twice the real-time standard of 30 fps. In the previous literature, to the best of our knowledge, no paper discusses the optimization of depth estimation using a single image.