Ask Your Question

How can I test if camera calibration was optimal?

asked 2017-11-13 00:29:41 -0500

jok23 gravatar image


I want to test if I properly calibrated my camera. I succesfully calculate camera matrix, load XML files and open camera again with parameters loaded as explained here:

and here:

But how can I know that camera calibtation was optimal? And how to visualize calibration effect?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-11-13 01:34:59 -0500

updated 2017-11-13 01:38:29 -0500

"But how can I know that camera calibtation was optimal? "

That's a tricky question. A good rmse (well below a pixel for most cameras) is a good hint, but not the perfect solution as a calibration with a single pattern could also give a good rmse but a bad calibration in total.

"And how to visualize calibration effect?"

You can create a grid of points across your undistorted image and use cv::undistortPoints to get their original poses. Draw lines between these two points and you get an understanding of the distortion effect.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-11-13 00:29:41 -0500

Seen: 148 times

Last updated: Nov 13 '17