omnidirectional_calibration icon indicating copy to clipboard operation
omnidirectional_calibration copied to clipboard

About the depth calculation in omnidir.cpp

Open wtyuan96 opened this issue 1 year ago • 0 comments

Thanks for your great contribution !

I am confused about your implementation of absolute depth calculation, which is different from the original paper.

In Line 1483 of omnidir.cpp, the depth is calculated as follows

float depth = float(baseline * f /realDis.at<float>(j, i));

but in the original paper 'Binocular Spherical Stereo', the absolute depth is calculated as follows: image where is the depth of left image.

By the way, another repository pdi which provides a solution to get the panorama depth image from a single fisheye stereo image pair, uses the above equation to calculate depth.

I am wondering why you adopted this implementation, am I missing something ? or are these two implementations equivalent ?

Looking forward to your reply !

wtyuan96 avatar May 27 '23 17:05 wtyuan96