Page 1 of 1

Format of distortion parameters (D1, D2)

Posted: Thu Nov 28, 2019 11:58 pm
by shmihara
I'd like to know the format of five distortion-parameters (D1 and D2) downloaded from the web interface.

I know the distortion-parameters of OpenCV is the following.
distCoeffs1: Input/output vector of distortion coefficients (k1,k2,p1,p2[,k3[,k4,k5,k6[,s1,s2,s3,s4[,τx,τy]]]]) of 4, 5, 8, 12 or 14 elements. The output vector length depends on the flags.
(Please refer to https://docs.opencv.org/4.1.2/d9/d0c/gr ... 01e6f07de5)

Which D1 and D2 parameters correspond to which of the OpenCV's?

Re: Format of distortion parameters (D1, D2)

Posted: Fri Nov 29, 2019 7:53 am
by k.schauwecker
Our distortion coefficients exactly match the coefficients from OpenCV. Hence the order is:
k1, k2, p1, p2, k3

Regards,
Konstantin