ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The solution was to remove the enc::MONO16 from the toCvVopy function imageOut_ = cv_bridge::toCvCopy(imageIn_)
and then convert the image to type CV_U8C1 imageOut_->image.covertTo(imageOut_->image, CV_8UC1
2 | No.2 Revision |
The solution was to remove the enc::MONO16 from the toCvVopy function imageOut_ = cv_bridge::toCvCopy(imageIn_)
and then convert the image to type CV_U8C1 imageOut_->image.covertTo(imageOut_->image,
CV_8UC1CV_8UC1)