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

stereo disparity vs depth map #6

Closed
dimaxano opened this issue Aug 13, 2021 · 1 comment
Closed

stereo disparity vs depth map #6

dimaxano opened this issue Aug 13, 2021 · 1 comment

Comments

@dimaxano
Copy link

As I understand you used stereo disparities for training, but in the paper, I see depth map should be used.

I see both are very similar modalities, does it really makes difference what to use as groundtruth: depth map or disparity?

@michael-fonder
Copy link
Owner

michael-fonder commented Aug 23, 2021

The depth maps you can download on the Mid-Air website are range maps. They give the Euclidean distance of an object to the camera.

In our paper (and in most depth estimation papers), we define the depth corresponding to a point as its "z" coordinate when its coordinates are expressed with respect to the camera frame of reference. This definition makes it different from the range map.

You could very well convert the range maps to "our" definition of depth by using trigonometry, but the conversion from the disparity map (which also gives a notion of depth) is easier mathematically speaking and less computationally expensive. So I computed the depth maps that fit our definition of depth by using disparity maps.

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