Correct lens distortion using single calibration image in Matlab

让人想犯罪 __ 提交于 2019-12-06 02:08:32

The correction of lens distorsion only depends on the camera itself, not the position of the camera (one speaks also about intrinsic camera parameters). So one image (with enough reference points) is enough to compute this set of parameters.

If you consider only radial distorsion, a simple case is to fix the center of distorsion (commonly at the center of the image), your model can be like R' = R*(1+a*R^2+b*R^4). First correct the image with extrisic camera parameters, to remove all homographic distorsion. Estimating the camera pose first is really important.

Having the positions of the points of the chessboard, you can compute their distances to the center of distorsion (R'), and the corresponding distances you expect (R). Then you have a set of linear equations, so the solution can be robustly found with SVD for example.

A more complex method is sketched in OpenCV documenation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!