-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
How to get true depth from depth data #11437
Comments
Hi @Xue21 The real-world distance in meters can be found by multiplying the 16-bit depth value by the Depth Unit Scale of the camera. The depth unit scale value of the D435i is 0.001. So if the 16-bit depth value was 6500 and it was multiplied by 0.001, the real-world depth would be 6 meters. |
If you wish to export color as an image, a Python script at #4934 (comment) exports color as a PNG image file and depth as an array of scaled matrices saved as an .npy file, whilst a script at #2877 (comment) exports both depth and color as PNG images. |
Hi @Xue21 Do you require further assistance with this case, please? Thanks! |
Case closed due to no further comments received. |
I get the depth data with D435i, it's encoding is16UCI, How can I get the true depth value?
The text was updated successfully, but these errors were encountered: