Is there an error in the dysplayErrors function for stereo calibration?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
fbarranco
am 22 Okt. 2015
Kommentiert: fbarranco
am 22 Okt. 2015
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?
0 Kommentare
Akzeptierte Antwort
Dima Lisin
am 22 Okt. 2015
Bearbeitet: Dima Lisin
am 22 Okt. 2015
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?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Camera Calibration finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!