StereoMatching
Some simple Stereo Matching algorithms and confidence measures re-implemented in opencv
Install / Use
/learn @AlessioTonioni/StereoMatchingREADME
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 .
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
