The stereo calibration code adapted from J. Bouget's Toolbox