Git Product home page Git Product logo

stereo_depth_estimator's Introduction

Stereo Depth Estimator

SGBM

Semi-global block matching - SGBM, by Hirschmuller, H. (2008). Stereo processing by semiglobal matching and mutual information. IEEE Transactions on pattern analysis and machine intelligence, 30(2), 328-341.

Usage

python3 stereo_depth_estimator_sgbm.py

Required directory structure:

.
β”œβ”€β”€ ...
β”œβ”€β”€ data                     
β”‚    β”œβ”€β”€ 1 (can be modified with DATASET constant)
β”‚        │──left (n left images)
β”‚        │──right (n right images)
β”‚        │──disparities (initially empty)
β”‚        │──combined (initially empty)

Results

Dataset 1

Dataset 2

Dataset 3

Author

Greg (Grzegorz) Surma

PORTFOLIO

GITHUB

BLOG

stereo_depth_estimator's People

Contributors

gsurma 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

Watchers

 avatar  avatar  avatar  avatar

stereo_depth_estimator's Issues

When I run the code on the same images provided the output is mostly red with a little blue!

Hi All,

This is an amazing piece of code, I am exploring stereo depth estimators at the moment and this is the best so far. However, I am having an issue when I run the code. I firstly download it from GitHub and then I open the data folder (1,2 and 3) and delete the disparities and the combined.

I then run the code for each folder by changing this:
DATASET = "data/1"

But then the output for each dataset is mostly red, like this.

Data Folder 1:

My Output (1st Frame):
000000_00

What it should look like:
000000_00

Data Folder 2:

My Output (1st Frame):
000001_10

What it should look like:
000001_00

Data Folder 3:

My Output (1st Frame):
000007_00

What it should look like:
000007_00

I hope that you can help!
Thanks
Aiyush

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.