Incorrect result from camera calibrator app

19 views (last 30 days)
I used the camera calibrator app to calibrate lens distortion and I specified correct checkerboard size of 8mm. The calibration goes fine and i'm able to undistort images and points. However, the plot from showextrinsics() shows camera at 8mm distance from object but in reality it is 140mm. Why is this wrong?
My setup has a camera looking downwards and pattern is placed at the same working distance in all 30+ images where the lens is focused.
Calibration settings: All default settings - Standard lens, 2 coeffs, no tangential distortion, no skew, etc.
  4 Comments
Giridharan Kumaravelu
Giridharan Kumaravelu on 19 Mar 2024
Would you mind providing us with the calibration images to help troubleshoot this behavior?
cr
cr on 19 Mar 2024
Edited: cr on 19 Mar 2024
The folder is a little too big to be attached as a zipped file. Here is a link to google drive.
I do not recall if this is the exact same set of images yielding the results I shared above, but all 3 sets I have produced similar results in all aspects.
Thanks & Regards

Sign in to comment.

Accepted Answer

Giridharan Kumaravelu
Giridharan Kumaravelu on 22 Mar 2024
Edited: Giridharan Kumaravelu on 22 Mar 2024
Thanks for providing the calibration images. This is a limitation of the technique (Zhang's algorithm) that camera calibrator app uses, that it cannot calibrate a camera with calibration images that are coplanar. To accurately calibrate a camera with the app, you need some variance in the calibration images in the z-direction. Even a little wiggle in the z direction could avoid this degenerate configuration.
  4 Comments
cr
cr on 1 Apr 2024 at 10:42
Giridharan
Thanks for the detailed answers.
Alexander Groeger
Alexander Groeger about 6 hours ago
Edited: Alexander Groeger 15 minutes ago
How exactly is the use of the camera calibrator intended in the case of a telecentric camera?
Thanks in advance.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!