Hi!

I have 23 stacked frames I'm trying to align before taking a median of them 
(identical exposures). My normal process is to use align_image_stack (Linux 
CLI) and then gmic -median_files. Works great.

But this particular set of pictures is of a stream and waterfall: lots of 
moving water with a background of trees and a couple of stationary boulders 
in the foreground.

align_image_stack does an impressive job, considering how hard the frames 
must be to align (they are handheld shots, so there is even some 
perspective shift happening) but it's not close enough to use; the median 
comes out with blurry trees and boulders.

I thought I might do better by aligning them manually in hugin (version 
2016.2.0.be8da0221960 in Kubuntu 16.10, libpano13: 2.9.19), but I'm not 
having success. Here's my process --

- add the images
- i've tried both CPFind and align_image_stack for CPs
- after CPs are made, I make a mask on all 23 images (using copy/paste and 
tweaking) to mask all the moving water areas
- Edit -> remove control points in masks -- this removes the points in the 
moving water areas, since they are almost all bad CPs
- remove all masks (calculating the frame size was hanging forever, so I 
had to do this to prevent the hang)
- i've tried making lots of custom CP's as well (see below)
- for geometric optimization I've tried a variety of combinations, 
including a custom x/y/rotate set, positions/translation/view, positions, 
etc
- photometric is "low dynamic range"
- I scroll through all the CPs and confirm their sanity, deleting any bad 
ones
- in the stitcher i've been using rectilinear (and tried equirectangular as 
well)
- calculate the FOV, size, etc
- output is "no exposure correction, low dynamic range"

align_image_stack makes a lot of CPs that don't seem useful. CPFind seems a 
lot more sensible (at least a lot more like what I would choose myself: 
points spread out across the frame). But neither method works well in the 
end. The result is often that a few pairs of images are aligned with 
amazing precision, but many images are way off (like 50 pixels or more).

When I look in the project, I see that the pairs of images that are 
perfectly aligned have CPs between them, and the images that are poorly 
aligned have few CPs, or more often no CPs at all, between them.

So my first question: is there some way to encourage 
hugin/CPFind/align_image_stack to create CPs between more pairs of images? 
It seems to leave most of the image pairs without CPs -- as if it has some 
built-in limit to how many image pairs it will attempt to align.

I tried making manual CPs from the anchor image to all of the other images. 
This helped a little, but the end result was still not usable. Making 
manual CPs between all 23 images is obviously not workable. :-)

Second question: is there something wrong with my process? It just seems 
odd that I can't beat an automatic run of align_image_stack with all this 
manual attention.

Hugin, by the way, is incredible. :-)

Thanks in advance for any ideas!
-c

-- 
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/0a994fad-9497-4b23-aeae-88560d02f948%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to