Skip to main content

napari-atlas-stitch

Standalone napari widget for stitching atlas tile exports from ZEISS Volutome and JEOL EM workflows.

Version: 1.2.0

napari-atlas-stitch parses atlas metadata, checks tile availability, previews nominal, refined, and manual tile layouts in napari, estimates refined tile positions from overlapping neighboring tiles, supports optional donor-based seam repair, and exports stitched atlas mosaics as OME-Zarr.

Development Status

This plugin is under active development. Alignment refinement, seam repair, and export settings should be treated as experimental until validated on your own ZEISS Volutome or JEOL EM acquisition workflow.

Alignment Refinement

Version 1.2.0 adds additional overlap-registration options and safety controls for EM tile mosaics.

Atlas Stitch estimates translations between neighboring overlapping tiles, then solves a global layout from the accepted pairwise constraints. This helps prevent one local adjustment from disrupting the whole mosaic.

Available registration modes:

  • Light translation registration — fast phase-correlation-based translation estimation.
  • Robust translation registration — tests multiple overlap-strip widths and selects the most reliable translation estimate.
  • Robust translation with residual-based outlier rejection — removes pairwise constraints that disagree with the solved global layout.
  • Feature-based registration — uses local image features from overlapping regions when intensity correlation is unreliable.
  • ECC intensity-based registration — uses enhanced correlation coefficient optimization for translation alignment.
  • Center-out seeded registration — starts near the center of the tile grid and expands outward using clockwise or counterclockwise neighbor priority. This is useful when weak outer-tile matches distort the global layout.

Additional safeguards:

  • Maximum correction — rejects translation corrections larger than the configured pixel limit.
  • Minimum confidence — rejects weak pairwise registrations before global optimization.

Recommended EM starting settings:

Registration mode: Robust translation with residual-based outlier rejection
Tile overlap: 10–20%
Maximum correction: 50 px
Minimum confidence: 0.20

Version: 1.1.0

napari-atlas-stitch parses atlas metadata, checks tile availability, previews nominal/refined/manual tile layouts in napari, estimates refined tile positions from overlapping neighboring tiles, supports optional donor-based seam repair, and exports stitched atlas mosaics as OME-Zarr.

Version: 1.0.1

napari-atlas-stitch parses atlas metadata, checks tile availability, previews nominal/refined/manual tile layouts in napari, estimates refined tile positions from overlaps, supports donor-based seam repair, and exports stitched atlas mosaics as OME-Zarr.

Development Status

This plugin is under active development. The core workflow has been split into a standalone napari package, but many functions still need broader testing on real ZEISS Volutome and JEOL EM datasets. Treat alignment refinement, seam repair, and export settings as experimental until validated on your acquisition workflow.

Supported Sources

  • ZEISS Volutome atlas XML sources
  • JEOL EM VE-MIF atlas sources
  • 2D tile image files referenced by those atlas sources
  • Saved .json atlas project files produced by this widget

Install

From a local checkout:

git clone https://github.com/wulinteousa2-hash/napari-atlas-stitch
cd napari-atlas-stitch
python -m pip install -e .

For development and tests:

python -m pip install -e ".[test]"

Open In Napari

Start napari and open:

Plugins > Atlas Stitch > Atlas Stitch

Main Workflow

  1. Select an atlas XML or VE-MIF source.
  2. Optionally choose a tile-root override if image paths moved after acquisition.
  3. Load the atlas project and inspect missing or resolved tiles.
  4. Preview the nominal placement.
  5. Estimate refined alignment from overlaps when the atlas has usable neighboring tiles.
  6. Save manual tile positions or repair seams when needed.
  7. Export the selected placement as OME-Zarr.

Outputs

  • Stitched OME-Zarr mosaics
  • Optional multiscale pyramids
  • Saved atlas project JSON files
  • Repaired tile outputs and repair metadata when seam repair is used

Changelog

See CHANGELOG.md for release notes and feature details.

Tests

python -m pytest

OME-Zarr export uses ome-zarr>=0.11 with zarr>=3. If tests fail while importing ome_zarr, reinstall the package in a clean or updated environment so pip can resolve those versions together.

Metadata

Release files for napari-atlas-stitch 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-atlas-stitch 1.2.0
File Size Uploaded Provenance Actions
napari_atlas_stitch-1.2.0.tar.gz 64.5 kB Without provenance Details for napari_atlas_stitch-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-atlas-stitch 1.2.0
File Interpreter ABI Platform Actions
napari_atlas_stitch-1.2.0-py3-none-any.whl Python 3 none any Details for napari_atlas_stitch-1.2.0-py3-none-any.whl

Total release size: 125.4 kB

Release files / napari_atlas_stitch-1.2.0.tar.gz

Download URL napari_atlas_stitch-1.2.0.tar.gz
Size 64.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5deee8a3ac6fe9a9b59f55f6c486ea2ae44c1fb794c99f2ed6ffdcc152b6173d
BLAKE2b-256 checksum
How to use checksums
83ceb12d40c27ace06b8156d4e9da89107a8c4b86dd53e3ee8ae20d0608386b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Release files / napari_atlas_stitch-1.2.0-py3-none-any.whl

Download URL napari_atlas_stitch-1.2.0-py3-none-any.whl
Size 60.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
66a44d8771e239bb00aee108ef824b563766e2bd10a9a9fb44bde57838c8693e
BLAKE2b-256 checksum
How to use checksums
4d33435c7be3a9acc7056fdf3a6f25b54823c6a590fe119834dde2b8b1ed6e4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.14

Security for napari-atlas-stitch 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page