On Mon 01-Aug-2011 at 10:51 +0100, paul womack wrote:
I would like to make an image of all the shop fronts; however, if I
took a normal panorama, I simply can't get enough distance to make
a sensible/pleasing image.
If I make a mosaic panorama, the perspective of individual shops
will be wrecked (doorways, corbels, etc) are deeper than the murals
that are the typical subject of a mosaic.
I've used the Hugin XYZ mosaic mode successfully for this:
http://www.flickr.com/photos/36383814@N00/5902120417/
Some notes (pasted from the flickr page):
Shooting from the same distance is useful, as is shooting
perpendicular to the surface/wall. Though shooting from an oblique
angle where necessary is ok, this is better if this is consistent,
i.e. turn to the left at the left end of a row, straight forward
towards the middle and turn to the right towards the right end.
Most important is to catch openings in one shot, or if the
opening/road/alley is too wide then the multiple shots need to be
from a single location (like a 'normal' panorama). The same for any
features that are out of plane such as roofscapes above or trees in
the foreground.
generate control points with: cpfind --linearmatch --ransacmode hom
[update: the 2011.3.0 branch and possibly earlier has a "Hugin's
CPFind for mosaics" preset that does the same thing]
Control points need to be entirely in the same physical plane, you
will need to manually delete any that are not. This whole technique
only works where the buildings closely follow the road edge.
You need to assign the centre photo as the 'anchor', Hugin doesn't
automatically do this for the mosaic XYZ parameters, so you will
need to use the Optimiser tab and select parameters to optimise
rather than using the Assistant tab.
Use Rectilinear format for the output.
Optimise X,Y,Z for all photos except the anchor, optimise r,p,y for
all photos. Though unless you have vertical/horizontal control
points you will need to fix roll (r) for the anchor.
Optimisation of XYZ mosaic parameters is not as stable as a 'normal'
panorama, if you have problems, work your way out from the middle
anchor photo, adding photos one at a time to the optimisation and
adding/deleting control points as necessary.
I think I need some kind of (dimly remembered) line scan process,
so that a large number of "micro" photographs, all perfectly
perpendicular to the overall line of the frontage.
You could try trainscanner by Masakazu Matsumoto (vitroid):
http://sourceforge.net/projects/trainscanner/
Embarrasingly, I compiled this ages ago and even shot a video of a
train to test it, but still haven't got around to actually running
it. Some examples of trainscanner output here (there are also lots
of spherical panoramas shot with Hugin in vitroid's photostream):
http://www.flickr.com/photos/vitroids/sets/72157621652051509
An interesting thing with trainscanner is that if the video is shot
at an oblique angle you get a perspective view of the train, except
this perspective projection has a continuously variable viewpoint.
--
Bruno
--
You received this message because you are subscribed to the Google Groups "Hugin and
other free panoramic software" group.
A list of frequently asked questions is available at:
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx