Skip to content

davidhalladay/CV-stereo-matching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stereo Matching

Environment_setting

  • System : MacOS Mojave

  • Python version : 3.7.4

  • Opencv-contrib : 3.4.2

  • Numpy : 1.16.2

  • Matplotlib : 3.0.3

Part_1

79381004_2670840826342685_6687252775518076928_n

Part_2

Explain your algorithm in terms of the standard 4-step pipeline. (cost computation, cost aggregation, disp. optimization, disp. refinement)

  • cost computation : 我使用Census transform的方式,來計算L,R的cost,另外在左右邊界上,我們可能會有無法計算cost的情況,因為window已經超過整個圖片,因此我會將這些沒有辦法計算的邊界,沒有計算到的disparity設成最大,這樣就不會有錯誤的disparity計算。
Census transform 概念

79381004_2670840826342685_6687252775518076928_n

  • cost aggregation : 這裡我使用blur來做均勻化的效果。
  • disp. optimization : 利用助教提供的方法,winner-take-all。
  • disp. refinement : 這裡我亦使用助教建議的方式,先做
    • Left-right consistency check,在左右兩個視角的深度圖上,找到不合理的點,再作對齊。

    • 再使用cv2.medianBlur,將生成出來的深度圖作均勻化處理。

    • 以及hole filling,將這些出來的圖形中,有小洞的地方補齊。

    • 最後使用bilateralFilter,進行最後的勻化處理。

Show your output disparity maps in the report

tsukuba teddy venus cones
tsukuba teddy venus cones
1.44 sec 2.56 sec 7.52 sce 7.78 sce

Show your bad pixel ratio of each disparity maps in the report

Screen Shot 2019-12-27 at 10.23.54 AM

Your reference papers or websites.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages