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 .dpt depth files? #7

Closed nuo-wuliao closed 2 years ago

nuo-wuliao commented 2 years ago

Hello,

Thanks to the very nice 360 RGBD datasets! I'm struggling with using the .dpt files...Don't know how to open it and get the depth numbers.

Could you give an example code for reading in the .dpt file?

Thank you.

manurare commented 2 years ago

Hi,

You can find the code here https://github.com/manurare/360monodepth/blob/7b81bc471b3bcf4c9db4676805fe68b1a5dc5f0d/code/python/src/utility/depthmap_utils.py#L545

nuo-wuliao commented 2 years ago

Thank you!

I will try them in my project.