This is basically a packaged and polished version of the OpenCV tutorial (see also hack) with a command line interface. It shows how to correct lens distortions in images using OpenCV, based on ...