OpenCV undistorts only a central part of fisheye image

只谈情不闲聊 提交于 2019-11-28 02:06:29

I analyzed a lot of papers last 2 weeks. I think I found the source of problem. OpenCV 3.4.0 fisheye undistortion method is based on pin-hole camera model.We have angle between optical axis of camera and ray of light from some object. We also have angle between direction to undistorted point of this object and camera optical axis. If fisheye image was undistorted correctly, these two angles should be equal. FOV of my fisheye camera is 180 degrees. It means that distance from undistorted image center and point corresponding to edge of undistorted image is equal to infinity. In other words if we have a fisheye camera with FOV about 180 degrees, undistortion (via OpenCV) of 100% of fisheye image surface is impossible.

It can be achieved, only that using a projection instead of trying to undistort it.

More info here OpenCV fisheye calibration cuts too much of the resulting image

Example result:

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