Hi everyone,

Not sure if this could be a bug or something related to my installation so
I decided to write here before just in cae.

I have a "TAMRON SP 70-200mm F/2.8 Di VC USD" with Canon mount, I use it on
my Canon 6D.

This lens was not part of lensfun so lens correction could not be applied
to it. So I send Torsten Bronger the requested Raw samples and he was
really kind to prepare the required lenscorrection profile.

I suppose this correction profile will go into lensfun's next release but I
attach it here so that anyone with the same lens can test and use it now by
placing it in ~/.local/share/lensfun directory.

If I enable lens correction module in darktable though the lens is not
correctly detected, I can choose the lens by hand and it works great but it
is not detected automatically. Instead a 255 appears where the lens model
should appear.

Torsten told me that this is probably related to Exiv2 library so before
reporting to them I tried this command on my Ubuntu 14.04: exiv2 -pt
20160117_0011.CR2|grep Lens

And this was the output:

Exif.CanonCs.LensType                        Short       1  255
Exif.CanonCs.Lens                            Short       3  70.0 - 200.0 mm
Exif.Canon.LensModel                         Ascii      74  TAMRON SP
70-200mm F/2.8 Di VC USD A009UUD
Exif.Photo.LensSpecification                 Rational    4  70/1 200/1 0/1
0/1
Exif.Photo.LensModel                         Ascii      40  TAMRON SP
70-200mm F/2.8 Di VC USD A009
Exif.Photo.LensSerialNumber                  Ascii      11  0000000000

So it seems to me that Exiv2 does indeed recognize the lens.

I have shared a RAW in case someone can check if it also happens to them:
https://www.dropbox.com/s/55jh1w7mkoc3ox2/20160117_0060.CR2?dl=0

Any clue? Should I report this as a darktable bug?

