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

converting predicted disparity to depth value #10

Open
Torment123 opened this issue May 8, 2023 · 1 comment
Open

converting predicted disparity to depth value #10

Torment123 opened this issue May 8, 2023 · 1 comment

Comments

@Torment123
Copy link

Torment123 commented May 8, 2023

Hi, I'm applying the KITTI pretrained FastACV on a new dataset (KITTI360), and trying to convert the predicted disparity of stereo pair to depth value, and the process I do is as below:

given a stereo pair of KITTI360 dataset, first compute the predicted disparity D using fast ACV.

Then compute the corresponding depth map using the formula Depth = f x B / Disparity (1), where f (unit:meter) and B are focal length and baseline of the rectified camera pairs setting in KITTI360 dataset. I'm not sure whether I'm missing any intermediate steps, because although the predicted visualization looks good, but the depth metric distance computed based on (1) and ground truth depth is very large. I'm appreciate it if you could help me pointing out where I did wrong, thanks

@Nimisha-Pabbichetty
Copy link

were you able to figure this out?

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