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 can I transform depth map to real depth ? #57
Comments
If you take a look at the depth completion code I used: https://github.com/kujason/ip_basic/blob/master/demos/depth_completion.py#L180. They multiply by 256 before saving it to an image, so I just do the reverse when I load in the depth maps to recover the real depths. |
OK, I solve it .Thx |
Hi, how can I transform depth distribution to depth map according to different Depth Discretization Methods? |
Hello! You can take the expectation of the depth distributions. Basically, you multiply the depth distribution scores by the bin center and sum these to get the estimated depth value for each pixel. |
Thanks for your reply! |
I notice that you turn the depth map to real depth by dividing 256.
But when I change the depth to point cloud, I found this value not correct.
Could you tell me why you divide 256 to get the depth?
The text was updated successfully, but these errors were encountered: