muvis-align

Register, stitch and fuse multi-tile and multi-section microscopy images in napari

  • Joost de Folter
muvis-align logo

License MIT PyPI Python Version tests codecov npe2 Copier

Image registration pipeline for large volume EM and LM datasets, built on multiview-stitcher, with a napari plugin, a command-line pipeline and Jupyter notebooks.

A registered sample in the muvis-align napari plugin

Documentation

Main documentation: ccp-volume-em.github.io/muvis-align

Generated documentation: deepwiki.com/ccp-volume-em/muvis-align

Quick start in your browser (Slurm cluster, no install)

The napari plugin can run in a container on a Slurm cluster (HPC), shown in your browser through Xpra, without installing Python or muvis-align yourself. This needs Apptainer on the cluster, ssh access to its login node (preferably with an ssh key), and the xpra-*.sh scripts together in one folder on your own machine: download this repository as a ZIP and unzip it, or clone it.

From your own machine, one command builds the container on the cluster if needed, starts the job, and opens napari in your browser (on Windows in Git Bash, or as .\xpra-connect.sh ... from PowerShell):

bash xpra-connect.sh <user>@<login node> [folder on the cluster, default: muvis-align] [--pull]

Or step by step, on the cluster's login node in a folder with xpra-pull.sh and xpra-run.sh:

bash xpra-pull.sh     # once, and to update the container
bash xpra-run.sh      # starts the job and prints how to connect from your own machine

See the documentation for details.

Installation

From napari

The simplest way: in napari, open Plugins > Install/Uninstall Plugins..., search for muvis-align and install it. It is listed on the napari hub.

With pip

muvis-align needs Python 3.12 or later. Install it via pip:

pip install muvis-align

To install muvis-align with napari and Qt, and the optional registration methods (Elastix, ANTs and CPD), use:

pip install "muvis-align[all]"

The command-line script, example parameter files and notebooks are in this repository, not the pip package: see the documentation.

For AI coding agents

A skill teaches coding agents to use muvis-align: choosing settings, writing parameter files and calling it from Python. In Claude Code:

/plugin marketplace add ccp-volume-em/muvis-align
/plugin install muvis-align@muvis-align

Other agents that read SKILL.md skills can use the skills/muvis-align folder as it is.

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

Use of AI

Though completely human-designed and created, generative AI coding assistants were used in developing this software, including tests and documentation. All changes are directed and approved by a maintainer, and checked by automated tests where applicable.

License

Distributed under the terms of the MIT license, "muvis-align" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

For support and discussion, please use the Image.sc forum and post to the forum with the tag 'muvis-align'.


This napari plugin was generated with copier using the napari-plugin-template.

Version:

  • 0.7.3

Last updated:

  • 2026-12-03

First released:

  • 2026-12-01

License:

  • MIT

Supported data:

  • Information not submitted

Open extension:

Save extension:

Python versions supported:

3.12, 3.13, 3.14

Operating system:

  • Information not submitted

Requirements:

  • numpy
  • pydantic>=2
  • qtpy
  • scipy
  • scikit-image
  • scikit-learn
  • threadpoolctl
  • dask>=2024.8.0
  • tifffile>=2023.9.26
  • napari-meta-tiff>=0.2.1
  • imagecodecs
  • zarr
  • ome-zarr
  • ngff-zarr>=0.50.0
  • ome-zarr-models>=1.9.0
  • fair-metadata-integration>=0.12.0
  • matplotlib
  • tqdm
  • multiview-stitcher>=0.1.56
  • opencv-python-headless
  • spatial-image
  • magic-class
  • platformdirs
  • napari[all]; extra == "all"
  • multiview-stitcher[ants,itk-elastix]; extra == "all"
  • probreg; (python_version < "3.13" and sys_platform != "win32") and extra == "all"
Website by the napari team, original design by CZI.