Ask Your Question

Revision history [back]

Ok perhaps I found the solution: according to the formulae shown in "Camera Calibration and 3D Reconstruction" at OpenCV documentation, the distortion coefficients are applied to dimensionless quantity; in the end the corrected value is multiply to the focal length f. Therefore, to be used in OpenCV, a correction-coefficient set for millimetre distances should be re-scaled as following: k1=k1mmf^2 k2=k2mmf^4 k3=k3mmf^6 p1=p1mmf p2=p2mm*f

In this way by the undistort function I get pretty images well corrected for distortion.