Why does the Stereo Camera Calibrator App provide different results on different MATLAB versions?

4 views (last 30 days)
Hello all,
For the images given here, I used the Stereo Camera Calibrator App (see the attached calibration session).
On R2021b, the app provided a calibration output (parameters). Still, using the exact set of calibration images on the app running on R2023b, the app was not able to solve for calibration parameters and through the following error:
Does anyone know why it is happening?
Thank you,
Elad.

Answers (1)

Matt J
Matt J on 28 Aug 2024
LIkely because the patterns are too similar across images, like the error message says. This would lead to ill-conditioning of the calibration problem, making any solutions you got in the past unstable..
  4 Comments
Elad
Elad on 28 Aug 2024
Oh, I see. Cool.
How can I determine if the solution is overfitted? Upon inspection, it appears to replicate the checkerboard quite accurately.
I attempted to eliminate some visually similar pairs in R2023b, but it still didn't work. Have you reviewed the images?
Thanks.
Matt J
Matt J on 28 Aug 2024
Edited: Matt J on 28 Aug 2024
How can I determine if the solution is overfitted?
Well, it appears the app tries to do that for you in r2023b ... hence the error message. I don't know what image similarity criteria it uses. You could try retaking the calibration images with the chequerboard more tilted and off-centered. The two cameras should be given as distinct perspectives of the chequerboard as you can manage.
Ultimately, the proof that the calibration worked is how well the stereocamera works, once calibrated, on things other than the chequerboard.

Sign in to comment.

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!