Bug 238285 - Nikkor 18-200mm not detected by lens autocorrection
Summary: Nikkor 18-200mm not detected by lens autocorrection
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Exif (show other bugs)
Version: 1.2.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-20 11:56 UTC by humufr
Modified: 2017-08-13 07:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.4.0


Attachments
exif file (36.90 KB, image/tiff)
2010-05-20 11:57 UTC, humufr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description humufr 2010-05-20 11:56:55 UTC
Version:           1.2.0 (using 4.4.3 (KDE 4.4.3), KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.45-0.1-default

Digikam does have a problem to read the exif metadata from my lens. The lens is a nikkor 18-200mm but the one proposed by the lens autocorrection is nikkor 24-85mm. I join one exif file saved with digikam so you can have the information.
Comment 1 humufr 2010-05-20 11:57:31 UTC
Created attachment 43744 [details]
exif file
Comment 2 caulier.gilles 2010-05-20 19:18:44 UTC
This problem is fully relevant of Exiv2 library. digiKam already extract Nikon Lens info from Makernotes, but if Exiv2 don't know this lens in the list, it will not work.

http://lxr.kde.org/source/extragear/graphics/digikam/libs/dmetadata/dmetadata.cpp#960

Which Exiv2 release you use exactly ?

Gilles Caulier
Comment 3 Jens Mueller 2010-05-20 19:53:48 UTC
Beside your exiv2 version, is the lens name listed in photo properties (left sidebar)? Is the lens listed in lens selector in autocorrection plugin (lensfun-db)?

I extended lensfun searches for digikam 1.3 (fully nikon relevant), so I assume your problem is fixed in current svn.

Could you please attach a downsized jpeg image with full makernotes, I'm not able to open the previous one.

Regards, Jens
Comment 4 Jens Mueller 2010-05-20 23:22:47 UTC
I just tried this one: http://www.flickr.com/photos/kadath/3479009372/in/set-72157617186639099/ 

With digikam 1.3svn lensfun 2.5svn and exiv2 0.19svn the lens is selected in autocorrection tool.

With digikam 1.2 lensfun 2.3 and exiv 0.19 the lens is listed in autocorrection drop down list but lens name is not decoded and therefore right lens could not be selected.

One problem for future use could be that the lensid of the 'Nikkor 18-200mm f/3.5-5.6G IF-ED' is the same than the new II version.

Jens
Comment 5 caulier.gilles 2010-06-07 10:10:14 UTC
Jens,

Do you manage this entry for the future ?

Gilles Caulier
Comment 6 Jens Mueller 2010-06-07 22:28:14 UTC
I think this entry can be closed with release 1.3 (additional lensfun searches). I tested various different nikon lenses, and none of them is not selected when there is a lensfun entry. 
The Nikkor 18-200mm f/3.5-5.6G IF-ED exists in two versions, the newer one with a better VR, but I don't know if optical design and therefore correction params have been changed.