How to convert a halcon image to ros
Hey,
I try for school to convert a halcon image to ros. For this I try to succeed the arshalconbridge (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?
Asked by alexdrie on 2019-09-16 07:25:38 UTC
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.Asked by gvdhoorn on 2019-09-16 08:37:13 UTC