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

How to subscribe two images simultaneously in opencv c++

asked 2014-06-30 11:41:48 -0500

deathstroke gravatar image

I used cv_bridge of opencv to subscribe image from kinect . I want to subscribe two images and send it to function. please tell me how to code it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-06-30 12:31:54 -0500

A (relatively fancy, with time sync etc.) way of doing what you request is implemented in stereo_image_proc. See disparity nodelet code here. The nodelet subscribes to two images and generates a disparity map from them once a pair of them has been received (in imageCb).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-06-30 11:41:48 -0500

Seen: 308 times

Last updated: Jun 30 '14