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

How to obtain disparity from depth? #12

Open
jinan-zhou opened this issue May 13, 2021 · 1 comment
Open

How to obtain disparity from depth? #12

jinan-zhou opened this issue May 13, 2021 · 1 comment

Comments

@jinan-zhou
Copy link

Thank you for sharing this awesome dataset!

I notice that in the paper Realtime Time Synchronized Event-based Stereo, the disparity ground truth of MVSEC is used. Thus, I am wondering how disparity is computed from depth ground truth for this dataset. I know that disparity = focus * baseline / depth. So what are the values of focus and baseline, in the unit of pixels?

@alexzzhu
Copy link
Contributor

You should be able to obtain the focal length and baseline from the provided camera calibration. In general, if you have rectified images, the focal length and baseline can be read from the projection matrix, defined here: http://docs.ros.org/en/melodic/api/sensor_msgs/html/msg/CameraInfo.html

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