Get the latest tech news
Wide angle lens distortion correction from lines
hen a human looks at an image that is distorted with a wide angle lens, we can tell pretty much immediately that the image is distorted. Specifically we can tell that objects with straight lines in the 3D world do not have straight lines in the image.
Mathematically one of the simplest ways to describe a lens undistortion model is simply to use some form of spherically symetric function that operates on pixel coordinates. It is similar to selecting peaks from the Radon transform and the OpenCV version directly outputs the lines that it detects in the image. This produces an image that looks like this with individual line segements highlighted and ready for undistortion estimation.
Or read this on Hacker News