ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

how to use SGBM algorithm in stereo_image_proc [closed]

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

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
0

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

Azharudeen gravatar image

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

image_pipeline/stereo_image_proc/cfg/Disparity.cfg

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

Stats

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

Seen: 646 times

Last updated: Jan 26 '16