Ask Your Question
0

Configure StereoSGBM for Disparity map on Android

asked 2014-01-11 07:20:28 -0600

yurevich gravatar image

What are the best values? I tried different values to StereoSGBM. For instance, I tried several values:

private StereoSGBM stsgbm = new StereoSGBM();//0, 32, 3, 128, 256, 20, 16, 1, 100, 20, true); //private StereoSGBM stsgbm = new StereoSGBM(0, 64, 5, 128, 256, 200, 16, 1, 100, 20, true); //private StereoSGBM stsgbm = new StereoSGBM(-39, 112, 9, 128, 256, 1, 61, 0, 0, 8, true); //private StereoSGBM stsgbm = new StereoSGBM(-64, 192, 5, 600, 2400, 10, 4, 1, 150, 2, false);

But neither worked good. The default calculator worked a lot of time and I kicked the process. Other values gave bad results:! input image 1 input image 2 out disparity

How to get good values?

edit retag flag offensive close merge delete

Comments

The best way to understand what values you should be passing for arguments is to read the paper.

Accurate and Efficient Stereo Processing by Semi-Global Matching and Mutual Information by Heiko Hirschmuller

http://www.dlr.de/Rm/En/Portaldata/3/Resources/Papers/Modeler/Cvpr05hh.Pdf

Der Luftmensch gravatar imageDer Luftmensch ( 2014-11-20 21:15:19 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
-1

answered 2014-11-20 01:08:49 -0600

vinoth89 gravatar image

Hi yurevich,

am also doing the same process. but iam using native method to find disparity in android. its works.

can u share the code.

Mail me i will check and come back to u.

thanks and regards, Vinoth R || [email protected]

edit flag offensive delete link more

Comments

Hi vino,

can u send your source code for the reference. mail me at [email protected] Thanks in advance

Marcxiya gravatar imageMarcxiya ( 2016-01-03 00:44:56 -0600 )edit

Question Tools

Stats

Asked: 2014-01-11 07:20:28 -0600

Seen: 1,117 times

Last updated: Nov 20 '14