Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROVIO output image encoding #198

Open
svisschers opened this issue Oct 7, 2018 · 1 comment
Open

ROVIO output image encoding #198

svisschers opened this issue Oct 7, 2018 · 1 comment

Comments

@svisschers
Copy link

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
Copy link
Contributor

bloesch commented Feb 17, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants