align_image_stack works by identifying useful features (corners) in one
photo, and then trying to find a similar collection of pixels in the next
photo. It may be that it just isn't very good at catching focus variation.
Also, and I haven't checked this, it may be matching all subsequent images
with the first image - have you tried testing just pairs of consecutive
images to see if you get better results?

cpfind uses a feature classifier approach, it might give get better results
than align_image_stack. Though I haven't checked this either.

-- 
Bruno

On Sat, 30 Apr 2022, 00:21 dgjohnston, <dgjohns...@accesscomm.ca> wrote:

> Hi, this is a link to the test subdirectory I’m using to get
> align_image_stack to process a few files for focus stacking. Don’t mind the
> laundry, these were just some quick test shots I made.
> https://ln5.sync.com/dl/1535e65f0/fxrj8uqv-yuw77g77-wf4gv4sy-m4sa6k47
>
> If you look at the jpg images you’ll see that the files are well aligned
> from the start (I had a tripod with a remote trigger); but I’m testing the
> batch file I created (AlignFocusStack.command). After running this command
> the first tif image is not aligned to the other four images at all and you
> can see the ghosting in the output1.tif file that this creates.
>
> In the DGJVine.pto file you’ll see that there are 9 control points between
> image 4 and image 0 but they are all in the lower left.
>
> These are somewhat blurry images in some areas but that is the intent of
> focus stacking.
>
> I did try adding the -x, -y, -z options to align_image_stack and tried
> setting —core down as low as 0.5 and as high as 0.95 with any success.
> I was able to use the Hugin GUI to add control points between image 4 and
> image 0, and between image 0 and image 1 in the blurry areas.
>
> Any suggestions on how I might improve on the ability of align_image_stack
> in this situation?
>

-- 
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 hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/CAJV99ZhEwjwr%2B1Wq_9PnUj%3DmTvd21ae_4hLqycPcUiXZ3kEVPA%40mail.gmail.com.

Reply via email to