Hi,
I recently submitted my Voigtlander 28mm f1.5 Nokton e mount lens to Lensfun for a calibration profile.
They came back with a profile as a .xml file.
How do I incorporate this file into darktable so it is accessible to me when I wish to apply this new lens profile?
I am currently running darktable 5.2.1
Thanks for any help.
Depends on your system.
On a Linux box, you could put the xml file in ~/.local/share/lensfun
If it has already been added to the official Lensfun database, you just run lensfun-update-data
from a terminal.
Also depends on the system - that does not work/exist on Windows.
Just as a side issue I run DT 5.3 weekly builds for windows and this week lens calibration for my Sigma 16-300mm was included in the weekly build for the first time so the lens fun database must have been updated for that. Can you share a raw file from your lens so I can see if it is in the database?
I’m running on windows 11. So is there a way to update the lensfun data base? Is it only when dt updates?
This is the image I sent Lensfun for calibration. Yesterday they emailed to say my lens has been added to the database…which it has.
DSC00984.ARW (42.0 MB)
Not tested by me, but have a look at this:
I just opened the image in DT 5.3 +229 weekly build for Windows and a lens correction was applied. The correction method shown was embedded metadata. I was not sure what this meant so I looked up the user guide and quote it here. The resulting corrections looked good to me.
correction method
Choose which method to use to correct distortions. Additional controls will be provided depending on the option selected:
“Lensfun database”: Use corrections provided by the Lensfun project.
“embedded metadata”: Use corrections embedded in the metadata of the Raw file. This is only available if supported metadata is found.
“only manual vignette”: Do not perform any automatic correction but provide manual vignette correction.
Thanks for checking. When my calibration profile came back they said that they incorporated the vignetting and TCA correction values ​​from the EXIF ​​data into the profile.
How can I access this version of DT?
I use this weekly build as my only DT build, but it is the development branch and there is the risk something may be buggy. So use this at own risk. However, that being said I never had any major problem and the few minor problems I reported and were promptly fixed by the developers.
Right now, it’s
Next week, it’ll be different.
A new version comes out each Monday and the link is posted to this forum. Sorry I sent an old link I found when trying to search previous posts to the forum.
Thanks for the update. No problem about sending the old link.
I am now running 5.3.0+229.
Yes lens correction does occur using the embedded data but not when accessing the lensfun data base.
When I look at the lensfun database in dt the voigtlander 28mm is not listed yet. So it appears they are still using an old lensfun database for this version of dt. When checking the daily updated lensfun database the Voigtlander 28mm is listed.
Can I request the developers to upgarde the lensfun database or do i just be patient?
Thanks for your help on this.
Thank you for this…
Update. Problem solved.
I followed the instructions that @marluk posted in Nov 22 which worked perfectly. This allowed me to add the .xml file directly into the lensfun file libuary in DT.
The resulting corrections from the database were much better than from the embedded metadata