epiception / theano-mc-cnn

Simple Theano Implementation of https://arxiv.org/abs/1510.05970 for Stereo Depth Maps
17 stars 9 forks source link

Does the theano-mc-cnn include post-processing steps? #2

Closed xdsonglinliu closed 4 years ago

xdsonglinliu commented 7 years ago

I have run your code on Windows. Wonderful work. As you know, the original mc-cnn contains a series of post-processing steps. What about this code?

epiception commented 7 years ago

I am currently in the middle of writing a threaded version of Semiglobal matching in cpp, based on this repo: https://github.com/reisub/SemiGlobal-Matching

I will be using Census Transform based cost for this implementation, mainly because I don't have a well trained set of weights. (I have lost access to a GPU I had earlier as well).

Let me know if you can upload some trained weights. I shall upload Semiglobal matching as a separate repo in a few days. Or, you can refer to the link. (Maybe use Python-C API).

I don't know about Cross based cost aggregation. I think 16 direction path Semiglobal will be just as good in refining the prior disparity map.

The last few refinement steps could be implemented in OpenCV. Interpolation and Bilateral filter are readily available.

epiception commented 7 years ago

A simple implementation of Semiglobal Matching (Non-threaded, CPU) is now available here: https://github.com/epiception/SGM-Census Will be working more on this soon.