I am trying to calibrate a fish eye lens using opencv.
After capturing some images and using sample code that comes with opencv. I am getting these images:
This image is undistorted as follow:
Why is this happening and how can I fix it?
I am trying to calibrate a fish eye lens using opencv.
After capturing some images and using sample code that comes with opencv. I am getting these images:
This image is undistorted as follow:
Why is this happening and how can I fix it?
I got the same problem before. The default (pin-hole) model didn't work well with very wide-angle lens. You should try fisheye model.
You need to move your camera closer to the pattern, so that the pattern can cover more than half of the image.
Or, you need to print a larger size pattern (such as A0-size if possible), which will give you a very accurate result.