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.
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?
Don J.