Format of distortion parameters (D1, D2)

Post Reply
shmihara
Posts: 3
Joined: Wed Nov 20, 2019 12:35 am

Format of distortion parameters (D1, D2)

Post by shmihara » Thu Nov 28, 2019 11:58 pm

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/group__calib3d.html#ga91018d80e2a93ade37539f01e6f07de5)

Which D1 and D2 parameters correspond to which of the OpenCV's?
k.schauwecker
Posts: 43
Joined: Mon Mar 25, 2019 1:12 pm

Re: Format of distortion parameters (D1, D2)

Post by k.schauwecker » Fri Nov 29, 2019 7:53 am

Our distortion coefficients exactly match the coefficients from OpenCV. Hence the order is:
k1, k2, p1, p2, k3

Regards,
Konstantin
Post Reply