PatchMatchStereo双目立体匹配算法完整实现,代码规范,注释丰富且清晰,CSDN同步教学
【码上教学】【立体匹配系列】经典PatchMatch: (1)框架
windows10 / visual studio 2015&2019
opencv310
百度网盘连接:https://pan.baidu.com/s/1_WD-KdPyDBazEIim7NU3jA
提取码:aab4
解压后放将名称为OpenCV的文件夹复制到到3rdparty文件夹下
若运行时提示缺少opencv_310(d).dll,则在OpenCV文件夹里找到对应的dll文件复制到程序exe所在的目录即可(Opencv\dll\opencv_310(d).dll),带d为debug库,不带d为release库。
只在实验部分调用opencv库读取和显示图像,也可替换成其他图像库
算法框架图
代码框架图
修改hosts
C:\Windows\System32\drivers\etc\hosts
在文件末尾添加:
# GitHub Start
192.30.253.112 github.com
192.30.253.119 gist.github.com
151.101.184.133 assets-cdn.github.com
151.101.184.133 raw.githubusercontent.com
151.101.184.133 gist.githubusercontent.com
151.101.184.133 cloud.githubusercontent.com
151.101.184.133 camo.githubusercontent.com
151.101.184.133 avatars0.githubusercontent.com
151.101.184.133 avatars1.githubusercontent.com
151.101.184.133 avatars2.githubusercontent.com
151.101.184.133 avatars3.githubusercontent.com
151.101.184.133 avatars4.githubusercontent.com
151.101.184.133 avatars5.githubusercontent.com
151.101.184.133 avatars6.githubusercontent.com
151.101.184.133 avatars7.githubusercontent.com
151.101.184.133 avatars8.githubusercontent.com
# GitHub End