erget / StereoVision

Library and utilities for 3d reconstruction from stereo cameras.
http://erget.github.io/StereoVision
GNU General Public License v3.0
648 stars 268 forks source link

Replacement of Open CV calib.disp_to_depth_mat Matrix not required #12

Open Robinini opened 8 years ago

Robinini commented 8 years ago

stereovision/calibration.py Lines 262-269 From my experience as part of a University project, with a Stereo Rig baseline of 1m (larger scale) the replacement of the Open CV calibration Disparity to Depth Ratio with A-Priori values provides poor results. By suppressing the lines above, the original calib.disp_to_depth_mat Matrix from Open CV was preserved, yielding improved results. This could be suppressed by removing the above lines, be explained clearly in the documentation, or the a-priori replacement could be an option of the function. Thanks again. Robin