Tom> Would that be a per-image variable?
Tom> The more I think about it, the more I think the "portable lens
Tom> parameters" flag should be per-project. I see little to be
Tom> gained by supporting a mixture of portable and traditional
Tom> parameters in the same project, and a good deal to be gained by
Tom> automatically converting old scripts to portable ones.
Keep in mind that libpano does one photo at a time, so the "per-project"
issue is not really a major one.
We would benefit by having a lens line, because it would be easier to
move around between files. In the current model, any lens line is
specified in one image, and then referenced later in other images. The
problem of this model is that the lens line cannot be easily extracted
and copied to another image.
The current correction happens in spherical coordinates as a way to
simplify the model, but you are correct, a new correction model can be
moved before the image is mapped to the sphere (in the actual
coordinates of the photo). I personally don't think it matters much,
except that it in the spherical coordinates it is easier to correct
while maintaining field-of-view.
Recapitulating... my vote is to institute a lens line and let images
refer to it.
Tom> Best, Tom