Before lensfun can provide corrections the lens has to be correctly
identified from the EXIF data for which darktable uses the exiv2 library.
Usually libexiv2 is able to identify the lens from an ID number which
features in the EXIF data but sometimes these ID numbers are used by more
than one lens and libexiv2 must resort to using other information to tell
them apart.

You can check what libexiv2 thinks is the lens for a particular file by
running:

exiv2 -pt image.cr2

(or image .nef or image.jpg)

and looking in the output or using grep:

exiv2 -pt image.cr2 | grep -i lens

I think in the case of this Tamron it is a case of the same ID being used
by more than one lens and, given that the incorrect lens being reported is
a canon, I assume a Canon camera.  Looking in canonnm.cpp, the exiv2 module
concerned I note that these lenses:

Canon EF 90-300mm f/4.5-5.6 USM
Tamron SP 150-600mm F/5-6.3 Di VC USD
Tamron 16-300mm f/3.5-6.3 Di II VC PZD Macro
Tamron SP 70-300mm f/4-5.6 Di VC USD

all have ID 213 and that they are distinguished by the focal length.  If
the output of exiv2 -pt (as above) shows the lens incorrectly identified
then it may be that exiv2 needs to be a bit cleverer at telling them
apart.  You could check out the exiv2 homepage at http://www.exiv2.org/ and
the development site at http://dev.exiv2.org/projects/exiv2/wiki


On 20 September 2015 at 22:07, María Leandro <tata...@gmail.com> wrote:

> Hello all.
>
> Seems that I have the same issue, i own the same tamrom 70-300 and at the
> info module it only says "8" on the lens description and that's all. When I
> open the Lens Correction module it shows a bit more of info and recognizes
> it as a BelOMO. MC Peleng 3.5/8, however, it seems to read the focal
> distance and aperture quite fine.
>
> The tamrom lens is listed at the lensfun site, so it should be some other
> thing [1]
>
> [1] http://lensfun.sourceforge.net/lenslist/
>
> I will stay tuned since I have the same issue!
>
>
>
> 2015-09-20 12:51 GMT-04:30 Oliver Bedford <oliver.bedf...@yahoo.de>:
>
>> Hi,
>>
>> I've just imported some images and noticed that dt 1.6.8 doesn't
>> correctly identify my Tamron AF 70-300mm 4-5.6 Di SP VC USD but instead
>> thinks it's a Canon 90-300 f/4.5-5.6.
>>
>> I can manually select the Tamron in the lens correction module.
>>
>> Is this a bug?
>>
>> The Canon EF-S 10-18 seems to be still unknown to lensfun. Is there a
>> way to check the status of the lens (the lens data perhaps being already
>> there)?
>>
>> Regards,
>> Oliver
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Darktable-users mailing list
>> Darktable-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/darktable-users
>>
>
>
>
> --
> tatica
> Maria Gracia Leandro
> Blog: http://tatica.org
> Portfolio: http://tap.tatica.org
> LinuxUser= 440285 GPG Public Key: E1CDCC56
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Darktable-users mailing list
> Darktable-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/darktable-users
>
>
------------------------------------------------------------------------------
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to