Almost OT: Focus stacking

What do you suggest for processing focus stacked images in Linux?

Thanks

2 Likes

I use Zerene Stacker. It’s not FOSS, but it runs on Linux no problem, and has a reasonable one-time purchase price rather than an ongoing subscription.

You can use the full program for free for a month to try it out.

2 Likes

There is chimp stackr: GitHub - noah-peeters/ChimpStackr: free, multi-platform focus stacking software

Or focus-stack: GitHub - PetteriAimonen/focus-stack: Fast and easy focus stacking

I’ve never got chimp stackr to compile.

I tried to test chimp stackr, but it needs a cuda GPU which I don’t have (anymore). So, I also ended up at Zerene.

There’s an AppImage. Does that not work?

There’s
https://patdavid.net/2013/01/focus-stacking-macro-photos-enfuse/

@ggbutcher has tried quite a few tools, if memory serves me well.

2 Likes

No, just enfuse. First one I tried, worked, done. :laughing:

1 Like

Didn’t for me.

Ah sorry, then I remembered wrong. You made some comments in the focus-stack threads, but maybe it did not get further than that. I do remember you posting some stacked shots, but not the details.

1 Like

I also used enfuse a lot. If the images were technically well taken (landscape, tripod), results were fine. But handheld shots and macro often brought the program to its limits.

3 Likes

I used hugin-tools for alignment and enfuse:

$ align_image_stack -v -m -a Aligned *.tif
$ enfuse \
    --exposure-weight=0 \
    --saturation-weight=0 \
    --contrast-weight=1 \
    --hard-mask \
    --contrast-window-size=9 \
    --output=fused.tif \
    Aligned*.tif
2 Likes

I use something very similar to quickly merge exposure-bracketed JPG shots from my phone. Works pretty well (even though with non-linear input it probably cannot be perfect).

1 Like