Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

depth from disparity #12

Open
christian-rauch opened this issue Jan 19, 2022 · 1 comment
Open

depth from disparity #12

christian-rauch opened this issue Jan 19, 2022 · 1 comment

Comments

@christian-rauch
Copy link

The depth computation for the KITTI dataset:

depth1 = DEPTH_SCALE * (intrinsics[0,0] / disp1)
depth2 = DEPTH_SCALE * (intrinsics[0,0] / disp2)

is somehow missing the baseline (0.54 according to http://www.cvlibs.net/datasets/kitti/setup.php).

You can compute depth from disparity by "depth = b * f / disparity". Just using "depth = f / disparity" is ok for the synthetic dataset since the baseline in Blender is set to 1.0. But how is the KITTI baseline incorporated into the KITTI depth computation? Are the disparity images prescaled for a baseline of 1 metre? Or is this somehow part of the DEPTH_SCALE (which is 0.1 here)? Also, why is the disparity taken from the GA-Net and not from the original dataset?

@tonmoy-saikia
Copy link

How is this factor chosen for an arbitrary RGBD pair? Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants