ethz-asl / rovio

Other
1.14k stars 507 forks source link

ROVIO output image encoding #198

Open svisschers opened 6 years ago

svisschers commented 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.

bloesch commented 5 years ago

should be RGB, is created in ImgUpdate.hpp: cvtColor(meas.aux().pyr[i].imgs[0], filterState.img_[i], CV_GRAY2RGB);