File Exchange

image thumbnail

Lens Distortion Explorer

version (133 KB) by Michael Quinn
Explore a standard lens distortion model.


Updated 01 Sep 2016

View Version History

View License

This app allows the user to explore the effects of the different lens distortion parameters (3 radial and 2 tangential) of a common camera lens distortion model.
This is model is used in the MATLAB Computer Vision System Toolbox:

and OpenCV:

This tool allows the modification of the 5 distortion parameters (k1, k2, k3, p1, p2), the 2 focal lengths (fx, fy), and the camera center (cx, cy). It allows the user to use one of two built-in images or to load a custom image.

Cite As

Michael Quinn (2021). Lens Distortion Explorer (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)


Could you provide a way in the app or code to save the result image?

R Akshay

would it be possible to get a code of this app

Rhys Evans

Bashar Alsadik


Michael Quinn

Sergey, You need MATLAB R2012b or later to use this App.


How do I run the installer? PS I use 2010.


Why not upload m-files (functions) ?

Michael Quinn

jcastle: I just tried it in R2012b (both 32 and 64 bit) and it worked just fine. What error did MATLAB give you?


Could not install in R2012b. Does it only work with R2013a?


MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!