I am trying to undistort a 220deg fisheye lens image. I worked with fisheye before using OpenCV and a script similar to this. However, whenever I used a lens with more than 180deg it seems to fail, getting a warp-drive stretching towards the edge.
Thinking of it practically makes me almost doubt it's possible/easy, since it covers more than the half sphere and hence an undistorted projection is tricky. Googling it I found only old discussions or research papers without usable code. Does anyone have experience with this and can give a hint how to fix this? Ideally with openCV or another Python library to allow me implementing it.