Determining camera parameters

孤街醉人 提交于 2019-12-09 13:48:26

问题


Given a picture taken by a simple digital that contains an image of a rectangle of known dimensions. How can I - to some degree of accuracy - determine the parameters of this camera?

I am mostly interested in Pan-, Tilt- and Swing angles. Optionally distance to the rectangle would be nice.

I acknowledge the fact that the focal length and resolution of the camera should be known, but it can be assumed that they are available (for example through exif metadata).

Are there any simple algorithms for this problems?


回答1:


What you are looking for are camera calibration algorithms. A commonly used one is Zhang's algorithm.

For more information regarding calibrating cameras, a good source is Hartley and Zisserman's textbook




回答2:


for a slightly simpler introduction and sample code see (chap 12 IIRC)



来源:https://stackoverflow.com/questions/1060350/determining-camera-parameters

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