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

Find parameters for disparity2depth #11

Closed HieuPhan33 closed 1 year ago

HieuPhan33 commented 2 years ago

Hi,

I see that the function disparity2depth() has 2 parameters baseline and focal.

Do you know how to find these two parameters?

Since I use only a single 360 camera with Lidar to capture depths, there is no baseline between the two cameras.

Could you please suggest some approach to determine the baseline and focal?

cr333 commented 2 years ago

You can use the default values provided by the function (baseline=1 and focal=1), which computes depth as inverse disparity.

Please note that the depth has an arbitrary scale. If you need a different scale, you can scale it however you like.