Thanks
=============
Igor Blanco.
<lensdatabase>
    <lens>
        <maker>Tamron</maker>
        <model>Tamron SP 70-200mm F/2.8 Di VC USD A009</model>
        <model lang="en">Tamron SP 70-200mm F/2.8 Di VC USD</model>
        <mount>Nikon F AF</mount>
        <mount>Canon EF</mount>
        <mount>Sony Alpha</mount>
        <mount>Pentax KAF2</mount>
        <cropfactor>1.005</cropfactor>
        <calibration>
            <!-- Taken with Canon 6D -->
            <distortion model="poly3" focal="70" k1="-0.00107" />
            <distortion model="poly3" focal="100" k1="0.0043" />
            <distortion model="poly3" focal="134" k1="0.00472" />
            <distortion model="poly3" focal="167" k1="0.00808" />
            <distortion model="poly3" focal="200" k1="0.00838" />
            <tca model="poly3" focal="70" br="0.0000029" vr="1.0002132" bb="-0.0000057" vb="1.0000094" />
            <tca model="poly3" focal="100" br="-0.0000221" vr="1.0000652" bb="-0.0000658" vb="1.0001278" />
            <tca model="poly3" focal="134" br="0.0000229" vr="0.9999349" bb="-0.0000511" vb="1.0001457" />
            <tca model="poly3" focal="167" br="0.0000443" vr="0.9998583" bb="-0.0000448" vb="1.0001015" />
            <tca model="poly3" focal="200" br="0.0000116" vr="0.9998570" bb="-0.0000265" vb="1.0000494" />
            <vignetting model="pa" focal="70" aperture="2.8" distance="10" k1="-0.6171" k2="0.0437" k3="-0.0332" />
            <vignetting model="pa" focal="70" aperture="2.8" distance="1000" k1="-0.6171" k2="0.0437" k3="-0.0332" />
            <vignetting model="pa" focal="70" aperture="4" distance="10" k1="0.0040" k2="-0.3182" k3="-0.0755" />
            <vignetting model="pa" focal="70" aperture="4" distance="1000" k1="0.0040" k2="-0.3182" k3="-0.0755" />
            <vignetting model="pa" focal="70" aperture="5.6" distance="10" k1="-0.2547" k2="0.5826" k3="-0.6187" />
            <vignetting model="pa" focal="70" aperture="5.6" distance="1000" k1="-0.2547" k2="0.5826" k3="-0.6187" />
            <vignetting model="pa" focal="70" aperture="8" distance="10" k1="-0.2262" k2="0.4231" k3="-0.3675" />
            <vignetting model="pa" focal="70" aperture="8" distance="1000" k1="-0.2262" k2="0.4231" k3="-0.3675" />
            <vignetting model="pa" focal="70" aperture="32" distance="10" k1="-0.1338" k2="-0.0139" k3="0.0515" />
            <vignetting model="pa" focal="70" aperture="32" distance="1000" k1="-0.1338" k2="-0.0139" k3="0.0515" />
            <vignetting model="pa" focal="98" aperture="2.8" distance="10" k1="-0.6974" k2="0.5418" k3="-0.3783" />
            <vignetting model="pa" focal="98" aperture="2.8" distance="1000" k1="-0.6974" k2="0.5418" k3="-0.3783" />
            <vignetting model="pa" focal="98" aperture="4" distance="10" k1="-0.2254" k2="0.4093" k3="-0.4754" />
            <vignetting model="pa" focal="98" aperture="4" distance="1000" k1="-0.2254" k2="0.4093" k3="-0.4754" />
            <vignetting model="pa" focal="98" aperture="5.6" distance="10" k1="-0.2580" k2="0.3968" k3="-0.3102" />
            <vignetting model="pa" focal="98" aperture="5.6" distance="1000" k1="-0.2580" k2="0.3968" k3="-0.3102" />
            <vignetting model="pa" focal="98" aperture="8" distance="10" k1="-0.1735" k2="0.0667" k3="0.0050" />
            <vignetting model="pa" focal="98" aperture="8" distance="1000" k1="-0.1735" k2="0.0667" k3="0.0050" />
            <vignetting model="pa" focal="98" aperture="32" distance="10" k1="-0.1981" k2="0.0687" k3="0.0261" />
            <vignetting model="pa" focal="98" aperture="32" distance="1000" k1="-0.1981" k2="0.0687" k3="0.0261" />
            <vignetting model="pa" focal="129" aperture="2.8" distance="10" k1="-0.4629" k2="-0.4214" k3="0.2866" />
            <vignetting model="pa" focal="129" aperture="2.8" distance="1000" k1="-0.4629" k2="-0.4214" k3="0.2866" />
            <vignetting model="pa" focal="129" aperture="4" distance="10" k1="0.0147" k2="-0.4337" k3="0.0395" />
            <vignetting model="pa" focal="129" aperture="4" distance="1000" k1="0.0147" k2="-0.4337" k3="0.0395" />
            <vignetting model="pa" focal="129" aperture="5.6" distance="10" k1="-0.2557" k2="0.5165" k3="-0.5489" />
            <vignetting model="pa" focal="129" aperture="5.6" distance="1000" k1="-0.2557" k2="0.5165" k3="-0.5489" />
            <vignetting model="pa" focal="129" aperture="8" distance="10" k1="-0.2803" k2="0.4676" k3="-0.3578" />
            <vignetting model="pa" focal="129" aperture="8" distance="1000" k1="-0.2803" k2="0.4676" k3="-0.3578" />
            <vignetting model="pa" focal="129" aperture="32" distance="10" k1="-0.2125" k2="0.1084" k3="0.0036" />
            <vignetting model="pa" focal="129" aperture="32" distance="1000" k1="-0.2125" k2="0.1084" k3="0.0036" />
            <vignetting model="pa" focal="152" aperture="2.8" distance="10" k1="-0.6975" k2="-0.2219" k3="0.2987" />
            <vignetting model="pa" focal="152" aperture="2.8" distance="1000" k1="-0.6975" k2="-0.2219" k3="0.2987" />
            <vignetting model="pa" focal="152" aperture="4" distance="10" k1="0.1234" k2="-1.0053" k3="0.4797" />
            <vignetting model="pa" focal="152" aperture="4" distance="1000" k1="0.1234" k2="-1.0053" k3="0.4797" />
            <vignetting model="pa" focal="152" aperture="5.6" distance="10" k1="-0.1699" k2="0.2227" k3="-0.3827" />
            <vignetting model="pa" focal="152" aperture="5.6" distance="1000" k1="-0.1699" k2="0.2227" k3="-0.3827" />
            <vignetting model="pa" focal="152" aperture="8" distance="10" k1="-0.3105" k2="0.5837" k3="-0.4807" />
            <vignetting model="pa" focal="152" aperture="8" distance="1000" k1="-0.3105" k2="0.5837" k3="-0.4807" />
            <vignetting model="pa" focal="152" aperture="32" distance="10" k1="-0.2199" k2="0.1181" k3="-0.0014" />
            <vignetting model="pa" focal="152" aperture="32" distance="1000" k1="-0.2199" k2="0.1181" k3="-0.0014" />
            <vignetting model="pa" focal="172" aperture="2.8" distance="10" k1="-1.1271" k2="0.6670" k3="-0.1770" />
            <vignetting model="pa" focal="172" aperture="2.8" distance="1000" k1="-1.1271" k2="0.6670" k3="-0.1770" />
            <vignetting model="pa" focal="172" aperture="4" distance="10" k1="0.1035" k2="-1.2096" k3="0.7009" />
            <vignetting model="pa" focal="172" aperture="4" distance="1000" k1="0.1035" k2="-1.2096" k3="0.7009" />
            <vignetting model="pa" focal="172" aperture="5.6" distance="10" k1="-0.0904" k2="-0.0621" k3="-0.1824" />
            <vignetting model="pa" focal="172" aperture="5.6" distance="1000" k1="-0.0904" k2="-0.0621" k3="-0.1824" />
            <vignetting model="pa" focal="172" aperture="8" distance="10" k1="-0.2978" k2="0.5668" k3="-0.4911" />
            <vignetting model="pa" focal="172" aperture="8" distance="1000" k1="-0.2978" k2="0.5668" k3="-0.4911" />
            <vignetting model="pa" focal="172" aperture="32" distance="10" k1="-0.2479" k2="0.1925" k3="-0.0508" />
            <vignetting model="pa" focal="172" aperture="32" distance="1000" k1="-0.2479" k2="0.1925" k3="-0.0508" />
            <vignetting model="pa" focal="200" aperture="2.8" distance="10" k1="-1.5497" k2="1.6732" k3="-0.7687" />
            <vignetting model="pa" focal="200" aperture="2.8" distance="1000" k1="-1.5497" k2="1.6732" k3="-0.7687" />
            <vignetting model="pa" focal="200" aperture="4" distance="10" k1="-0.0389" k2="-1.0804" k3="0.7106" />
            <vignetting model="pa" focal="200" aperture="4" distance="1000" k1="-0.0389" k2="-1.0804" k3="0.7106" />
            <vignetting model="pa" focal="200" aperture="5.6" distance="10" k1="0.0026" k2="-0.4269" k3="0.0882" />
            <vignetting model="pa" focal="200" aperture="5.6" distance="1000" k1="0.0026" k2="-0.4269" k3="0.0882" />
            <vignetting model="pa" focal="200" aperture="8" distance="10" k1="-0.2709" k2="0.4909" k3="-0.4424" />
            <vignetting model="pa" focal="200" aperture="8" distance="1000" k1="-0.2709" k2="0.4909" k3="-0.4424" />
            <vignetting model="pa" focal="200" aperture="32" distance="10" k1="-0.2670" k2="0.2535" k3="-0.0952" />
            <vignetting model="pa" focal="200" aperture="32" distance="1000" k1="-0.2670" k2="0.2535" k3="-0.0952" />
        </calibration>
    </lens>
</lensdatabase>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to