How to convert a halcon image to ros

asked 2019-09-16 07:25:38 -0500

updated 2019-09-16 08:35:26 -0500

gvdhoorn gravatar image

Hey,

I try for school to convert a halcon image to ros. For this I try to succeed the ars_halcon_bridge (http://wiki.ros.org/asr_halcon_bridge). Unfortunately I won't succeed at this moment. I don't get it how I had to used the next two lines:

sensor_msgs::ImagePtr toImageMsg() const;
void toImageMsg(sensor_msgs::Image& ros_image) const;

Could someone explain this to me pls?

edit retag flag offensive close merge delete

Comments

Not an answer, but asr_halcon_bridge has been setup similar to how vision_opencv works.

Looking at the tutorials for vision_opencv could be insightful.

gvdhoorn gravatar image gvdhoorn  ( 2019-09-16 08:37:13 -0500 )edit