Ask Your Question

how to use SGBM algorithm in stereo_image_proc [closed]

asked 2016-01-25 23:50:33 -0600

Azharudeen gravatar image

stereo_image_proc by default uses StereoBM algorithm how can we change this to SGBM

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Azharudeen
close date 2016-01-26 02:36:17.444278

1 Answer

Sort by ยป oldest newest most voted

answered 2016-01-26 02:35:36 -0600

Azharudeen gravatar image

I found it the algorithm is set to StereoBM by default in the


file at line 14 : gen.add("stereo_algorithm", int_t, 0, "sterel algorithm", 0, 0, 1, edit_method = stereo_algo_enum)

change the second last 0 in the line to 1 it will do... :)

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2016-01-25 23:50:33 -0600

Seen: 553 times

Last updated: Jan 26 '16