Git Product home page Git Product logo

ethan-li-coding / ad-census Goto Github PK

View Code? Open in Web Editor NEW
365.0 7.0 70.0 4.69 MB

AD-Census立体匹配算法,**学者Xing Mei等人研究成果(Respect!),算法效率高、效果出色,适合硬件加速,Intel RealSense D400 Stereo模块算法。完整实现,代码规范,注释清晰,欢迎star!

Home Page: https://github.com/ethan-li-coding/AD-Census

License: MIT License

C++ 100.00%
stereo ad-census stereo-vision stereo-matching depth-estimation census 3d-reconstruction ad

ad-census's Introduction

AD-Census

AD-Census立体匹配算法,**学者Xing Mei等人研究成果(Respect!),算法效率高、效果出色,适合硬件加速,Intel RealSense D400 Stereo模块算法。完整实现,代码规范,注释清晰,欢迎star!

环境

windows10 / visual studio 2015&2019
代码基本没有使用系统api,你可以非常方便的移植到linux,可能需要做极少量的修改

第三方库

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库读取和显示图像,也可替换成其他图像库

论文

Mei X , Sun X , Zhou M , et al. On building an accurate stereo matching system on graphics hardware[C]// IEEE International Conference on Computer Vision Workshops. IEEE, 2012.

Github图片不显示的解决办法

修改hosts

C:\Windows\System32\drivers\etc\hosts

在文件末尾添加:

# GitHub Start
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

ad-census's People

Contributors

ethan-li-coding avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ad-census's Issues

点云生成

在自己采的数据上计算的视差图怎么转换成点云呢?不知道视差除以什么尺度才能转成正确的点云。至于点云的计算我在知乎看过您关于点云图深度图的转换,应该没问题,问题应该出现在视差的转换上。

基于相位得匹配

你好 如果我想用此代码进行光栅条纹图解出绝对相位得匹配都需要进行那些改动?

关于生成的结果的测试问题

看了您的AD-Census以及PatchMatch这两个项目,想问下您有相关的测试代码嘛?因为我之前跑的是
https://github.com/WangHewei16/Stereo-Matching 这个项目中Tablecode中的测试Error_Non31这个测试代码,但是目前感觉有几个问题:1.想问下生成的这些各种各样的图片的对应关系,因为在
https://github.com/WangHewei16/Stereo-Matching
这个项目中,生成了许多的结果,比如result生成了许多注入dispLR,dispBoth这样的图片。
您生成的是视差图,和我生成的视差图在使用测试代码的时候结果差异很大,比如这张图片是使用您的代码生成的结果以及他这个项目生成的结果对比,result2我用测试代码运行您的patchmatch得到的图片(view1.png-d.png),以及另一个项目得到的图片(203_dispLR_so.png)去分别测试做对比,结果发现您的图片得到的结果错误率为99%。99
然而实际上肉眼可见您的方法生成的图片效果更好,是什么原因导致的这样的结果呢?路径是因为生成的图片的格式问题嘛?因为我看到您的方法生成的图片的灰度貌似看上去和他这个项目生成的图片灰度不一样2.可以把AD-Census以及PatchMatch两个算法取各自最优的部分结合起来,然后得到更好的测试结果吗?3.您有专门用来测试的更好的测试代码吗?谢谢!

Error for this code

What is the error for this code?

When I used the Middlebury evaluation SDK, I got a very high error of 85% if I set the bad threshold to 10. The AD-Census algorithm is run with the default disparity values. The final image generated is compared with the ground truth image present in the repo.

Upon increasing the threshold, the error decreases. However, this does not seem to be right. Because increasing the threshold means we are allowing a larger margin for error in the pixel values of the generated disparity and the ground truth disparity.

Is there some bug in the code or the method of evaluation needs to be changed? Can anyone help in this regard?

请问算法是否可以用gpu加速,gpu计算能不能实现实时计算

1.请问算法是否可以用gpu加速,gpu计算能不能实现实时计算
2.我跑了一下算法,匹配的效果比SemiGlobalMatching看起来要好很多,生成的地面很平,但有障碍物时旁边的地面会整体发生偏移.不知道精度对比SemiGlobalMatching是否有优势,还是过度平滑的结果.

请问您们是怎样直接拿到realsense的双目图像的

您好!
非常感谢您们出色的项目
目前我们课题组也在使用realsense进行双目深度估计的工作,但是我们刚开始使用realsense相机,并不清楚应该如何拿到realsense左右相机的原始图像。请问您能告诉我们如何拿到原始的双目图像吗?
非常感谢!

子像素优化?

博主您好,请问这里使用了子像素优化吗,在multistep-refiner中,没有发现这个步骤

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.