360monodepth icon indicating copy to clipboard operation
360monodepth copied to clipboard

Find parameters for disparity2depth

Open HieuPhan33 opened this issue 2 years ago • 1 comments

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?

HieuPhan33 avatar Oct 17 '22 01:10 HieuPhan33

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.

cr333 avatar Oct 17 '22 04:10 cr333