Hello everyone,
I am having some trouble to store the result of cv_bridge::CvImage::toImageMsg() as a sensor_msgs::Image.
The reason why I want to do this is because the sensor_msgs::Image belongs to a custom message I have created which contains some other piece of information.
Is there any way to store a cv::Mat in a sensor_msgs::Image besides doing it "manually" in a for loop?
Thank you in advance.
Originally posted by Geropan on ROS Answers with karma: 21 on 2013-03-07
Post score: 1