280 likes | 418 Views
期末 DEMO line segment 的 GPU 實現. 2012/08/14 指導教授:詹寶珠教授 報告者:陳正旻. Outline. 演算法流程介紹 ( 附實作結果 ) 時間比較和加速倍數 實作影片 總結. Flow chart. Algorithm. Line segment construction Two rules Color difference : Spatial distance :. (TIME)Line segment construction. Flow chart. Algorithm. Left. Right.
E N D
期末DEMO line segment的GPU實現 2012/08/14 指導教授:詹寶珠教授 報告者:陳正旻 1
Outline • 演算法流程介紹(附實作結果) • 時間比較和加速倍數 • 實作影片 • 總結 2
Algorithm • Line segment construction • Two rules • Color difference : • Spatial distance : 4
Algorithm Left Right d=1 R. Zabih and J. Woodfill, “Non-parametric local transforms for computing visual correspondence,” in Proc. ECCV, 1994, pp. 151–158. String 2 • Initial Disparity Computation • Matching cost : • CAD : • CCENSUS : Hamming distance of the two strings that stand for p and pd 7
Algorithm Left Right d=1 Cost aggregation Winner-take-all 9
初步結果 左圖的Depth 右圖的Depth 11
Flow chart 12
Algorithm Seed Pixel Detection Two rules 13
Flow chart 15
Algorithm • Scanline Propagation • Aa , if p is in occluded regions. • d • Ss , if p is near depth discontinuities. • a • is replaced by the linearly interpolated results of and in all other conditions. 16
Flow chart 19
Algorithm • Disparity Refinement • Vertical voting : We collect 𝑁 disparity votes in a vertical line segment that starts at pixel and ends at pixel ,if the color difference is smaller than the threshold value 𝜏 , the votes on disparity increase by 1. • c 20
GPU運算時間 CPU運算時間 24
時間比較和加速倍數 25
實作影片 26
總結 GPU加速持續改進。 再加入各種不同方法使結果更好。 27