* Stéphane Gourichon <[email protected]> [03-28-14 16:39]: > Hello, > > This is with darktable 1.4.1 and lensfun 0.2.7. > > The Nikon D60 widely sold with the a specific lens. Here is the tag in > exiftool: > > Lens ID : AF-S DX VR Zoom-Nikkor 18-55mm f/3.5-5.6G > > Expected: darktable lens correction module matches it with parameters in > the database. > > Observed: darktable lens correction module does not match it with > parameters in the database. User has to choose manually this one (text > pasted from /usr/share/lensfun/slr-nikon.xml): > > <model>Nikkor 18-55mm f/3.5-5.6G AF-S DX VR</model> > > As you can see the information in the ID is not ordered the same in both > texts. > > Most of the 55 Nikkor lenses in darktable database are formatted like > the example above : Nikkor then focal length in mm then aperture (f > number) then keywords. > > Plus one is like this just prefixed by Nikon before Nikkor, the "Nikon > Nikkor 35mm f/1.8G AF-S DX". > > The database has two lenses formatted similarly to my lens : Nikon then > keywords then Nikkor then focal length in mm then aperture (f number) > then possibly some more keywords. > > <model>Nikon AF-S DX VR Zoom-Nikkor 18-105mm f/3.5-5.6G ED</model> > <model>Nikon AF Nikkor 50mm f/1.8D</model> > > What should we do to the lensfun database so that at least the common > lens that I use is recognized ? > > * Change the name ? That would break darktable for the lenses that use > the other ordering, if they exist (they probably exist, don't they ?) > * Duplicate the declaration ? That would work but is inelegant. > * Declare several names for the same lens ? Does lensfun allow that ? > * Change lensfun matching algorithm so that it recognizes both ? That > sounds complicated.
That's not all, the two versions at http://lensfun.berlios.de/db/ contain different capitalization from each other and from the published 0.2.8 lists. And iianm, replacing the 0.2.8 listing in /usr/share/lensfun will make my presents fail, re: NIKON/NIKKOR/Nikon/Nikkor :^( And probably cause problems when making changes to an image processed with a previous version of the database. Is it possible to use a *fuzzy* match where you would match all forms of the NIKON/NIKKOR/Nikon/Nikkor combinations. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net ------------------------------------------------------------------------------ _______________________________________________ Darktable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-users
