Ask Your Question

size of distCoeffs

asked 2019-07-31 01:48:52 -0600

dnns gravatar image

Dear Forum,

how is the size of the distortion vector chosen by the program? Does it only depend on the type of the camera lens model (Fisheye, etc.)?

If not, can one set a preferred size for the distCoeffs somehow?



edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-08-02 02:10:39 -0600

dnns gravatar image

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.



edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-07-31 01:48:52 -0600

Seen: 1,009 times

Last updated: Aug 02 '19