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
.
<lens> <maker>Canon</maker> <model>Canon EF-S 10-22mm f/3.5-4.5 USM</model> <mount>Canon EF-S</mount> <cropfactor>1.6</cropfactor> <calibration> <distortion model="ptlens" focal="10" a="0.005371" b="-0.018303" c="0" /> <distortion model="ptlens" focal="12" a="0.002619" b="-0.009527" c="0" /> <distortion model="ptlens" focal="14" a="0.002896" b="-0.00705" c="0" /> <distortion model="ptlens" focal="17" a="0.005115" b="-0.010326" c="0" /> <distortion model="ptlens" focal="20" a="0.00512" b="-0.008414" c="0" /> <distortion model="ptlens" focal="22" a="0.002769" b="-0.004058" c="0" /> <!-- manually selected compensation values --> <tca model="linear" focal="10" kr="1.000300" kb="1.000700" /> <tca model="linear" focal="12" kr="1.000200" kb="1.000600" /> <tca model="linear" focal="14" kr="1.000200" kb="1.000600" /> <tca model="linear" focal="17" kr="1.000200" kb="1.000500" /> <tca model="linear" focal="20" kr="1.000200" kb="1.000400" /> <tca model="linear" focal="22" kr="1.000200" kb="1.000400" /> </calibration> </lens>