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

SimpleCV and ROS cv_bridge

asked 2014-06-07 21:30:26 -0500

volta gravatar image


I am finding difficulties to work using SimpleCV instead of opencv in ROS . I use cv2_to_imgmsg(cv_image, encoding="passthrough") to work with opencv

But how can i work with simplecv

Thank youu

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-06-08 10:18:01 -0500

volta gravatar image

thank you for your answer I think you gave me how to convert Simplecv IMAGE to opencv images . I need to convert ROS_Images to SImplecv format .

Thank youiuu

edit flag offensive delete link more


you should make that as a comment instead of answer. ROS Answer is not a forum.

lanyusea gravatar image lanyusea  ( 2014-06-08 12:24:18 -0500 )edit

answered 2014-06-07 22:29:16 -0500

Vincent Rabaud gravatar image

updated 2014-06-09 00:13:39 -0500

Call the same function but use on your simpleCV image. E.g. :

cv2_to_imgmsg(simple_cv_image.getNumpyCv2(), encoding="passthrough")

And the other way around from an Image msg to a Simple CV image:

Image(imgmsg_to_cv2(image_msg, encoding="passthrough"), cv2image=True)
edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-06-07 21:30:26 -0500

Seen: 315 times

Last updated: Jun 09 '14