ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Read the source code:
https://github.com/ros-perception/image_common/tree/hydro-devel/image_transport/src
const sensor_msgs::CompressedImageConstPtr& compressedImg outputImg = cv::imdecode(cv::Mat(compressedImg->data), CV_LOAD_IMAGE_UNCHANGED);