Project

General

Profile

Feature #1008

Tamron 24-70mm wrongly detected as Sigma 24-70mm

Added by Simon Spannagel almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
metadata
Target version:
Start date:
15 Dec 2014
Due date:
% Done:

0%

Estimated time:

Description

Dear all,

my Tamron SP 24-70mm f/2.8 Di VC USD lens is currently detected as Sigma 24-70mm f/2.8 IF EX DG HSM. I'm not sure if this is solvable since both seem to somehow have the same Lens ID but also have the same focal length if I read this correctly:

trunk/src/canonmn.cpp:
[...]
    //! LensType, tag 0x0016

    extern const TagDetails canonCsLensType[] = {
[...]
        { 137, "Sigma 24-70mm f/2.8 IF EX DG HSM"                           }, // 4
        { 137, "Tamron SP 24-70mm f/2.8 Di VC USD"                          }, // 14
[...]
    }

Is there a way to work around this issue? It's very tiresome to always have to select the correct lens by hand in darktable for the lens correction to work...

Here the full exiv2 dump of a CR2 file recorded with this lens on a Canon EOS 550D (Rebel T2i)

$ exiv2 -pt IMG_1041.CR2
Exif.Image.ImageWidth                        Short       1  5184
Exif.Image.ImageLength                       Short       1  3456
Exif.Image.BitsPerSample                     Short       3  8 8 8
Exif.Image.Compression                       Short       1  JPEG (old-style)
Exif.Image.Make                              Ascii       6  Canon
Exif.Image.Model                             Ascii      15  Canon EOS 550D
Exif.Image.StripOffsets                      Long        1  58984
Exif.Image.Orientation                       Short       1  top, left
Exif.Image.StripByteCounts                   Long        1  1401983
Exif.Image.XResolution                       Rational    1  72
Exif.Image.YResolution                       Rational    1  72
Exif.Image.ResolutionUnit                    Short       1  inch
Exif.Image.DateTime                          Ascii      20  2014:12:07 13:56:27
Exif.Image.Artist                            Ascii      16  Simon Spannagel
Exif.Image.Copyright                         Ascii       1  
Exif.Image.ExifTag                           Long        1  422
Exif.Photo.ExposureTime                      Rational    1  1/80 s
Exif.Photo.FNumber                           Rational    1  F2.8
Exif.Photo.ExposureProgram                   Short       1  Shutter priority
Exif.Photo.ISOSpeedRatings                   Short       1  800
Exif.Photo.ExifVersion                       Undefined   4  2.21
Exif.Photo.DateTimeOriginal                  Ascii      20  2014:12:07 13:56:27
Exif.Photo.DateTimeDigitized                 Ascii      20  2014:12:07 13:56:27
Exif.Photo.ComponentsConfiguration           Undefined   4  YCbCr
Exif.Photo.ShutterSpeedValue                 SRational   1  1/83 s
Exif.Photo.ApertureValue                     Rational    1  F2.8
Exif.Photo.ExposureBiasValue                 SRational   1  -1/3 EV
Exif.Photo.MeteringMode                      Short       1  Multi-segment
Exif.Photo.Flash                             Short       1  No, compulsory
Exif.Photo.FocalLength                       Rational    1  70.0 mm
Exif.Photo.MakerNote                         Undefined 44926  (Binary value suppressed)
Exif.MakerNote.Offset                        Long        1  888
Exif.MakerNote.ByteOrder                     Ascii       3  II
Exif.CanonCs.Macro                           Short       1  Off
Exif.CanonCs.Selftimer                       Short       1  Off
Exif.CanonCs.Quality                         Short       1  RAW
Exif.CanonCs.FlashMode                       Short       1  Off
Exif.CanonCs.DriveMode                       Short       1  Continuous
Exif.CanonCs.FocusMode                       Short       1  One shot AF
Exif.CanonCs.ImageSize                       Short       1  Large
Exif.CanonCs.EasyMode                        Short       1  Manual
Exif.CanonCs.DigitalZoom                     Short       1  None
Exif.CanonCs.Contrast                        Short       1  Normal
Exif.CanonCs.Saturation                      Short       1  Normal
Exif.CanonCs.Sharpness                       Short       1  (32767)
Exif.CanonCs.ISOSpeed                        Short       1  (32767)
Exif.CanonCs.MeteringMode                    Short       1  Evaluative
Exif.CanonCs.FocusType                       Short       1  Not known
Exif.CanonCs.AFPoint                         Short       1  (0)
Exif.CanonCs.ExposureProgram                 Short       1  Shutter priority (Tv)
Exif.CanonCs.LensType                        Short       1  Sigma 24-70mm f/2.8 IF EX DG HSM
Exif.CanonCs.Lens                            Short       3  24.0 - 70.0 mm
Exif.CanonCs.MaxAperture                     Short       1  F2.8
Exif.CanonCs.MinAperture                     Short       1  F23
Exif.CanonCs.FlashActivity                   Short       1  Did not fire
Exif.CanonCs.FlashDetails                    Short       1  
Exif.CanonCs.FocusContinuous                 Short       1  (65535)
Exif.CanonCs.AESetting                       Short       1  (65535)
Exif.CanonCs.ImageStabilization              Short       1  (65535)
Exif.CanonCs.DisplayAperture                 Short       1  0
Exif.CanonCs.ZoomSourceWidth                 Short       1  0
Exif.CanonCs.ZoomTargetWidth                 Short       1  0
Exif.CanonCs.SpotMeteringMode                Short       1  (65535)
Exif.CanonCs.PhotoEffect                     Short       1  (65535)
Exif.CanonCs.ManualFlashOutput               Short       1  n/a
Exif.CanonCs.ColorTone                       Short       1  0
Exif.CanonCs.SRAWQuality                     Short       1  n/a
Exif.Canon.FocalLength                       Short       4  70.0 mm
Exif.CanonSi.ISOSpeed                        Short       1  800
Exif.CanonSi.MeasuredEV                      Short       1  2052.00
Exif.CanonSi.TargetAperture                  Short       1  F2.8
Exif.CanonSi.TargetShutterSpeed              Short       1  1/81 s
Exif.CanonSi.WhiteBalance                    Short       1  Auto
Exif.CanonSi.Sequence                        Short       1  0
Exif.CanonSi.AFPointUsed                     Short       1  0 focus points; none used
Exif.CanonSi.FlashBias                       Short       1  0 EV
Exif.CanonSi.SubjectDistance                 Short       1  0
Exif.CanonSi.ApertureValue                   Short       1  F2.8
Exif.CanonSi.ShutterSpeedValue               Short       1  1/81 s
Exif.CanonSi.MeasuredEV2                     Short       1  3.88
Exif.Canon.ImageType                         Ascii      15  Canon EOS 550D
Exif.Canon.FirmwareVersion                   Ascii      24  Firmware Version 1.0.9
Exif.Canon.OwnerName                         Ascii      32  
Exif.Canon.SerialNumber                      Long        1  379205247
Exif.Canon.CameraInfo                        Undefined 1536  (Binary value suppressed)
Exif.Canon.ModelID                           Long        1  EOS Rebel T2i / 550D / Kiss X4
Exif.Canon.ThumbnailImageValidArea           Short       4  0 159 7 112
Exif.Canon.SerialNumberFormat                Long        1  Format 2
Exif.Canon.AFInfo                            Short      48  96 2 9 9 5184 3456 5184 3456 129 129 129 181 222 181 129 129 129 172 172 172 117 221 117 172 172 172 64173 64717 64717 0 0 0 819 819 1363 0 387 65149 729 0 64807 387 65149 0 16 16 0 65535
Exif.Canon.OriginalDecisionDataOffset        Long        1  0
Exif.CanonFi.FileNumber                      Long        1  (0)
Exif.CanonFi.BracketMode                     SShort      1  Off
Exif.CanonFi.BracketValue                    SShort      1  0
Exif.CanonFi.BracketShotNumber               SShort      1  0
Exif.CanonFi.RawJpgQuality                   SShort      1  (0)
Exif.CanonFi.RawJpgSize                      SShort      1  Large
Exif.CanonFi.NoiseReduction                  SShort      1  Off
Exif.CanonFi.WBBracketMode                   SShort      1  Off
Exif.CanonFi.WBBracketValueAB                SShort      1  0
Exif.CanonFi.WBBracketValueGM                SShort      1  0
Exif.CanonFi.FilterEffect                    SShort      1  (-1)
Exif.CanonFi.ToningEffect                    SShort      1  (-1)
Exif.CanonFi.MacroMagnification              SShort      1  87
Exif.CanonFi.LiveViewShooting                SShort      1  Off
Exif.CanonFi.FlashExposureLock               SShort      1  Off
Exif.Canon.LensModel                         Ascii      70  24-70mm
Exif.Canon.InternalSerialNumber              Ascii      16  VA0870960
Exif.Canon.DustRemovalData                   Undefined 1024  (Binary value suppressed)
Exif.Canon.CustomFunctions                   Long       50  200 4 1 44 3 257 1 0 259 1 0 271 1 0 2 44 3 513 1 0 514 1 0 515 1 0 3 32 2 1294 1 1 1551 1 0 4 56 4 1793 1 0 1796 1 0 2065 1 0 2063 1 0
Exif.CanonPr.ToneCurve                       SShort      1  Standard
Exif.CanonPr.Sharpness                       SShort      1  3
Exif.CanonPr.SharpnessFrequency              SShort      1  n/a
Exif.CanonPr.SensorRedLevel                  SShort      1  0
Exif.CanonPr.SensorBlueLevel                 SShort      1  0
Exif.CanonPr.WhiteBalanceRed                 SShort      1  0
Exif.CanonPr.WhiteBalanceBlue                SShort      1  0
Exif.CanonPr.WhiteBalance                    SShort      1  (-1)
Exif.CanonPr.ColorTemperature                SShort      1  4700
Exif.CanonPr.PictureStyle                    SShort      1  Standard
Exif.CanonPr.DigitalGain                     SShort      1  0
Exif.CanonPr.WBShiftAB                       SShort      1  0
Exif.CanonPr.WBShiftGM                       SShort      1  0
Exif.Canon.MeasuredColor                     Short       6  12 701 1024 1024 537 1
Exif.Canon.ColorSpace                        Short       1  sRGB
Exif.Canon.VRDOffset                         Long        1  0
Exif.Canon.SensorInfo                        Short      17  34 5344 3516 1 1 152 56 5335 3511 0 0 0 0 0 0 0 0
Exif.Photo.UserComment                       Undefined 264  (Binary value suppressed)
Exif.Photo.SubSecTime                        Ascii       3  59
Exif.Photo.SubSecTimeOriginal                Ascii       3  59
Exif.Photo.SubSecTimeDigitized               Ascii       3  59
Exif.Photo.FlashpixVersion                   Undefined   4  1.00
Exif.Photo.ColorSpace                        Short       1  sRGB
Exif.Photo.PixelXDimension                   Short       1  5184
Exif.Photo.PixelYDimension                   Short       1  3456
Exif.Photo.InteroperabilityTag               Long        1  46078
Exif.Iop.InteroperabilityIndex               Ascii       4  R98
Exif.Iop.InteroperabilityVersion             Undefined   4  1.00
Exif.Photo.FocalPlaneXResolution             Rational    1  5728.18
Exif.Photo.FocalPlaneYResolution             Rational    1  5808.4
Exif.Photo.FocalPlaneResolutionUnit          Short       1  inch
Exif.Photo.CustomRendered                    Short       1  Normal process
Exif.Photo.ExposureMode                      Short       1  Auto
Exif.Photo.WhiteBalance                      Short       1  Auto
Exif.Photo.SceneCaptureType                  Short       1  Standard
Exif.Thumbnail.JPEGInterchangeFormat         Long        1  46436
Exif.Thumbnail.JPEGInterchangeFormatLength   Long        1  12546
Exif.Image2.ImageWidth                       Short       1  668
Exif.Image2.ImageLength                      Short       1  432
Exif.Image2.BitsPerSample                    Short       3  16 16 16
Exif.Image2.Compression                      Short       1  Uncompressed
Exif.Image2.PhotometricInterpretation        Short       1  RGB
Exif.Image2.StripOffsets                     Long        1  1460968
Exif.Image2.SamplesPerPixel                  Short       1  3
Exif.Image2.RowsPerStrip                     Short       1  432
Exif.Image2.StripByteCounts                  Long        1  1731456
Exif.Image2.PlanarConfiguration              Short       1  1
Exif.Image3.Compression                      Short       1  JPEG (old-style)
Exif.Image3.StripOffsets                     Long        1  3197672
Exif.Image3.StripByteCounts                  Long        1  18705330


