gdlg / panoramic-depth-estimation

Eliminating the Blind Spot: Adapting 3D Object Detection and Monocular Depth Estimation to 360° Panoramic Imagery
https://gdlg.github.io/panoramic
Other
64 stars 10 forks source link

How to get the depth value you predicted #3

Closed lasxz closed 5 years ago

lasxz commented 5 years ago

The output of your program has only one image and one .npy file. How to get the predicted depth value of the image?

gdlg commented 5 years ago

The .npy contains an array with the depth value for each pixel. You can load the file using the np.load function of numpy. The depth values are in meters.

lasxz commented 5 years ago

Thank you very much.

lasxz commented 5 years ago

How can point clouds (x, y, z) be recovered from depth values?

gdlg commented 5 years ago

Assuming that your image is a 360° equirectangular panorama, the (u,v) coordinates in your image are just the latitude and longitude of each point. Have a look at our paper for the details of the math on equirectangular projections.