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.