Techie Notes‎ > ‎

Lensfun lens profile for m.zuiko 17mm prime

posted Feb 21, 2011 12:35 AM by Tedman Leung   [ updated Jul 25, 2011 8:26 PM ]
I've submitted this back to lensfun so hopefully this will appear in the lens db soon. For now here it is

<lens>
    <maker>Olympus</maker>
    <model>Olympus M.Zuiko Digital 17mm F2.8 Pancake</model>
    <mount>Micro 4/3 System</mount>
    <cropfactor>2.0</cropfactor>
    <calibration>
        <distortion model="poly3" focal="17" k1="-0.110" />
<tca model="poly3" focal="17" br="-0.0002" vr="1.00045" bb="0.0003" vb="1.0002" />
    </calibration>
</lens>

Hand crafted distortion and tca because the hugin generated values were off by about a factor of 4... 4x too weak distortion correction and 4x too strong tca correction.

--- addition ---

After more investigation... It turns out that UFRaw is having problems applying the correction. My current suspicion which I've raised with them is they are not taking the crop factor of the lens/sensor into account.

As a result the above numbers work for the buggy UFRaw but will not work once fixed. This is evidenced by trying to use these numbers in other applications like DarkTable. This also explains why the hugin generated numbers appeared to not work in ufraw.