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
. This lens did not appear to need any TCA correction anyway, interestingly enough.
<lens> <maker>Canon</maker> <model>Canon EF 50mm f/1.8 MkII</model> <mount>Canon EF</mount> <cropfactor>1.3</cropfactor> <calibration> <distortion model="ptlens" focal="50" a="-0.00016" b="-0.003951" c="0" /> <!-- manually selected compensation values --> <tca model="linear" focal="50" kr="1.000000" kb="1.000000" /> </calibration> </lens>