CameraRAW to Lensfun profile conversion

Hello

I use darktable for processing images. Lensfun inserted in the software does not have a vignetting correction for Tamron 100-400. However, Adobe CameraRaw/DNG, which I used before, does have it. Does anybody know, how to convert from DNG’s data to Lensfun, please?

An example of the data for 17-35 at 17 mm f/6,6 focus distane 1.4 (feet??) in Camera RAW:

Camera:ResidualMeanError=“0.000274” stCamera:VignetteModelParam1=“-0.419938” stCamera:VignetteModelParam2=“0.096494” stCamera:VignetteModelParam3=“-0.013429”

And Lensfun:

Thank you .

Though there is an Adobe to Lensfun conversion tool in Lensfun, darktable doesn’t support it out of the box. I never got it to work and you will probably need to compile everything from scratch.

Easier would be to take the samples needed for Lensfun.

Guess I’ll just wait for the replies on the dpreview forum

First issue you run into is the model each of the programs uses for the vignetting…(searching for the model from lensfun gave me that dpreview link)

Thanks!
Seems this part fell out: Edit: Forget it using a phone… Just check Dpreview

And Lensfun:

To create a decent vignette profile it may take a while. To create a profile that is good enough, then you can do that In a few minutes.

Compare the vignetting profiles for 500/4L IS USM that I don’t own and just borrowed with 800/5.6L IS USM that I own and had plenty of time to take all the pictures needed.

You find the two profiles at the bottom Create your own lens correction data for Lensfun – Kameratrollet

You can see the page for the lensfun tool here: lensfun: Converting Adobe LCP files to Lensfun: lensfun‑convert‑lcp

Thank you. However, I do not know how to use the script. What I did (Win10):

  1. Download the script (https://github.com/lensfun/lensfun/blob/master/apps/lensfun-convert-lcp) and put the Adobe LCP in the same folder (nothing else in the folder).
  2. Rename to .bat
  3. Run
  4. Download and install python
  5. Rename to .py
  6. Run

Issue might be as simple as me not knowing where the new file was created:
default=os.path.expanduser("~/.local/share/lensfun/

I do not know where to look for this. I did not find any “lensfun” on the whole C drive, where I put the original script and the Adobe LCP profile.

to the best of my knowledge this only works on linux. The directories you mentioned are for a linux installation.