Skip to content

A simple Qt GUI application to tune OpenCV BM or SGBM parameters and see live updates

Notifications You must be signed in to change notification settings

hitimo/opencv-disparity-map-tuner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StereoCorrespondenceBM Tuner

Description

A GUI to update the parameters, and watch the results live, of the block-matching algorithm of OpenCV, used for computing depth maps when doing stereovision.

example screenshot

Installation

You will need to install:

Linux

Install the packages for Qt 5 and OpenCV. It should work out of the box.

Mac OS X

Download and install Qt 5 from their website. I've installed OpenCV with Homebrew, but it probably doesn't matter if you install it with another way. This program uses pkg-config to include the library OpenCV in Qt's project. Since pkg-config is not standard on Mac OS X, to make it work, you will need to add PATH=/usr/local/bin:$PATH to the file /etc/launchd.conf. See here for details.

Windows

You will have to find out yourself how to include the library OpenCV in Qt, since pkg-config is not supported on Windows. I don't know ;)

Launch the program

Once Qt 5 and OpenCV installed, clone this repo, open the .pro file, it should launch the project in Qt 5 and you will be able to run the program, and modify it.

Useful links

Contribute

Pull requests are welcome.

This software is inspired by another described here. However, I wasn't satisfied with it, and it works only on Gnome (used by Ubuntu).

TODO

  • accept image drops for left and right image areas

Run

qmake BMTuner.pro
make
./StereoCorrespondenceBMTuner

Licence

GPL

About

A simple Qt GUI application to tune OpenCV BM or SGBM parameters and see live updates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.9%
  • QMake 4.1%