Giter Club home page Giter Club logo

stereomatching's Introduction

StereoMatching

Implementation of some stereo matching algorithms and confidence measures using OpenCV:

stereo::costs

namespace qith three different cost function, absolute difference, truncated absolute difference and squarred difference

stereo::disp

namespace with function to compute a DSI given left and right image or to obtain a disparity map given a DSI:

  • singlePixeDisparity: compute cost function on couples of pixel taken from left and right image.
  • fixedWindowDisparity: compute cost function agregating cost in a square support surrounding the current pixel
  • fixedWindowBG: as the normal fixed window, but speeded-up using box filtering
  • getDisparityRange: returns a vector to be used with the funciton above given the max disparity allowed and if we are matching left to right or right to left
  • getDisparity: given a DSI produces a disparity map normalized between 0 and 255

stereo::sgm

namespace with function used to apply the sgm[1] optimization alghoritm

  • scanlineOptimization: recompute cost across a single scanline identified by previousPosition
  • sgmOptimization: apply sgm alghorithm using 8 different scanline

stereo::confidence

namespace with some confidence measure for stereo matching, given a DSI the produce a grey scale image with area with low confidence in black

  • matchingScoreMeasure
  • curvature
  • peakRatio
  • winnerMargin
  • leftRightCheck

[1] Hirschmuller, H. (2005). Accurate and Efficient Stereo Processing by Semi Global Matching and Mutual Information. CVPR .

stereomatching's People

Contributors

alessiotonioni avatar

Watchers

 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.