I'm trying to find out how I can change the stacking order of the
photos when Hugin is stitching a panorama together. I'm using version
0.8.0 on Ubuntu 9.04, by the way.
Let me explain: I have a bunch of photos I took of Manhattan, from the
New Jersey side of the Hudson, and I want to make a panorama of them.
Unfortunately, the second photo from the left (which has the Empire
State building on it), is out of focus. Hugin still manages to produce
a very good panorama, but the entire section where the Empire State
building is is out of focus. You can see it here:
http://www.flickr.com/photos/captainchaos/4244189041/
Now, the third photo from the left also has the Empire State building,
and it is in focus. However, because photo 2 overlaps photo 3, and
Hugin stacks photo 2 above photo 3, the portion of photo 3 which has
the Empire State building and is in focus is hidden behind photo 2.
My question is, is there a way to influence the stacking order of the
photos? I want photo 2 to be behind *all* the other photos, so that as
small a portion of the panorama as possible is out of focus. How can I
do that? Are there other ways I can achieve the same effect?
I hope my explanation is clear enough, and that someone here can help
me. Thanks in advance!
Kind regards,
Pepijn Schmitz
You can influence the stacking order by changing the order of
photos, photo 0 is stitched first, so you may find it useful to put
the blurred photo last.
I would try stitching the blurred photo separately, in the preview
you can turn individual photos on and off, so stitch the panorama
without the blurred photo and then with only the blurred photo.
Load these two images as layers in an image editor and blend them
with the eraser tool.
Another approach would be to switch the blender from 'enblend' to
'enfuse', this deals better with out of focus photos. You need to
edit the .pto file in a text editor and change the #hugin_blender
option, reopen in Hugin and stitch.
--
Bruno
Volker
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.http://clk.atdmt.com/GBL/go/171222984/direct/01/
> My question is, is there a way to influence the stacking order of the
> photos? I want photo 2 to be behind *all* the other photos, so that as
> small a portion of the panorama as possible is out of focus. How can I
> do that? Are there other ways I can achieve the same effect?
I use the same methods as the replies above - a combination of
cropping and altering image order - not exactly for out-of-focus shots
but for the times when image distortion near the edges tends to make
optimisation difficult, resulting in stitching artifacts.
What I've been thinking about for the past couple of years is that the
interface could do with some tweaks to help in this process:
1. image re-ordering is excruciatingly slow, even on a fast machine,
and can only be done with one image at a time. With multi-row panos
this can make shifting a whole row or column take a long time of
click..wait..click..wait etc. I do understand that reordering the
images means altering all the CP tables in the process, which is the
part that takes the time .. perhaps, though, it might be possible to
add a way to select multiple images and shift them all as a block, or
to suspend the table-shifting until after the order has been
rearranged? In some cases I've prerendered all the images uncropped
and rendered the final pano with something like enblend-gui [where
changing the order is instantaneous] because it actually takes less
time to do than simply reordering the images in Hugin.
2. It may be asking a lot in terms of programming, but it would be
really REALLY useful to have crop masks that aren't simply rectangles,
either free-drawn or polygonal.
D