jmccormac / pySceneNetRGBD

Scripts showing how to work with the SceneNetRGBD dataset
GNU General Public License v3.0
178 stars 46 forks source link

Question about converting the depth map to disparity map. #27

Open BKAUTO opened 5 years ago

BKAUTO commented 5 years ago

Hi dear John,

I am now modifying the C++ code on https://bitbucket.org/dysonroboticslab/scenenetrgb-d/src to get the disparity map as ground truth. As I want to compute the disparity from the depth, I need to know specific parameters of the camera.

The depth is defined in millimeter and I should transfer it to pixel for disparity, what is the pixel per millimeter for SceneNet camera? I also noticed that you mentioned the focal length is 20cm in your paper, but I failed to find this setting in your code, can you refer it for me?

Maybe this isn't a good place for my question. But I don't know how to raise a question on bitbucket. Thanks a lot for your consideration.