isl-org / MiDaS

Code for robust monocular depth estimation described in "Ranftl et. al., Towards Robust Monocular Depth Estimation: Mixing Datasets for Zero-shot Cross-dataset Transfer, TPAMI 2022"
MIT License
4.27k stars 599 forks source link

how to convert the depthmapt to ponitcould or how can i know each pixel's depth? #208

Open imanwxx opened 1 year ago

imanwxx commented 1 year ago

how to convert the depthmapt to ponitcould or how can i know each pixel's depth?

Cedvano commented 1 year ago

It's grey, so from 0 to 255 for displacement. Afterwards, I divide into the number of layers I need