Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
342 views
in Technique[技术] by (71.8m points)

c# - High rms return by camera calibration using circlegrid,WHY

i wonder why i obtain higher rms while using circle grid for calibration.

initialize the object list

for (int i = 0; i < 27; i++)
{
    for (int j = 0; j < 31; j++)//width
    {
        objectList.Add(new MCvPoint3D32f((j * squareSize)+(i*squareSize/2), (i * squareSize)/2, 0.0F));
    }

}
           found1 = CvInvoke.FindCirclesGrid(thresh, new Size(31,27), cornerPoints, CalibCgType.AsymmetricGrid |CalibCgType.Clustering ,blobDetector);
   double error = CvInvoke.CalibrateCamera(objectPoints, imgPoints.Select(a => a.ToArray()).ToArray(), thresh.Size,
             cameraMatrix, distortionCoeffs, CalibType.SameFocalLength, term, out rVecs, out tVecs);

double rms = CvInvoke.StereoCalibrate(objectPoints, imgPoints.Select(a => a.ToArray()).ToArray(), imgPoints2.Select(a => a.ToArray()).ToArray(), cameraMatrix, distortionCoeffs, cameraMatrix2, distortionCoeffs2, thresh.Size, R, T, E, F, CalibType.FixIntrinsic | CalibType.UseIntrinsicGuess | CalibType.RationalModel | CalibType.SameFocalLength, term);

i am able to detect all the circle grid(total 20 frames with different view and position at the photo frame) but the rms return by camera calibration and also stereo calibration are both high ( 10, 31 respectively) and the rms remain there even i add more frames.

one of the blob found image: https://pasteboard.co/JLRvQFc.png

one of the findcirclegridimage: https://pasteboard.co/JLRvkmt.png

please help

question from:https://stackoverflow.com/questions/65952007/high-rms-return-by-camera-calibration-using-circlegrid-why

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...