I should have thought this would be a staple of any image library, but I've been having a rough time figuring out how to do it with OpenCV. (I am a new user, trying to figure things out for the first time.)
I have footage from 1972 with noticeable radial distortion. There are several rectangles in the picture, and I think there must be some method to use these to estimate a transformation to correct the radial distortion in the image. What strategies could I use to correct the radial distortion when all I can do is make educated guesses about the rectangles in the picture?
I've read that Zhang's method to correct radial distortion is capable of doing something like this, and is purportedly implemented in OpenCV somewhere, but I can't seem to find it in the documentation. Thanks for any advice.