Bug #1026
Lens not recognized
100%
Description
Hello,
My
AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED [II]
is not recognized by exiv2.
exiv2 think it is a:
Nikon AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED
Therefore it is not well recognized by darktable.
I have to manually select the lens from the database (is listed).
I do not know whether lens correction data works.
I guess I should play with the below code lines, but I not so good and would like to avoid doing mistake...
{0x8B,0x40,0x2D,0x80,0x2C,0x3C,0x8D,0x0E,0x01,0x00,0x00, "Nikon", "JAA794DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED"}, {0x8B,0x40,0x2D,0x80,0x2C,0x3C,0xFD,0x0E,0x01,0x01,0x00, "Nikon", "JAA794DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED"}, {0x8B,0x40,0x2D,0x80,0x2C,0x3C,0xFD,0x0E,0x01,0x02,0x00, "Nikon", "JAA813DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED II"},
It could be that the code should be like this:
{0x8B,0x40,0x2D,0x80,0x2C,0x3C,0x8D,0x0E,0x01,0x00,0x00, "Nikon", "JAA794DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED"}, {0x8B,0x40,0x2D,0x80,0x2C,0x3C,0xFD,0x0E,0x01,0x01,0x00, "Nikon", "JAA813DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED II"},
But I am not sure! Do you need me to do some tests?
Please find enclosed the output from exiv2 and also Exiftool.
Regards,
Bastien
Files
Associated revisions
Add test case for bug #1026. Thanks goes to Bastien O for the image file.
History
Updated by Anonymous almost 7 years ago
Hi,
With the following modification it seems to be better:
[bastien@zoulou ~]$ cd /opt/exiv2/trunk/
[bastien@zoulou trunk]$ bin/exiv2 -pa /home/bastien/Darktable\ -\ problème\ objectif/aTest.jpg | grep Lens
Exif.Nikon3.LensType Byte 1 D G VR
Exif.Nikon3.Lens Rational 4 18-200mm F3.5-5.6
Exif.Nikon3.LensFStops Undefined 4 5.33333
Exif.NikonLd3.LensIDNumber Byte 1 Nikon AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED II
Exif.NikonLd3.LensFStops Byte 1 F5.3
/home/bastien/Darktable - problème objectif/aTest.jpg: (No XMP data found in the file)
@
[bastien@zoulou trunk]$ cat src/nikonmn.cpp | grep 18-200 | grep VR
// 8B 40 2D 80 2C 3C FD 0E.1: Nikon AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED
// 8B 40 2D 80 2C 3C FD 0E.2: Nikon AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED II
{0x8B,0x40,0x2D,0x80,0x2C,0x3C,0x8D,0x0E,0x01,0x00,0x00, "Nikon", "JAA794DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED"},
{0x8B,0x40,0x2D,0x80,0x2C,0x3C,0xFD,0x0E,0x01,0x01,0x00, "Nikon", "JAA813DA", "AF-S DX VR Zoom-Nikkor 18-200mm f/3.5-5.6G IF-ED II"},
[bastien@zoulou trunk]$
@
Updated by Niels Kristian Bech Jensen almost 7 years ago
- Category changed from exif to metadata
- Status changed from New to Assigned
- Assignee set to Niels Kristian Bech Jensen
I will take a look at this.
Best regards,
Niels Kristian Bech Jensen
Updated by Niels Kristian Bech Jensen almost 7 years ago
I have forwarded your report to Robert Rottmerhusen (www.rottmerhusen.com) to get his comments on this.
Best regards,
Niels Kristian Bech Jensen
Updated by Anonymous almost 7 years ago
Hi,
If it can help, and if one of you is not so far away from me, I can bring the hardware so that we are sure to do no mistake.
I live in the North of France, I can go to Brussel, Paris.
Or I can make a photo of my lens also send you JPEG photos shooted with my camera again.
Feel free to ask.
Updated by Niels Kristian Bech Jensen almost 7 years ago
Hi Bastien.
Thanks for your offer, but I live in Denmark, so it is too far away I think. A photo of your lens showing the text on it will be fine. You can attach it to this bug report.
Best regards,
Niels Kristian Bech Jensen
Updated by Anonymous almost 7 years ago
- File IMGP1900.JPG IMGP1900.JPG added
- File IMGP1901.JPG IMGP1901.JPG added
- File IMGP1902.JPG IMGP1902.JPG added
Ok I just made three photos of the lens.
Enclosed are those photos.
I shuld buy an new bleeding edge camera to my parents.
The PENTAX I just used to made those photos is so old and generates so ugly photos. :-/
Updated by Niels Kristian Bech Jensen almost 7 years ago
Hi Bastien.
Thank you for the photos. Robert Rottmerhusen would like to know the serial number of your lens to check against lists of known 'mk I' and 'mk II' lenses. Could you add that number?
Best regards,
Niels Kristian Bech Jensen
Updated by Anonymous almost 7 years ago
Hello,
Here it is!
Thanks.
Updated by Niels Kristian Bech Jensen almost 7 years ago
- Due date set to 25 Jan 2015
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Hi Bastien.
Thank you for the extra information. I have commited a fix for the problem to the svn trunk.
Will it be OK to add your image Test.jpg to our test suite to make sure the problem stay fixed in future revisions?
Best regards,
Niels Kristian Bech Jensen
Updated by Anonymous almost 7 years ago
Hi,
Thanks for asking. I appreciate that you are sensitive about "privacy" and such matters regarding the photos.
You can use as you want, without any restriction.
I am really happy because I have help to fix a problem.
Thanks a lot also to you two for your fast and effective support!
Bastien
Add comment to fix for bug #1026 (wrongly tagged in r3578).