manurare / 360monodepth

Code release for 360monodepth. With our framework we achieve monocular depth estimation for high resolution 360° images based on aligning and blending perspective depth maps.
https://manurare.github.io/360monodepth/
MIT License
159 stars 33 forks source link

How to have access to the depth map #2

Closed navid-mahmoudian closed 2 years ago

navid-mahmoudian commented 2 years ago

Hello,

Thank you very much for this nice library. Could you please let me know how I can access the output depth map? When I run your code on an unseen equirectangular RGB image, I get five images as follows: 000_360monodepth_midas2_frustum.png, 000_360monodepth_midas2_mean.png, 000_360monodepth_midas2_nn.png, 000_360monodepth_midas2_poisson.png, 000_360monodepth_midas2_radial.png

However, I would like to generate the point cloud from the output of your program to see how the depth prediction works visually.

manurare commented 2 years ago

Hi,

estimated_depthmap are the raw depth predictions before being saved. You can manipulate those np arrays to generate the point cloud