Open svisschers opened 6 years ago
I am trying to publish the visualizer output on a ROS topic, like in issue #35. However, I cannot determine what the encoding is of the OpenCV image data in mpFilter_->safe_.img_[i], and as such I get an encoding mismatch error in ROS.
mpFilter_->safe_.img_[i]
should be RGB, is created in ImgUpdate.hpp: cvtColor(meas.aux().pyr[i].imgs[0], filterState.img_[i], CV_GRAY2RGB);
I am trying to publish the visualizer output on a ROS topic, like in issue #35. However, I cannot determine what the encoding is of the OpenCV image data in
mpFilter_->safe_.img_[i]
, and as such I get an encoding mismatch error in ROS.