MonoDEVSNet icon indicating copy to clipboard operation
MonoDEVSNet copied to clipboard

Confused by the invdepth_to_depth function

Open mitalbert opened this issue 1 year ago • 0 comments

Hi,

So the line says;

pred_disp = self.invdepth_to_depth(output[("disp", 0)])

should the function be called inverse_disparity_to_disparity or the variable names are incorrect? Because it takes (inverse?) disparity map and returns disparity map.

it seems that calculating the depth from disparity map comes in the next step: pred_depth_raw = 3. / pred_disp.copy()

@Akhil-Gurram

mitalbert avatar Apr 21 '23 14:04 mitalbert