Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i found a working solution for me, using the flag CALIB_RATIONAL_MODEL in calibrateCamera.

The documentation provides the following information:

Coefficients k4, k5, and k6 are enabled. To provide the backward compatibility, this extra flag should be explicitly specified to make the calibration function use the rational model and return 8 coefficients. If the flag is not set, the function computes and returns only 5 distortion coefficients.