blackjack2015 / IRS

IRS: A Large Synthetic Indoor Robotics Stereo Dataset for Disparity and Surface Normal Estimation
50 stars 18 forks source link

Disparity map convert to depth map #2

Closed ctk2156 closed 1 year ago

ctk2156 commented 4 years ago

Hello, could you provide the camera focal length and baseline for converting disparity to depth? Thank you.

blackjack2015 commented 4 years ago

Hi. Most of the data has a baseline of 0.1 meter. The camera focal length is 480 pixel. You can easily obtain the depth by the following equation:

depth = baseline * focal length / disparity