Using Imagemagick to remove GoPro fisheye distortion

One of my coworkers recently discovered a trick to remove fisheye distortion on GoPro images using ImageMagick. This command does the trick:

convert original.jpg -distort barrel '0.06335 -0.18432 -0.13009' result.jpg

Using this, he was able to convert this image:

Into this one:

Updated:

Comments