Created attachment 94423 [details] Screenshots of autodetected lenses Moin, in Image Editor -> Enhance -> Lens -> Auto-Correction images taken by my Nikon D7000 and fixed focal length lenses 35mm f/1.8 and 50mm f/1.8 are not detected correctly. Instead a wrong lens is selected in the listbox. Since the lenses are available in the listbox, I assume it is just a matter of matching. Displayed Lens: Nikon AF-S DX Nikkor 35 f/1.8G suitable Listbox entry: Nikon Nikkor 35mm f/1.8G AF-S DX Displayed Lens: Nikon AF-S Nikkor 50mm f/1.8G suitable Listbox entry: Nikkor 50mm f/1.8 AI-S Please fix this. Reproduced using Digikam 4.12 in Windows and Digikam 4.0 in Linux Mint. Best
Please provide a sample image to reproduce the problem. Use web hosting service, because bugzilla has file size limitation Gilles Caulier
Created attachment 94434 [details] Sample image taken using 35mm 1.8f object
Created attachment 94435 [details] Sample image taken using 50mm 1.8f object
Here both images are detected with LibLensFun-0.3.1 with exact matches. Which version of LibLensFun you have installed? Maik
Which version of libExiv2 have installed? Look in components info dialog from digiKam. Maik
Hi Gilles and Maik, thanks a lot for the rapid replies. My Windows digikam 4.12 ships with an older version of LibLensFun: 0.2.6-0, guess that's the problem. Haven't checked in Linux Mint 17.2 with digikam 4.0, but I assume it is the same thing. Below you find the complete list of component versions of Windows digikam 4.12. Could you please trigger the compilation of a windows version bundled with the updated version of LibLensFun? In the meanwhile I am considering switching from Linux Mint 17.2 back to Kubuntu 15.04, since I was not able get a recent version of digikam running using philip5's ppa. Thanks a lot for your help! digiKam version 4.12.0 CPU cores: 4 Demosaic GPL2 pack support: No Demosaic GPL3 pack support: No Exiv2 can write to Jp2: Yes Exiv2 can write to Jpeg: Yes Exiv2 can write to Pgf: Yes Exiv2 can write to Png: Yes Exiv2 can write to Tiff: Yes Exiv2 supports XMP metadata: Yes LibCImg: 130 LibEigen: 3.2.0 LibExiv2: 0.25 LibJPEG: 90 LibJasper: 1.900.1 LibKDE: 4.10.2 LibKExiv2: 2.4.0 LibKGeoMap: 3.1.0 LibKdcraw: 2.4.2 LibLCMS: 2040 LibLensFun: 0.2.6-0 LibLqr support: yes LibPGF: 6.14.12 LibPNG: 1.5.14 LibQt: 4.8.4 LibRaw: 0.16.0 LibTIFF: LIBTIFF, Version 3.9.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Marble Widget: 0.15.1 (stable version) Parallelized demosaicing: No RawSpeed codec support: No Baloo support: no Database backend: QSQLITE Kdepimlibs support: no Kipi-Plugins: 4.12.0 LibGphoto2 support: no LibKface: 3.5.0 LibKipi: 2.2.0 LibOpenCV: 2.4.9 Sqlite2 support: no
Running digikam 4.13 in kubuntu 15.04 and libLensFun 0.3.1-0 the lenses of both images are correctly matched, thanks again for the hint! Unfortunately, now another lens (that was previously detected correctly) is now no longer detected: Lens: Nikon AF-S DX VR Zoom-Nikkor 18-105 f/3.5-5.6G ED VR Sample image 18-105-2.jpg is attached below.
Created attachment 94460 [details] 3rd sample image taken using 18-105mm object
Git commit 4fe55931acada0e05ae0ede95f5ac79db80e9a4a by Maik Qualmann. Committed on 16/09/2015 at 06:04. Pushed by mqualmann into branch 'master'. optimization the lens detection in the auto-correction filter FIXED-IN: 4.14.0 M +2 -1 NEWS M +3 -0 libs/dimg/filters/lens/lensfuniface.cpp http://commits.kde.org/digikam/4fe55931acada0e05ae0ede95f5ac79db80e9a4a
Git commit e4336f78f161d7e6ed304b573e83d5b77ac84a21 by Gilles Caulier. Committed on 16/09/2015 at 06:30. Pushed by cgilles into branch 'frameworks'. backport commit #4fe55931acada0e05ae0ede95f5ac79db80e9a4a from git/master to frameworks branch M +3 -0 libs/dimg/filters/lens/lensfuniface.cpp http://commits.kde.org/digikam/e4336f78f161d7e6ed304b573e83d5b77ac84a21
Thank you for the rapid fix! I will test as soon as the new version is shipped under linux