6
\$\begingroup\$

I own a Rokinon 8mm Ultra Wide Angle f/3.5 Fisheye Lens for Canon EF Mount. This is a manual lens not electrically connect to the Canon 60D body I use it with.

With exiftool I want to add the correct EXIF lens metadata to the resulting pictures.(*) From this SE questions I gather that this is not straight forward, so I have the question: For this lens what are the correct texts for the tags LensInfo and LensModel? Does maybe a website or database exist which lists standard strings for different manual lenses?(**)

And are there other EXIF text tags I should set in the photos as well? (I am thinking here of tags programs like Hugin might use to determine that the lens is a fisheye lens).


(*) It would be a bonus if Aperture and in future LightRoom pick the lens up by these tags.

(**) For some electronic lenses these standard strings obviously exist: E.g. in the Canon Maker tag LensType the value 488 stands for "Canon EF-S 15-85mm f/3.5-5.6 IS USM".

\$\endgroup\$

2 Answers 2

4
\$\begingroup\$

If you want Hugin to auto-recognize and correct for the lens, then probably the right tag to use is Samyang 8mm f/3.5 Fish-Eye CS, because this is the entry in the lensfun database, which is now integrated into Hugin use. In the slr-samyang.xml file the entry is:

<lensdatabase version="1">
    <lens>
        <maker>Samyang</maker>
        <model>Samyang 8mm f/3.5 Fish-Eye CS</model>
        <model lang="de">Samyang 8mm f/3.5 Fischauge CS</model>
        <mount>Pentax KAF</mount>
        <mount>Canon EF</mount>
        <mount>Nikon F AI</mount>
        <mount>Fujifilm X</mount>
        <mount>Sony Alpha</mount>
        <mount>Sony E</mount>
        <mount>4/3 System</mount>
        <mount>Micro 4/3 System</mount>
        <mount>Samsung NX</mount>
        <cropfactor>1.534</cropfactor>
        <type>stereographic</type>
        <calibration>
            <!-- Taken with some APS-C Pentax probably. -->
            <tca model="poly3" focal="8" br="-0.0007764" cr="0.0013798" vr="1.0000228" 
                                     bb="-0.0002711" cb="0.0008531" vb="0.9998496" />
            <!-- Taken with Nikon D7100 -->
            <distortion model="ptlens" focal="8" a="0.04098" b="-0.15413" c="0.11977" />
        </calibration>
    </lens>

The lens is manufactured by Samyang in Korea, but is generic-branded with many many names: Rokinon, Vivitar, Falcon, Walimex, Bower, Opteka, Bell and Howell, Polar, Phoenix, and Pro-Optic are among the many names of Samyang. Weirdly, Vivitar calls it a 7mm, and Pro-Optic a 6.5mm, but they're all the same lens with the same stereographic mapping.

Also, there's an easier way than going to the command line to tag up lenses. I own a Rokinon 7.5mm f/3.5 fisheye for the micro four-thirds mount, as well as adapting several manual lenses for my Canons. I tag up the EXIF for all my manual lens and scanned film images in Lightroom with the LensTagger plugin. LensTagger is a GUI frontend for exiftool, which makes the job much easier than typing the command by hand on the command line every time. It can save "presets" of specific lenses you use often, and writes the following fields:

  • Lens
  • LensModel
  • FocalLength
  • MaxApertureValue
  • FNumber
  • FocalLengthIn35mmFormat

The Lens and LensModel fields can take any string, and will, indeed show up in Lightroom intelligibly. You don't need to worry about numeric coding in this case. When in Lightroom, you can set up the lens profile default for whatever tag you come up with. I tag my Rokinon 7.5 shots with "Rokinon 7.5mm f/3.5 UMC fisheye", and then set it to default to Stereographic remapping with kenw's Samyang 7.5 f/3.5 lens profile for lens correction. I'm sure there's a profile out there for the dSLR 8mm version.

pop-up for setting default lens profile to use

\$\endgroup\$
7
  • \$\begingroup\$ maybe you do not understand the question. The case is not how to change EXIF but what to put in to the EXIF field \$\endgroup\$ Commented Jan 11, 2015 at 18:45
  • \$\begingroup\$ @RomeoNinov Yeah, noticed and updated. Some days I go too fast. \$\endgroup\$
    – inkista
    Commented Jan 11, 2015 at 18:46
  • \$\begingroup\$ the question is not to tag the text of the lens but to provide distortion correction. In question is mentioned Hudin, which is panorama stitching software and it need distortion correction \$\endgroup\$ Commented Jan 11, 2015 at 18:50
  • \$\begingroup\$ @RomeoNinov Ok. Went and googled up the lensfun info. I've always just set the fisheye stuff manually each time. \$\endgroup\$
    – inkista
    Commented Jan 11, 2015 at 19:05
  • 1
    \$\begingroup\$ This exactly the kind of information I was after. Thanks a lot. \$\endgroup\$
    – halloleo
    Commented Jan 12, 2015 at 5:27
1
\$\begingroup\$

I want to add the correct EXIF lens metadata...

A lens not designed to communicate with the camera won't have EXIF data which would be deemed "correct" because the manufacturer didn't assign anything.

If there's a community of Rokinon users, you might ask around to see if there's a string people are using for your lens so any profiles you get from elsewhere have a fighting chance of working.

Failing that, roll your own and pick something sensible. A good choice might be to use the same string Rokinon uses in its marketing material. The full title is Rokinon 8mm f/3.5 HD Fisheye Lens w/ Removable Hood for Canon EF - 8mm f/3.5 Fisheye HD, but the brand name plus everything after the dash is sufficient to uniquely identify it: Rokinon 8mm f/3.5 Fisheye HD.

Whatever you add to your workflow that has data specific to that lens (e.g., a Lightroom lens profile) needs to use the same data you add to the EXIF for everything to work automagically. Consistency is the key.

\$\endgroup\$
8
  • \$\begingroup\$ Actually, if a manual-only lens or adapter ring has been chipped, it can fake the electronic communication of a lens, and will supply partial EXIF information, such as focal length and maximum aperture. \$\endgroup\$
    – inkista
    Commented Jan 11, 2015 at 18:34
  • \$\begingroup\$ The lens in discussion do not use external adapter ring. Lens have Canon EF connector. Which is w/o any electric contacts \$\endgroup\$ Commented Jan 11, 2015 at 18:47
  • \$\begingroup\$ @inkista: I'd count chipped lenses as redesigned to communicate with the camera. \$\endgroup\$
    – Blrfl
    Commented Jan 11, 2015 at 18:47
  • \$\begingroup\$ @RomeoNinov nothing stops anyone from gluing one on. And Samyang themselves had done it for Nikon: dpreview.com/articles/2973262865/samyang8nikon \$\endgroup\$
    – inkista
    Commented Jan 11, 2015 at 19:06
  • \$\begingroup\$ @inkista, yes. And Canon users still wait for version with contacts :) \$\endgroup\$ Commented Jan 11, 2015 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.