user2987264
user2987264

Reputation: 7

very bad disparity map using Stereo SGBM

I'm using Stereo SGBM of openCV to generate disparity map from a couple of images satellite, the result is very bad even when I change the parameters. what should I do ?

Upvotes: 0

Views: 10664

Answers (3)

Timo Hinzmann
Timo Hinzmann

Reputation: 9

SGBM parameter tuner based on vmarquet's great QT GUI for BM:

https://github.com/hitimo/opencv-disparity-map-tuner

Might be helpful to find the correct parameter set.

Upvotes: 0

vmarquet
vmarquet

Reputation: 2532

I developped a tool similar to the one given in Robst's answer, but a little more convenient, and cross-platform. You can find it here.

example screenshot

Upvotes: 6

Robst
Robst

Reputation: 27

You could try StereoBM to see if you can get better results. You could use the tool developed by Martin Peris found here to modify the parameters. It will be much easier with the GUI provided. You could do something similar for StereoSGBM. Make sure your images are properly rectified.

Regards

Upvotes: -2

Related Questions