whatisgithub

What is z-stackr?

suitable-name/z-stackr — explained in plain English

Analysis updated 2026-05-18

1RustAudience · generalComplexity · 3/5LicenseSetup · moderate

In one sentence

A professional Rust-based focus stacking app that blends a sequence of macro or microscopy photos, each shot at a different focus depth, into one fully sharp composite image.

Mindmap

mindmap
  root((z-stackr))
    What it does
      Focus stacking of photos
      Aligns and blends frames
      Produces sharp composite
    Tech stack
      Rust
      Burn
      Python bindings
    Use cases
      Macro photography stacks
      Microscopy imaging
      RAW camera file support
    Audience
      Macro photographers
      Microscopy scientists

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Blend a sequence of macro photos shot at different focus depths into one fully sharp image.

USE CASE 2

Stack scientific microscopy images so a whole subject stays in focus.

USE CASE 3

Stack RAW camera files directly without converting them first.

What is it built with?

RustBurnPython

How does it compare?

suitable-name/z-stackrabc3dz/mixxxabyo-software/ferro-stash
Stars111
LanguageRustRustRust
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audiencegeneralgeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Optional features like RAW support, AKAZE seeding, and neural stacking require enabling extra build flags.

Free to use, modify, and redistribute, including commercially, as long as the license and copyright notice are kept.

So what is it?

z-stackr is a professional grade focus stacking application built entirely in Rust. Focus stacking takes a series of photos of the same subject, each shot at a slightly different focus distance, and blends them together into one image where everything is sharp from front to back. It targets photographers doing extreme macro work, focus bracketed landscapes, and scientists doing microscopy who need every part of a tiny or complex subject in focus at once. At the core of the tool is an alignment engine that lines up the individual photos before blending them, since even a tripod mounted camera shifts slightly between shots as the focus changes. It offers several alignment strategies, ranging from simple shifting to a full geometric transform, and can automatically choose the best method or fall back to a safer one if the fancier approach fails. There is also an optional neural network based alignment mode for advanced users willing to enable an experimental feature. For actually blending the sharp parts of each photo together, z-stackr supports multiple fusion algorithms with different tradeoffs between speed, smoothness, and how well they handle tricky depth edges, plus a separate AI powered blending mode built on a dedicated machine learning framework called Burn. The tool processes images tile by tile rather than loading everything into memory at once, which keeps memory usage manageable even when working with very large or very many images. Other notable features include full 16 bit image support to preserve fine tonal detail, the ability to copy camera metadata from the original photos into the finished output, and optional support for reading camera RAW files directly from many major camera brands without needing outside software. Python bindings are also mentioned as part of the project, suggesting the tool can be used from Python scripts as well as its own interface. The project shows a passing build status and is released under the MIT License, so it is free to use and modify. It is aimed at serious photographers and scientific imaging users who need precise, high quality focus stacking rather than a casual point and click tool. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Explain the difference between the affine, registration, and translation alignment modes in z-stackr.
Prompt 2
Walk me through the fusion algorithm options and when I would pick Relief over Apex.
Prompt 3
Show me how to enable the optional neural AI stacking mode in z-stackr.
Prompt 4
Explain how z-stackr's tile-based processing keeps memory usage low on large image sets.

Frequently asked questions

What is z-stackr?

A professional Rust-based focus stacking app that blends a sequence of macro or microscopy photos, each shot at a different focus depth, into one fully sharp composite image.

What language is z-stackr written in?

Mainly Rust. The stack also includes Rust, Burn, Python.

What license does z-stackr use?

Free to use, modify, and redistribute, including commercially, as long as the license and copyright notice are kept.

How hard is z-stackr to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is z-stackr for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.