-
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
I have some depth files saved in .png format by SR300, how can I restore the true depth from these png files #7324
Comments
Hi @chky Saving depth data into PNG image format causes depth detail to be lost, unfortunately. A .raw file is the appropriate format for preserving depth detail in an image file. The link below has scripting for obtaining depth information from a .raw file if you have the opportunity to recreate the scenes for the SR300 camera and re-save them as .raw. |
Thanks for your reply @MartyG-RealSense. Actually I do not have a realsense sr300 in hand, what I have are some .png files. Is it possible to restore true depth without .RAW files? An approximate depth will be OK. |
I researched your question extensively in case there was a possible way, but every source says it will not work. Even if you could convert a color on the image to a depth value representing that color, you could not be sure that it is accurate. |
would you mind provide me with links to these possible ways? much appreciation. @MartyG-RealSense |
I mean that I searched for possible ways but found that it was not practical. Nonetheless, the best of the resources that I found other than #3640 is below. You probably will not get a meaningful depth value though since a PNG does not store depth data. Alternatively, the link below suggests a somewhat complex way to generate a depth map from a single image using a 'deep network'. |
got it! thanks a lot |
Hi @chky Do you require further assistance with this case, please? Thanks! |
Your reply had solved my problem, thank you! |
Great news, thanks for the update! I will close this case now that you have a solution. |
Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):
All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)
Issue Description
<Describe your issue / question / feature request / etc..>
The text was updated successfully, but these errors were encountered: