gimp-lensfun 0.2.4-1
liblensfun-bin 0.3.2-4 ii
liblensfun-data-v1 0.3.2-4 ii
liblensfun1:amd64 0.3.2-4 ii
python3-lensfun 0.3.2-4

So everything is 0.3.2-4, except for gimp which is 0.2

I use lensfun with darktable 1:2.4.3-0pmjdebruijn1~bionic 

I try to get a Sigma 70-300mm F4-5.6 DG OS working with _fullformat_ and
darktable 2.4.3. The lens works with APS-C, but not with fullframe
after the repo-installation. The correction suggested by me with a
comment in the xml-file was used with APS-C (and worked).

The correction below generally works for APS-C and FF, but it is not
recognized in .local-folder. It is a different correction that I
suggested. The correction below is for FF.


So there are 3 place where a correction can be:

/usr/share/lensfun/version_1/
/var/lib/lensfun-updates/version_1/
~/.local/share/lensfun

What I tried with different headers and maybe there is something wrong.

I removed _all_ correction for Sigma 70-300mm in
/usr/share/lensfun/version_1/ and
/var/lib/lensfun-updates/version_1/

So the only correction then was in ~/.local/share/lensfun. Darktable did
not recognize the lens.

I added the correction below in /var/lib/lensfun-updates/version_1/,
but have kept all existing 70-300 corrections. Darktable did not
recognize the lens with FF.

Then I removed _all_ 70-300 corrections and added the correction below
in /usr/share/lensfun/version_1/. Darktable recognized the lens with
APS-C and FF.

So this will work until the next update only.

I have backuped the original slr-sigma.xml, so I can restore them easily
for tests.

Please note, I added:
<model lang="en">Sigma 70-300mm F4-5.6 DG OS</model>
to the existing FF-correction


<lensdatabase version="2">

    <lens>
        <maker>Sigma</maker>
        <model>Sigma 70-300mm f/4-5.6 DG Macro</model>
        <model lang="en">Sigma 70-300mm F4-5.6 DG OS</model>
        <mount>Sony Alpha</mount>
        <mount>Sigma SA</mount>
        <mount>Pentax KAF2</mount>
        <mount>Canon EF</mount>
        <mount>Nikon F AF</mount>
        <cropfactor>1</cropfactor>
        <calibration>
            <!-- Taken with Nikon D610 -->
            <distortion model="ptlens" focal="70" a="-0.00361"
    b="-0.00079" c="0.00665"/> <distortion model="ptlens" focal="90"
    a="-0.00146" b="-0.00111" c="0.01353"/> <distortion model="ptlens"
    focal="102" a="0.00417" b="-0.01327" c="0.02682"/> <distortion
    model="ptlens" focal="135" a="0.00681" b="-0.01051" c="0.01656"/>
    <distortion model="ptlens" focal="300" a="0" b="0.00905" c="0"/>
    <tca model="poly3" focal="70" br="0.0000707" vr="1.0000548"
    bb="-0.0000728" vb="1.0000550"/> <tca model="poly3" focal="90"
    br="0.0000178" vr="1.0000676" bb="-0.0000335" vb="0.9999981"/> <tca
    model="poly3" focal="102" br="0.0000021" vr="1.0000526"
    bb="-0.0000060" vb="0.9999382"/> <tca model="poly3" focal="135"
    br="-0.0000271" vr="1.0000352" bb="0.0000214" vb="0.9998037"/> <tca
    model="poly3" focal="220" br="-0.0000298" vr="0.9999532"
    bb="0.0000435" vb="0.9996860"/> <tca model="poly3" focal="300"
    br="-0.0000555" vr="0.9998700" bb="0.0000869" vb="0.9996162"/>
    </calibration> </lens>


</lensdatabase>

Thanks for your replies.

Al


F'up lensfun-us...@lists.sourceforge.net (but can be changed)
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to