Skip to content

PatchMatchStereo,经典倾斜窗口匹配算法。原项目运行在Windows上,本项目为其Linux版本。

License

Notifications You must be signed in to change notification settings

sizeofbeer/PatchMatchStereo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatchMatchStereo

PatchMatchStereo,经典倾斜窗口匹配算法。原项目运行在Windows上,本项目为其Linux版本。

CSDN博客

如果你想了解更多代码讲解,下面的博客或许能帮到你:
【码上实战】【立体匹配系列】经典PatchMatch: (1)框架
【码上实战】【立体匹配系列】经典PatchMatch: (2)主类
【码上实战】【立体匹配系列】经典PatchMatch: (3)随机初始化
【码上实战】【立体匹配系列】经典PatchMatch: (4)代价计算
【码上实战】【立体匹配系列】经典PatchMatch: (5)迭代传播
【码上实战】【立体匹配系列】经典PatchMatch: (6)后处理

环境

Ubuntu 20.04

第三方库

OpenCV4

算法引导

算法框架图


代码框架图

备注

算法优点:效果好,内存占用低
算法缺点:效率低,速度比较慢,不建议跑大图,建议跑个小图看看效果(Release模式)。如果设置为前端平行窗口(PatchMatchStereo为倾斜窗口时效果最好),则速度会更快,如下:

pms_option.is_fource_fpw = true;

论文

Bleyer M, Rhemann C, Rother C. PatchMatch Stereo-Stereo Matching with Slanted Support Windows[C]. British Machine Vision Conference 2011. 2011.

About

PatchMatchStereo,经典倾斜窗口匹配算法。原项目运行在Windows上,本项目为其Linux版本。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 97.7%
  • CMake 2.3%