0
$\begingroup$

Rosanswers logo

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.


Originally posted by deathstroke on ROS Answers with karma: 1 on 2014-06-30

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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).


Originally posted by Stefan Kohlbrecher with karma: 24361 on 2014-06-30

This answer was ACCEPTED on the original site

Post score: 2

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.