Public Lab Wiki documentation

Lens Distortion

Lens distortion removal can help "flatten" images with a "fisheye" or barrel distortion, and make it easier for them to be used in creating maps.

This is especially helpful when using photos from smaller cameras like the #mobius-action-cam and most #gopro cameras. Nathan Craig says:

Also, lens calibration is useful to consider when creating surfaces. In building large surfaces lens error can accumulate and result in distortion. Agisoft, the makers of PhotoScan, provide a free lens calibration program on their website.


Title Author Updated Likes
Nothing yet on the topic "lens-distortion" -- be the first to post something!

Ask a question  or help answer future questions


There are a number of ways to remove lens distortion, including #fisheyegl, LensFun, and Agisoft Lens. We're collecting guides on using these here; please add one if you can!

Purpose Category Status Author Time Difficulty Replications
Remove lens distortion from photos with FisheyeGL - - @warren - - 0 replications: Try it »
DJI UAV mapping with Gimp correction of fisheye effect - - @patcoyle - - 0 replications: Try it »

Add an activity  or request an activity

Activities should include a materials list, costs and a step-by-step guide to construction with photos. Learn what makes a good activity here.

Lens databases

Databases collecting lens geometries are available, for use with programs like this one:

LensFun database

The LensFun database is an open source database of lens models for correcting distortion. It'd be great to get the Canon A490 and SD 1300 series in there, and the format is:

You can read more about how to calculate this and generate other types of camera model stuff here:

Public Lab is open for anyone and will always be free. By signing up you'll joined a diverse group of community researchers and tapped into a lot of grassroots expertise.

Sign up