How to convert a halcon image to ros

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

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

gvdhoorn gravatar image


I try for school to convert a halcon image to ros. For this I try to succeed the ars_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


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 -0600 )edit