Is there an error in the dysplayErrors function for stereo calibration?

1 次查看(过去 30 天)
I was working on stereo calibration and used the estimateCameraParameters function. I need to know the errors for the RotationOfCamera2 and TranslationOfCamera2. I used the displayErrors function. The translation is a vector but rotation is a matrix. However, the information shown with displayErrors shows the rotation as a vector. I thought it was using rodrigues formula internally. However, I checked the code and in in stereoCalibrationErrors.m in the function displayInterCameraGeometry, it indexes the RotationOfCamera2 as if it were a vector, actually using only the values of the first column of that matrix. Accordingly, the error shown, I assume it is only computed for this elements of the matrix, and not for the whole matrix. Is there something I don't see? Is there maybe a new version of the toolbox?

采纳的回答

Dima Lisin
Dima Lisin 2015-10-22
编辑:Dima Lisin 2015-10-22
That's a bug. The errors are actually correct. They are computed internally from the elements of the rotation vector, not the matrix. However, the displayed rotation is wrong. It should be the rotation vector obtained from the roatation matrix via the Rodrigues formula, not the first column of the rotation matrix.
What version of MATLAB are you running?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Camera Calibration 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by