Project

General

Profile

Bug #926

Lens matching on Canon

Added by Steve Fosdick about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
metadata
Target version:
Start date:
13 Oct 2013
Due date:
31 Aug 2014
% Done:

100%

Estimated time:

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.


Files

20131014_163513_1136.jpg (528 KB) 20131014_163513_1136.jpg Test picture at 150mm, max aperture F5, lens reported correctly Steve Fosdick, 14 Oct 2013 08:51
20131014_163522_1137.jpg (502 KB) 20131014_163522_1137.jpg Test picture at 174mm, max aperture F5.7, lens not recognised Steve Fosdick, 14 Oct 2013 08:51
20131014_163556_1142.jpg (499 KB) 20131014_163556_1142.jpg Test picture at 313mm, max aperture F6.2, lens not recognised Steve Fosdick, 14 Oct 2013 08:51

Related issues

Related to Exiv2 - Bug #927: Sigma Lens Not detectedClosed18 Oct 201331 Aug 2014

Actions
Related to Exiv2 - Bug #938: Tamron 18-270 is not detected anymoreClosed18 Dec 201331 Aug 2014

Actions
Related to Exiv2 - Patch #982: Improve detection of Canon lenses sharing the same IDsClosed15 Aug 201431 Aug 2014

Actions

Associated revisions

Revision 3340 (diff)
Added by Niels Kristian Bech Jensen about 7 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 8 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 8 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 8 years ago

  • Status changed from New to Assigned
#4

Updated by Niels Kristian Bech Jensen about 7 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 7 years ago

  • % Done changed from 0 to 100
#6

Updated by Andreas Huggel over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF