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

The dataset GT-Calculation #71

Closed
wangjiyuan9 opened this issue May 14, 2023 · 1 comment
Closed

The dataset GT-Calculation #71

wangjiyuan9 opened this issue May 14, 2023 · 1 comment

Comments

@wangjiyuan9
Copy link

Dear:
First of all, thank you for your amazing paper !
I encountered a problem when I read your public code:
I‘d like to calculate the gt_depth of the image for the training part (not all). Do you still have the Calculation code ?
Thank you for your time and help!

@JamieWatson683
Copy link
Collaborator

Hi sorry for the delay - Cityscapes provide intrinsics, camera baseline and disparity map, so to recover the depth map you simply do:
depth = focal length [in pixels] x baseline [in metres] / disparity

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