Is this the correct place to submit patches for Hugin?  If not, can
somebody tell me where?

In case it is, here's the (short) patch.  Olympus E series cameras,
including (I think) the Pen, have a different EXIF key for the focal
plane diagonal, with the result that the user has to enter the focal
length for every image when selecting the images.  This patch to
src/hugin_base/panodata/SrcPanoImage.cpp fixes the problem:

--- SrcPanoImage.cpp    2010/12/28 12:57:50     1.1
+++ SrcPanoImage.cpp    2011/03/19 22:06:50
@@ -545,6 +545,10 @@
         float olyFPD = 0;
         getExiv2Value(exifData,"Exif.Olympus.FocalPlaneDiagonal",olyFPD);

+        /* For some reason, Olympus E series cameras have a different key. */
+        if (olyFPD == 0.0)
+            getExiv2Value(exifData, "Exif.OlympusEq.FocalPlaneDiagonal", 
olyFPD);
+
         if (olyFPD > 0.0) {
             // Windows debug stuff
             // fprintf(stdout,"Oly_FPD:");


Greg
--
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  See
http://www.lemis.com/grog/email/signed-mail.php for more details.
If your Microsoft MUA reports problems, please read
http://tinyurl.com/broken-mua

Attachment: pgp23RGxfHMit.pgp
Description: PGP signature

Reply via email to