Ask Your Question
0

How can I test if camera calibration was optimal?

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

jok23 gravatar image

Hello.

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:

https://www.youtube.com/watch?v=v7jut...

and here:

https://docs.opencv.org/2.4/doc/tutor...

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
2

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

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

"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

Stats

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

Seen: 279 times

Last updated: Nov 13 '17