Bug #926

Lens matching on Canon

Added by Steve Fosdick about 4 years ago. Updated over 2 years ago.

Status:ClosedStart date:13 Oct 2013
Priority:NormalDue date:31 Aug 2014
Assignee:Niels Kristian Bech Jensen% Done:

100%

Category:metadata
Target version:0.25

Description

I am currently having trouble with the recognition of a Sigma 150-500mm f/5-6.3 lens on Canon. This lens gives a lens ID of 174 and I recently submitted a patch (issue 921) to include this lens in the list embedded in canonmn.cpp. This works for some pictures and not others.

Eviv2 was changed recently to take the maximum aperture of a lens into account for some ID numbers and looking at those pictures where the lens is recognised correctly versus those where it is not what I believe is happening is that the lens reports the maximum aperture for the focal length it is currently set to whereas the code in canonmn.cpp assumes the lens will report the maximum aperture at any focal length. Thus depending on the focal length for that picture the maximum aperture value either matches or doesn't.

Any idea how to resolve this?

BTW I have reported this as a separate issue because I suspect it will affect more than just this lens, i.e. any case where a variable aperture zoom appears in an ID conflict.

20131014_163513_1136.jpg - Test picture at 150mm, max aperture F5, lens reported correctly (528 KB) Steve Fosdick, 14 Oct 2013 08:51

20131014_163522_1137.jpg - Test picture at 174mm, max aperture F5.7, lens not recognised (502 KB) Steve Fosdick, 14 Oct 2013 08:51

20131014_163556_1142.jpg - Test picture at 313mm, max aperture F6.2, lens not recognised (499 KB) Steve Fosdick, 14 Oct 2013 08:51


Related issues

Related to Exiv2 - Bug #927: Sigma Lens Not detected Closed 18 Oct 2013 31 Aug 2014
Related to Exiv2 - Bug #938: Tamron 18-270 is not detected anymore Closed 18 Dec 2013 31 Aug 2014
Related to Exiv2 - Patch #982: Improve detection of Canon lenses sharing the same IDs Closed 15 Aug 2014 31 Aug 2014

Associated revisions

Revision 3340
Added by Niels Kristian Bech Jensen about 3 years ago

Fix issue #982: Improve detection of Canon lenses sharing the same IDs. Also fixes issues #926, #927, and #938. Thanks goes to Alexander Steffen for the patch.

History

#1 Updated by Niels Kristian Bech Jensen about 4 years ago

  • Category set to metadata
  • Assignee set to Niels Kristian Bech Jensen
  • Target version set to 0.25

Hi Steve.

Would it be possible for you to attach some test images to this report? I would like some images where the lens is detected correctly and some where it is not detected. Small JPEGs with full EXIF data are fine.

Best regards,
Niels Kristian Bech Jensen

#2 Updated by Steve Fosdick about 4 years ago

Here are some pictures going through the zoom range. There are more pictures in the set but here I have included one picture for each distinct maximum aperture reported by the lens and only the one where the maximum aperture is reported as F5 works correctly.

#3 Updated by Niels Kristian Bech Jensen about 4 years ago

  • Status changed from New to Assigned

#4 Updated by Niels Kristian Bech Jensen about 3 years ago

  • Due date set to 31 Aug 2014
  • Status changed from Assigned to Resolved

Fixed by r3340.

Best regards,
Niels Kristian Bech Jensen

#5 Updated by Niels Kristian Bech Jensen about 3 years ago

  • % Done changed from 0 to 100

#6 Updated by Andreas Huggel over 2 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux