#1 Nikon 50mm 1.4G AFS and 20mm 2.8AIS



This is the calibration data for two Nikon lenses on crop factor 1 (Nikon D600 body):
- Nikon 50mm f/1.4G AFS
- Nikon 20mm f/2.8 AIS (manual focus version of the Nikon 20mm f/2.8 D AF)

The 50mm was not in the library.

For the 20mm lens, there's an entry for "Nikon 20mm f/2.8 D AF" (both are optically equivalent) but only for 1.5 crop factor.

I calibrated the lens distortion manually with Hugin, and tca with tca_correct.


1 Attachments


  • Torsten Bronger

    Torsten Bronger - 2014-04-14

    Thank you for your contribution! Did you put control points on straight lines in Hugin, or did you do a 360° panorama?

  • Torsten Bronger

    Torsten Bronger - 2014-04-14

    According to http://wilson.bronger.org/lensfun_coverage.html, there is already the 50mm in the database, but with a bigger crop factor, so your contribution is welcomed.

    • Nicolas Lannuzel

      It must be a very recent addition, I don't have it in the source I got on
      05/04. I will update, thanks.

      Last edit: Nicolas Lannuzel 2014-04-14
  • Nicolas Lannuzel

    I took raw photos of a skyscraper and manually added control points on straight lines. Hugin displays only 3 or 4 digits, so I took the parameters directly from inside the .pto file.

    I've tested the corrected distortion on different images. After correction in Darktable, I don't see any more distortion, including in the corners. So for my lenses, the correction is perfect.

    The TCA correction is also good, but not perfect on the 20mm lens at 100% or 200%. I'm not sure yet if it's a problem with ptlens model or darktable interpolation/demosaicing...

    I'm also working on the vignetting correction, but no good results so far.

  • Torsten Bronger

    Torsten Bronger - 2014-04-14

    I pushed your contributions to the git master and close this ticket now. Thank you again!

  • Torsten Bronger

    Torsten Bronger - 2014-04-14
    • status: open --> accepted
  • Torsten Bronger

    Torsten Bronger - 2014-04-14
    • status: accepted --> closed
  • Torsten Bronger

    Torsten Bronger - 2014-08-20
    • status: closed --> implemented

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks