We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Subscriber::imageCallback does not support mono16 encoding used in the TUM VIO dataset bag files. Images will end up looking like this:
when it should look like this:
okvis_ros/src/Subscriber.cpp
Lines 108 to 111 in bdc6db6
The solution is to use cv_bridge to make the conversion from ROS Image message to cv::Mat.
const cv::Mat raw = cv_bridge::toCvCopy(msg, "mono8")->image;
cv_bridge is already a dependency.
The text was updated successfully, but these errors were encountered:
In my case, I replaced
okvis_ros/src/okvis_node_synchronous.cpp
Lines 208 to 209 in bdc6db6
const cv::Mat filtered = cv_bridge::toCvCopy(msg1, "mono8")->image;
Sorry, something went wrong.
No branches or pull requests
The Subscriber::imageCallback does not support mono16 encoding used in the TUM VIO dataset bag files. Images will end up looking like this:
when it should look like this:
okvis_ros/src/Subscriber.cpp
Lines 108 to 111 in bdc6db6
The solution is to use cv_bridge to make the conversion from ROS Image message to cv::Mat.
cv_bridge is already a dependency.
The text was updated successfully, but these errors were encountered: