Roger Broadie wrote:
Paul Womack (BugBear) <[email protected]> wrote on  Wed, 13 May 2015 at 
17:14:48 +0100, with a follow-up on  Fri, 15 May 2015 at 09:01:07 +0100, about the 
procedure he intends to follow in photographing an historic map in an archive.

I agree that the FOV is not a big problem; however I was having trouble with 
the preview window,
including the Layout tab.

Setting the Z to -0.5 (not -5!!) helped this.

But I too hit the "optimal size" issue you note.

 BugBear

------------

Hello, Paul,

Given that we have discussed this topic in the past, I should certainly be 
interested to hear how you get on when you visit your archive.

I am not convinced that the total field of view creates a problem in this type 
of stitch.  Since we need a rectilinear reproduction of a flat (or nominally 
flat) original, the total fov can never exceed 180deg, as I think you agree in 
your follow-up message.  Originally I wondered if the very wide total fov that 
is possible with photomosaics might lead to degradation at the edges, but to my 
surprise I could detect none, and achieved no significant improvement by 
adjusting the settings to reduce
the total field of view.  I suspect that the calculations include so many 
decimal places that the necessary precision is retained.

But if you do want to use an artificially small total fov, I don’t think 
setting an anchor Z at -5 is the answer.  As I tried to explain in a post in 
this group on 1 Oct 2014, despite an apparent suggestion otherwise in the 
tutorial, the subject plane is at Z=-1.  The imaginary panorama camera at the 
centre of the panosphere is at the origin (0,0,0).  So Z=-5 implies that the 
camera for the anchor image is on the other side of the subject plane.  I have 
just tried making that change on one of my
old stitches and I found that the image concerned was ignored and there were no 
changes to the other parameters.

To achieve what you want, I suggest you should set Z for the anchor image much 
closer to the subject plane than the panorama camera, but still on the same 
side.  That suggests the anchor Z should be at, say, -0.8.

I attach the pto file for the stitch I used to test the above.  The images were 
taken hand-held and are rather old, so the lens introduces more distortion than 
might be the case nowadays.  The set of images probably contain more overlap 
than is desirable, or indeed is needed if one is using the translation model, 
as we are here.  I’ve updated the pto file using the 2014.0.0.5 version of 
hugin for 64-bit Windows and added in optimisation of Plane yaw and Plane pitch 
for the non-anchor images,
though it makes very little difference.  Sorry I can’t table the individual 
images.

As it stands, the fov for the individual images is 52.7deg and the total fov is 
some 94deg, depending on where the boundaries are drawn.  So this is not an 
extremely wide field of view, but that does not affect the principle.  Setting 
Z=-5 for the anchor image had the effect I described above, although the stitch 
still looked OK in the fast preview window, since there was sufficient overlap 
to mask the absence of the anchor image.  Setting Z for that image at -0.8 (and 
leaving the fov for the
individual lenses non-optimisable and still at 52.7deg) reduced the overall fov 
after optimisation to 26deg.  The stitch was still good and comparable to the 
unshrunk case.  Probably the total field of view does not have a decisive 
effect on the stitch.  However, reducing the fov did throw up one problem.

For consistency and comparability I like to evaluate the error having set the 
canvas size in the stitcher tab to the optimal size.  But I notice that 
changing the anchor Z to -0. 8 causes hugin to give a much smaller optimal size 
than when Z was 0 – a width of 1458 pixels instead of the original 6774 pixels 
– and a correspondingly small error.  I’ve met this problem before.  For some 
reason, the calculation does not seem to be based purely on the resolution of 
the original images, which is what
I would expect.  Maybe someone knows what is going on or what I might be doing 
wrong.  At any rate, one work-around would be to enter the desired size by 
hand, perhaps using the value from the unshrunk fov as a guide.

Roger Broadie







--
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 on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/55560C75.8050008%40papermule.co.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to