Files

IMG_1611.CR2 (17.7 MB) IMG_1611.CR2 Taken with Tamron SP 24-70mm f/2.8 Di VC USD Simon Spannagel, 08 Jan 2015 22:21
IMG_1612.CR2 (17.7 MB) IMG_1612.CR2 Taken with Canon EF-S 18-55 IS Kit Lens Simon Spannagel, 08 Jan 2015 22:21

History

#1

Updated by Niels Kristian Bech Jensen almost 7 years ago

  • Tracker changed from Bug to Feature
  • Category set to metadata
  • Status changed from New to Assigned
  • Assignee set to Niels Kristian Bech Jensen
  • Priority changed from Normal to Low
  • Target version set to 1.0

There is currently no way to fix this since the two lenses have the same lens ID, focal lengths and apertures.

Best regards,
Niels Kristian Bech Jensen

#2

Updated by Simon Spannagel almost 7 years ago

What does "currently" mean? Can that change at all in the future?
Otherwise I'll just compile my own exiv2 version removing the Sigma lens...

#3

Updated by Niels Kristian Bech Jensen almost 7 years ago

"Currently" means that with our current knowledge we cannot fix this. There is always the possibility that we learn how to decode more metadata tags.

We are also discussing the addition of user input to prefer one lens in cases like this, but that is not just around the corner.

Best regards,
Niels Kristian Bech Jensen

#4

Updated by Robin Mills almost 7 years ago

  • Status changed from Assigned to Resolved
  • Priority changed from Low to Normal
  • Target version changed from 1.0 to 0.25

I'm going to mark this as "resolved" as there is nothing else we can do about this at the current time.

Robin

#6

Updated by Simon Spannagel almost 7 years ago

Added sample files as requested by Iliah Borg of LibRaw. 1611 is taken with the Tamron lens, 1612 with the Canon 18-55mm IS Kit Lens.

#7

Updated by Andreas Huggel over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF