Hi Joost,
I probably misunderstood - I thought the fisheye factor model
(f/k) and the PanoTools lens correction model (a/b/c) were
separate, given that you have to choose between fisheye factor and
a/b/c when optimizing. Let me see if I understand now:
- The fisheye factor model (FAQ 3.28) gives a first approximation
to the lens profile
- The PT lens correction model serves as fine tuning, taking the
fisheye factor model as input (r_dest), outputting a slightly
adjusted profile (r_src) that can match the actual lens profile
quite accurately. In other words, the constants f/k/a/b/c are all
applied together in PTGui to produce an accurate match.
Based on the above understanding I calculated optimal values of
f/k/a/b/c that produce very close matches to the accurate lens
mapping functions I derived for each of my lenses using stars in
photos. However, it doesn't work as expected in PTGui. In the
zip-file linked below you will find a project file (and images)
where I haven't optimized anything, just entered all the known
values for my lenses and the yaw/pitch/roll for my fixed camera
rig under Image Parameters. That produces very wrong results with
strange artifacts - not the minor errors I was expecting (other
than foreground parallax). So clearly I am still not understanding
how PTGui works. Can you explain what's going on?
Link
to zip-file
Thank you,
Poul Jensen