kfj
unread,Sep 10, 2010, 5:09:59 AM9/10/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to hugin and other free panoramic software
in short: I'd like hugin to evaluate the LensModel EXIF tag to
automatically load a suitable lens .ini file if there is one of that
name:
EXIF:LensModel == 'MyLens' ---> try load 'MyLens.ini'
Hi everyone!
I hope I'm not making a fool of myself with my first post to this
group by asking for something which I have merely overlooked, but I
feel I've made a good effort checking before posting my humble
request. here's the long story:
I am using hugin to stitch panoras from images taken with a Canon EOS
450D and a Walimex Pro Fisheye (I think this is also known as Samyang
8mm). Now this lens is fully manual and the Camera knows nothing of
it, so the relevant EXIF data are missing from the RAW file and I have
to put them in manually. I use exiftool to do that and after some
fiddling about I have managed to put in EXIF data so that hugin can at
least get a good guess at the focal length, the aperture and the hfov.
But I haven't found an EXIF tag that would tell hugin what type of
lens I am using. In my case this is a stereographic fisheye, and all
is well if I choose that manually, but I'd like hugin to figure that
out from EXIF data, and not only that - I'd like hugin to load the
lens calibration file for that lens, since that also contains the lens
distortion data etc.
Having to manually enter the lens data is the last thing that stops me
from having the process run automatically using the assistant. A real
bother, since I can't let things just run and only interfere if
necessary but I have to babysit the process. I considered to use an
AutoHotkey script to feed the window whenever it pops up. hmmm...
possible but not nice. If I could change the default lens type from
rectilinear to stereographic [not that I knew a way to do that], that
would solve the immediate problem, but I feel it would not be a clean
solution either.
Now there is a writable LensModel EXIF tag. And I have .ini files for
the lens which I have very carefully calibrated. Maybe there is a way
to make hugin automatically load an .ini file with the same name as
the lens model given in the EXIF tag?
Probably LensModel would be the one to use, since it wraps it all up
in one tag, and it'd be solely up to the hugin user to provide a
fitting .ini file, and if it were missing the default behaviour would
apply: to have to manually enter which ini file to open or supply the
relevant data. No need for a central lens data bank, and the coding
effort should be minimal (sorry, I couln't get myself to read the
code ;) - additionally a mechanism might be implemented to us a
predefined .ini file (like, default.ini) that, if present, is loaded
if the relevant EXIF data are absent (like when I convert my CR2s
without patching the EXIF data). One could possibly even think up more
complex behaviour along these lines, but I don' want to go over the
top... what do you think?
thanks in advance
KFJ