Skip to content

A simple Qt GUI application to tune OpenCV StereoCorrespondenceBM parameters and see live updates

Notifications You must be signed in to change notification settings

generalized-intelligence/GAAS-Opencv-Disparity-Map-Tuner-with-ROS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GAAS Opencv Disparity Map Tuner with ROS

Working In Progress

Default Topics

you have to modify them in .CPP manually for now
left image topic : /mynteye/left/image_rect
right image topic: /mynteye/right/image_rect

To Build

mkdir build
cd build
cmake ..
make

To Use

1. play a bag containing left and right images topics 
2. launch roscore (if you haven't)
3. ./bin/run

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

Licence

GPL

About

A simple Qt GUI application to tune OpenCV StereoCorrespondenceBM parameters and see live updates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 92.0%
  • CMake 8.0%