-
Notifications
You must be signed in to change notification settings - Fork 63
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
encoding MONO16 support #80
Comments
In the case of '16UC1' encoding, the depth values are represented in millimeters. Therefore a conversion from millimeters to meters is performed by multiplying every element of the depth image by 0.001.
This seems correct. However, I can not test it as of now. Please compile it and make sure to execute CPP node. The repository contains python node as well. Let me know, how it goes! Cheers |
Thank you for replying. If you don't mind, is it possible to merge the source code? |
Thank you very much for the update. I am glad it works! Yes, please create a pull request. Thank you for the great contribution! |
💯 done Thanks a lot |
Dear Rajivo,
I use ros_openpose with RGBcamera and ToF camera.
The encoding of depth data from ToF camera is MONO16.
When doing [rostopic echo /frame] , z data unit is not adequate, compared to RealSense.
So, I want to change a part of source code as below.
src/cameraReader.cpp (line 82)
before:
after:
Is this right and valid?
Thank you and regards.
The text was updated successfully, but these errors were encountered: