Ask Your Question
0

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?

Cheers,

Dennis

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

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.

Cheers,

Dennis

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,067 times

Last updated: Aug 02 '19