Hi all

I'm using an OLYMPUS M.14-42mm F3.5-5.6 L lens
I try with several tools (darktable, ufraw..) to use the lensfun library 
but without any success.

I have a look in the database, this lens is available but I notice 
something:
It's the only one with floating value for the focal in the distorsion 
nodes.

I try to modify the xml file by replacing the focal value by the nearest 
integer value and now it works. May be there is an issue in the 
interpollation code or in the API.

To have a clean calibration data I create a new one using the Hugin 
calibration tool and the calibrate.py scrcipt, here is the result:
     <lens>
         <maker>Olympus</maker>
         <model>OLYMPUS M.14-42mm F3.5-5.6 L</model>
         <mount>Micro 4/3 System</mount>
         <cropfactor>2.0</cropfactor>
         <calibration>
             <distortion model="ptlens" focal="14" a="0.00251" 
b="-0.0466" c="0.01364" />
             <distortion model="ptlens" focal="17" a="0.0076" 
b="-0.04483" c="0.01242" />
             <distortion model="ptlens" focal="21" a="-0.03375" 
b="0.11786" c="-0.15997" />
             <distortion model="ptlens" focal="25" a="-0.00958" 
b="0.02505" c="-0.0056" />
             <distortion model="ptlens" focal="28" a="-0.0175" 
b="0.05844" c="-0.03209" />
             <distortion model="ptlens" focal="34" a="0.03865" 
b="-0.13582" c="0.19118" />
             <distortion model="ptlens" focal="38" a="0.02289" 
b="-0.07247" c="0.11734" />
             <distortion model="ptlens" focal="42" a="-0.00343" 
b="0.01852" c="0.0222" />
             <tca model="poly3" focal="14" br="0.0005004" vr="1.0000986" 
bb="-0.0001756" vb="1.0002318" />
             <tca model="poly3" focal="17" br="0.0002356" vr="1.0001471" 
bb="-0.0001180" vb="1.0002140" />
             <tca model="poly3" focal="21" br="0.0000836" vr="1.0001432" 
bb="-0.0000507" vb="1.0001189" />
             <tca model="poly3" focal="25" br="-0.0000539" 
vr="1.0002940" bb="0.0000075" vb="1.0001088" />
             <tca model="poly3" focal="28" br="-0.0000956" 
vr="1.0003253" bb="0.0000855" vb="1.0000274" />
             <tca model="poly3" focal="34" br="-0.0001392" 
vr="1.0003408" bb="0.0000176" vb="1.0000297" />
             <tca model="poly3" focal="38" br="-0.0001472" 
vr="1.0003982" bb="0.0000506" vb="0.9999482" />
             <tca model="poly3" focal="42" br="-0.0001687" 
vr="1.0004533" bb="0.0000754" vb="0.9998965" />
         </calibration>
     </lens>

Regards

Philippe



------------------------------------------------------------------------------
_______________________________________________
Lensfun-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lensfun-users

Reply via email to