This is my LensFun entry for this lens. The distortion values listed are the default values that are included with the library. Unfortunately, following the lens calibration guide, I was unable to get tca_correct
to output anything meaningful. Most of the values were far off the scale that ufraw could deal with (ufraw/lensfun wants +/- 0.01 but I was geting +/- 0.5 or more). I just ended up manually selecting values for first order correction, producing a much better result than I could get from tca_correct
. Values below only tested on camera with crop factor of 1.6.
<lens> <maker>Canon</maker> <model>Canon EF 24-105mm f/4L IS USM</model> <mount>Canon EF</mount> <cropfactor>1.0</cropfactor> <calibration> <distortion model="ptlens" focal="24" a="0.017263" b="-0.049244" c="0" /> <distortion model="ptlens" focal="28" a="0.010878" b="-0.024454" c="0" /> <distortion model="ptlens" focal="35" a="0.007152" b="-0.009799" c="0" /> <distortion model="ptlens" focal="50" a="0.002502" b="0.004803" c="0" /> <distortion model="ptlens" focal="70" a="0" b="0.009685" c="0" /> <distortion model="ptlens" focal="88" a="0" b="0.008781" c="0" /> <distortion model="ptlens" focal="105" a="0" b="0.009598" c="0" /> <!-- manually selected compensation values --> <tca model="linear" focal="24" kr="1.000300" kb="1.000300" /> <tca model="linear" focal="28" kr="1.000400" kb="1.000300" /> <tca model="linear" focal="35" kr="1.000400" kb="1.000300" /> <tca model="linear" focal="50" kr="1.000100" kb="1.000100" /> <tca model="linear" focal="70" kr="1.000000" kb="1.000000" /> <tca model="linear" focal="88" kr="0.999900" kb="0.999800" /> <tca model="linear" focal="105" kr="0.999800" kb="0.999800" /> </calibration> </lens> <lens> <maker>Canon</maker> <model>Canon EF 24-105mm f/4L IS USM</model> <mount>Canon EF</mount> <cropfactor>1.6</cropfactor> <calibration> <distortion model="ptlens" focal="24" a="0.00552" b="-0.02074" c="0" /> <distortion model="ptlens" focal="28" a="0.00396" b="-0.01457" c="0" /> <distortion model="ptlens" focal="35" a="0.00091" b="-0.00171" c="0" /> <distortion model="ptlens" focal="50" a="0.00077" b="0.00096" c="0" /> <distortion model="ptlens" focal="70" a="0.0016" b="5e-05" c="0" /> <distortion model="ptlens" focal="88" a="0.00467" b="-0.00624" c="0" /> <distortion model="ptlens" focal="105" a="0.00797" b="-0.01307" c="0" /> <!-- manually selected compensation values --> <tca model="linear" focal="24" kr="1.000300" kb="1.000300" /> <tca model="linear" focal="28" kr="1.000400" kb="1.000300" /> <tca model="linear" focal="35" kr="1.000400" kb="1.000300" /> <tca model="linear" focal="50" kr="1.000100" kb="1.000100" /> <tca model="linear" focal="70" kr="1.000000" kb="1.000000" /> <tca model="linear" focal="88" kr="0.999900" kb="0.999800" /> <tca model="linear" focal="105" kr="0.999800" kb="0.999800" /> </calibration> </lens>