I have just commited some experimental extension to the TrX, TrY, TrZ
parameters for mosaicing images of a planar scene to the libpano13 SVN trunk
One of the main drawbacks of the Tr* parameters is/was that the images
had to be located on plane straight ahead of the panorama. This is too
restrictive for the "nadir and wall patching" usecase.
As hinted in an earlier mail to hugin-ptx, I have added two more
parameters that allow specification of the plane on which the off center
images should be projected for each image by means of "plane yaw" (Te0)
and "plane pitch" (Te1) parameters.
They define the normal of the plane in 3D space, similar to yaw and
pitch, which define the looking direction of a camera.
So for nadir patching, off center shot should be set to Te00 Te1-90.
For fixing something on the left wall, the following parameters should
be used: Te0-90 Te10. etc.
The main drawback of these parameters is that it is quite hard to
optimize them: It is easily possible to have cameras that do not "look"
onto the plane. This will confuse the optimization process and it won't
be able to find a good solution. So initialization with "good" values or
very careful stepwise optimization is required.