Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Distortion coefficients returned by cv::stereoCalibrate

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", but I still got the nonzero s1, s2, s3, and s4 in returned array.

Is this correct result?

In calibration.cpp - line#2038( https://github.com/Itseez/opencv/blob/b0933dd47381ca46612da42b66e337f7935c2c38/modules/calib3d/src/calibration.cpp#L2038 )

I thought distCoeffs->cols == 12, and Dist[k] had only 8 component. I don't know how this works. Can someone help me resolve that?

Distortion Are distortion coefficients returned by cv::stereoCalibratecv::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", but I still got the nonzero s1, s2, s3, and s4 in returned array.

Is this correct result?

In calibration.cpp - line#2038( https://github.com/Itseez/opencv/blob/b0933dd47381ca46612da42b66e337f7935c2c38/modules/calib3d/src/calibration.cpp#L2038 )

I thought distCoeffs->cols == 12, and Dist[k] had only 8 component. I don't know how this works. Can someone help me resolve that?

The distortion coefficients I got are coef_A:[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] coef_B:[k_1_B, k_2_B, p_1_B, p_2_B, k_3_B, k_4_B, k_5_B, k_6_B, ?, ?, ?, ?]

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", "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( https://github.com/Itseez/opencv/blob/b0933dd47381ca46612da42b66e337f7935c2c38/modules/calib3d/src/calibration.cpp#L2038 )

line#2038, I thought distCoeffs->cols == 12, and Dist[k] had only 8 component. I don't know how this works. Can someone help me resolve that?

The distortion coefficients I got are coef_A:[k_1_A, 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] coef_B:[k_1_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, ?, ?, ?, ?]

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. Can someone help me resolve that?

The distortion coefficients I got are 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, ?, ?, ?, ?]

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, ?, ?, ?, ?]

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 couldn't find codes Why there is no code 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, ?, ?, ?, ?]

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. Why there is no code setting the last 4 components in distortion coefficients to zero. Can someone help me resolve that?figure it out?

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, ?, ?, ?, ?]

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. Why there is no code setting the last 4 components in distortion coefficients to zero. Can someone help me figure it out?zero?

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, ?, ?, ?, ?]

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. Why there is no code setting the last 4 components in distortion coefficients to zero?

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, ?, ?, ?, ?]

click to hide/show revision 10
retagged

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. Why there is no code setting the last 4 components in distortion coefficients to zero?

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, ?, ?, ?, ?]

Are distortion coefficients returned by cv::stereoCalibrate correct?

// This bug is fixed by Pritam Shete(http://code.opencv.org/projects/opencv/repository/revisions/a430abd02eaf38e0d42f075acbb47210c2b191c8)

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. Why there is no code setting the last 4 components in distortion coefficients to zero?

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, ?, ?, ?, ?]