### Are distortion coefficients returned by cv::stereoCalibrate correct?

Hi,

I tried to use cv::stereoCalibrate to calibrate the cameras. However the distortion coefficients returned by cv::stereoCalibrate seemed to be wrong. I didn't set up the flag "CALIB_THIN_PRISM_MODEL"(I passed CV_CALIB_RATIONAL_MODEL as the flag), but I still got the nonzero s1, s2, s3, and s4 in returned array.

Is this correct result?

In calibration.cpp - line#2038, I thought distCoeffs->cols == 12, and Dist[k] had only 8 component. I ~~don't know how this works. ~~couldn't find codes setting the last 4 components in distortion coefficients to zero. Can someone help me resolve that?

The distortion coefficients I got are

distCoeffs1:[k_1_A, k_2_A, p_1_A, p_2_A, k_3_A, k_4_A, k_5_A, k_6_A, *k_1_B, k_2_B, p_1_B, p_2_B*]

distCoeffs2:[k_1_B, k_2_B, p_1_B, p_2_B, k_3_B, k_4_B, k_5_B, k_6_B, *?, ?, ?, ?*]