On Wed, Feb 6, 2013 at 10:19 PM, Ulrich Pegelow
<ulrich.pege...@tongareva.de> wrote:
> Am 06.02.2013 22:03, schrieb Pascal de Bruijn:
>> On Wed, Feb 6, 2013 at 9:57 PM, Serge Gavrilov <se...@pdmi.ras.ru> wrote:
>>> On Ср., 2013-02-06 at 21:23 +0100, Pascal de Bruijn wrote:
>>>>>
>>>>> Could you make a sample RAW available for testing?
>>>>
>>>> Bump :)
>>>
>>> You can try
>>> http://www.pdmi.ras.ru/~serge/DSC_1009.zip
>>
>> It says: "corrections done: only distortion" on my system. Which is
>> exactly what I'd expect.
>
> Same here. The lensfun profile only has corrections for distortion.
> That's exactly what darktable reports back.

I'm afraid we had to break this again :(

slr-tamron.xml:        <model>Tamron 17-50mm f/2.8 XR Di II LD</model>

Exif.PentaxDng.LensType                      Byte        4  Tamron AF
17-50mm F2.8 XR Di-II LD (Model A16)

So the problem seems to be the Model A16 suffix :(

So looking into the Exiv2 sources:

     { 0x04e6, "Tamron SP AF 17-50mm F2.8 XR Di II" },
     { 0x07e6, "Tamron AF 17-50mm F2.8 XR Di-II LD (Model A16)" },

So to be honest I'm not sure how to proceed with this.... I'm tempted
to think this should be resolved on lensfun's end with aliases instead
of fuzzy matching....

The temporary workaround would be to create a local """alias""" by
copying the lensfun entry with a different name.

If you place the slr-custom-tamrom.xml into:
~/.local/share/lensfun/slr-custom-tamron.xml

Lens correction should work again.

Regards,
Pascal de Bruijn
<lensdatabase>

    <lens>
        <maker>Tamron</maker>
        <model>Tamron AF 17-50mm f/2.8 XR Di II LD (Model A16)</model>
        <mount>Canon EF</mount>
        <mount>Nikon F AF</mount>
        <mount>Pentax KAF</mount>
        <mount>Sony Alpha</mount>
        <cropfactor>1.5</cropfactor>
        <calibration>
            <distortion model="ptlens" focal="17" a="0.02667" b="-0.07161" c="0.02012"/>
            <distortion model="ptlens" focal="24" a="0.02791" b="-0.08057" c="0.07132"/>
            <distortion model="ptlens" focal="35" a="-0.01098" b="0.0448" c="-0.04755"/>
            <distortion model="ptlens" focal="50" a="-0.00372" b="0.01796" c="-0.01334"/>
            <tca model="poly3" focal="17" br="0.0000205" vr="1.0005975" bb="-0.0001325" vb="1.0008428"/>
            <tca model="poly3" focal="24" br="-0.0000073" vr="1.0004585" bb="-0.0000382" vb="1.0004269"/>
            <tca model="poly3" focal="35" br="-0.0000351" vr="1.0002419" bb="-0.0000228" vb="1.0001575"/>
            <tca model="poly3" focal="50" br="-0.0000294" vr="1.0000100" bb="-0.0000149" vb="0.9999915"/>
        </calibration>
    </lens>
    
</lensdatabase>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to