Hi BugBear,

paul womack wrote on 06.10.16 10:22:
I often find my self performing pre-processing on
images for Hugin (e.g. combining stacked image with enfuse).

This has the unfortunate effect of dropping all the IPTC
data (depending of which tool I use, netpbm, imagemagick, enfuse, etc),
which means that orientation and exposure data is lost, making
Hugin less convenient.

To avoid this, I could use exiftool to transfer IPTC data from one of
the source
images to the output image of my preprocessing, in the same
way that Hugin itself does.

What (IPTC) fields do I need to transfer to get the
best behaviour from Hugin?

I think IPTC tries to describe the visual content and provide information about creator and copyright, see
https://iptc.org/standards/photo-metadata/photo-metadata/

To my understanding the type of information you want to preserve is usually stored in (and read from) the EXIF metadata fields. However IPTC and EXIF seem to use some compatible fields, so maybe you'll just need to adapt your workflow to convert or copy these fields (see below) from IPTC to EXIF.

My workflow regarding metadata (and a proper file name to begin with) uses exiftool (try these commands with copies of your images first, they work for me on Mac OS X)

- rename files using exiftool to get rid of the arbitrary 'img_1234.jpg' naming scheme like this: exiftool '-FileName<${CreateDate}_$filenumber.%e' -d MyPrefix_%Y%m%d-%H%M%S%%-c /Users/youraccount/path/to/photodirectory

- include lon/lat/altitude data from my Garmin's gpx file. I usually use a different tool on my Mac but this can also be done with exiftool like this: exiftool -geotag "/Users/carl/path/to/gpx-files/*.gpx" /Users/youraccount/path/to/photodirectory

- this command will change the images' modify date but this can be corrected with: exiftool '-DateTimeOriginal>FileModifyDate' /Users/youraccount/path/to/photodirectory


My raw image converter also includes these values with the tiffs that I import in my Hugin projects. Hugin copies the EXIF values from the first image into the stitched panorama.

So in one of my finished panoramas I find this EXIF information (amongst other data):
Copyright          : Carl von Einem
Date Created       : 2016:08:07
Time Created       : 15:06:16+00:00
Date/Time Created  : 2016:08:07 15:06:16+00:00
GPS Altitude       : 612.8 m Above Sea Level
GPS Latitude       : 47 deg 45' 55.13" N
GPS Longitude      : 11 deg 9' 52.39" E
GPS Position       : 47 deg 45' 55.13" N, 11 deg 9' 52.39" E

Hope that helps,
Carl

--
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/990336df-558c-95df-eea9-087d223d5af7%40einem.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to