We developed GPU software which can correct any arbitrary distortion in real-time. As a demonstration, a Charlie Chaplin movie 'the Circus' was distorted by a fun house mirror and recorded (see ‘distorted movie’).
In advance, a distortion correction map was obtained. While recording the movie, it is real-time corrected on the GPU. What you thus get in real-time on your computer screen is the ‘corrected movie’.
Van der Jeught S, Buytaert JN, Dirckx JJ; Real-time geometric lens distortion correction using a graphics processing unit. Opt. Eng. 0001;51(2):027002-1-027002-5. doi:10.1117/1.OE.51.2.027002.