Lensfun

Jul 20, 2023

Library for fixing lens geometry distortions

The goal of the lensfun library is to provide an open source database of photographic lenses and their characteristics. In the past there was an effort in this direction see http//www.epaperpress.com/ptlens/, but then author decided to take the commercial route and the database froze at the last public stage. This database was used as the basement on which lensfun database grew, thanks to PTLens author which gave his permission for this, while the code was totally rewritten from scratch and the database was converted to a totally new, XML-based format.

The lensfun library not only provides a way to read the lens database and search for specific things in it, but also offers a set of algorithms for correcting images based on detailed knowledge of lens properties and calibration data. Right now lensfun is designed to correct distortion, transversal also known as lateral chromatic aberrations, vignetting, and colour contribution of the lens e.g. when sometimes people says one lens gives “yellowish” images and another, say, “bluish”.



Checkout these related ports:
  • Zphoto - Zooming photo album generator
  • Zint - Barcode generator (library and utilities)
  • Zimg - Image-generator that uses ASCII input files to create PNGs/EDFs
  • Zgv - Graphics viewer for SVGAlib
  • Zbar - ZBar barcode reader
  • Zathura - Customizable lightweight pdf viewer
  • Zathura-ps - PostScript support for Zathura PDF viewer
  • Zathura-pdf-poppler - Poppler render PDF plugin for Zathura PDF viewer
  • Zathura-pdf-mupdf - MuPDF render PDF plugin for Zathura PDF viewer
  • Zathura-djvu - DjVu support for zathura
  • Zathura-cb - Comic book plugin for Zathura PDF viewer
  • Yukon - Real-time capture tool for OpenGL applications
  • Yed - Editor for graphs and diagrams
  • Yafaray - Montecarlo raytracing engine
  • Yacreader - Yet another comic reader