Giter Site home page Giter Site logo

stereo-matching's Introduction

stereo-matching

Dense disparity estimation via local stereo matching

diagram

Overview

The code implements the local color-weighted disparity estimation algorithm and evaluates its performance on a set of stereo image pairs. The algorithm includes the following steps:

  1. Cost function calculation
  2. Cost aggregation based on:
    1. Box filtering
    2. Gaussian filtering
    3. Local color-weighted filtering
  3. Winner-takes-all (WTA) disparity estimation
  4. Detection of occlusions
  5. Computation confidence values for disparity estimates
  6. Post-filtering to tackle occlusions and bad pixels (needs map from 4. and 5.)

Performance Evaluation of the algorithm

  • Calculation of BAD quality metric given the true disparity map
  • Comparison of the performance of block matching and Gaussian smoothing for different sizes of aggregation windows
  • Comparison of local color-weighted filtering against the two others above
  • Visual assessment of the effect of occlusion filling

Results:

  • One slice of cost volume

one_slice_cost_volume

  • Left disparity estimation without aggregation

left_disp_wo_agg

  • Left disparity estimation with block aggregation

left_disp_blk_agg

  • Left disparity estimation with gaussian aggregation

left_disp_gaussian_agg

  • Comparison of block and gaussian filtering

cmp_blk_gauss_filtering

  • Left and right disparity estimation with gaussian aggregation

cmp_lr_disp_map

  • Left occlusion map

left_occlusion_map

  • Left confidence map

left_confidence_map

  • Left compansated (filled) occlusion map

left_occlusion_map_filled

  • Comparison of color-weighted aggregation and the others

cmp_colorweighted_filtering

  • Left disparity estimation with color-weighted aggregation

left_disp_colorweighted

stereo-matching's People

Contributors

hidiryuzuguzel avatar

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.