Hi,

In the future, should I optimize lens
parameters before or after aligning the images?

I don't think there is a clear argument for either order.

Also, I see you left X, Y
and Z unchecked for a particular image and checked all parameters for the
anchor image too, can you explain the rationale? I though I was supposed to
leave the anchor image unchecked. Was that the last one to be optimized?

What I did there wasn't exactly what I was intending to do. The plan was to choose some image near the centre (eg, 09.tif, but any works), leave yaw and pitch constrained to zero, optimise roll, don't optimise x/y/z of that image. Roll can be optimised when you define some vertical/horizontal lines. yaw/pitch/x/y/z of one image that can be chosen freely are redundant degrees of freedom, so you can choose them to be 0 (or any other value). After that the image should be nicely horizontal without any manual alignment.

After a lot of trial and error, my workflow was to:

    - Import all images and detect control points
    - Clean obviously bad control points (normally when there's only 5 or so
    in images that don't overlap)
    - Select only one image at a time, start with XYZ, add Yaw, Pitch and
    Roll, then plane yaw and pitch
    - If the error was under 1unit, move on, else try a different order for
    the parameters, another neighboring image, or review CPs

I think except for the optimisation of plane yaw and pitch that is fine.

After all images were aligned, I would go to the Move/Drag tab and try to
get it level. Throughout the process the alignment looked good but the map
was very skewed. Is there a better way of doing so (like
straighten/keystone in Capture One or PS), or is this fixed by the line CPs?

With good input images and sufficient vertical/horizontal lines this step shouldn't be required. If one does rotate the image, yaw/pitch and x/y/z shift of any image that is not centred at 0/0/0 is modified (as one would expect). However, when shifting, the x/y/z shift of an image centred at 0/0/0 stays constant while the plane yaw and pitch of all other images get modified. While this is certainly a valid transformation, I'd find it more intuitive to leave plane yaw/pitch constant and modify the x/y/z shift of *all* images. One has to be careful here.

cheers, lukas wirz





--
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 visit 
https://groups.google.com/d/msgid/hugin-ptx/831fbc64-14ec-41b2-8257-b4313d3a0a3f%40posteo.net.

Reply via email to