Skip to main content

VollSegZarr

Zarr-enabled volume segmentation for extremely large microscopy images

VollSegZarr is a fork of VollSeg that adds native support for Zarr format, enabling efficient processing of multi-terabyte microscopy volumes that don't fit in memory.

Features

  • Zarr Format Support: Native support for chunked, compressed Zarr arrays
  • Memory Efficient: Process images larger than available RAM
  • 100% Backward Compatible: Works with all existing TIFF workflows
  • Automatic Format Detection: Transparently handles TIFF and Zarr
  • Better Compression: 60-80% smaller file sizes with Zstd
  • Cloud Ready: Efficient streaming from cloud storage
  • All VollSeg Modes: StarDist, UNET, Hybrid, CellPose, etc.

Installation

pip install vollsegzarr

Quick Start

from vollsegzarr import VollSeg, StarDist3D
from vollsegzarr.zarr_io import imread, imwrite

# Load model
star_model = StarDist3D.local_from_pretrained("Carcinoma_cells")

# Segment from Zarr (or TIFF - automatic detection)
image = imread("data/volume.zarr")
results = VollSeg(image, star_model=star_model, axes="ZYX", n_tiles=(4, 8, 8))

# Save to Zarr
imwrite("output/labels.zarr", results[1], compression='zstd')

See README_ZARR.md for full documentation.

Why Zarr?

For huge images like (201, 5, 7577, 7577) ≈ 114 GB:

  • TIFF: 114 GB file, 2-5 min load, 114 GB RAM required
  • Zarr: 20-40 GB file, < 1 sec load, on-demand memory

License

BSD-3-Clause

Credits

Original VollSeg by Varun Kapoor et al. Zarr integration for large-scale imaging.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vollsegzarr-0.0.3.tar.gz (81.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vollsegzarr-0.0.3-py3-none-any.whl (93.7 kB view details)

Uploaded Python 3

File details

Details for the file vollsegzarr-0.0.3.tar.gz.

File metadata

  • Download URL: vollsegzarr-0.0.3.tar.gz
  • Upload date:
  • Size: 81.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for vollsegzarr-0.0.3.tar.gz
Algorithm Hash digest
SHA256 e89d87b4cbd40b559da8342202dec75bb9dce98406e54fed077935cbb98782f3
MD5 45514fdb0e805ee01890632cdf6c32e8
BLAKE2b-256 f0720750b787351542d4fbd0aa390e288f1865311ed6ab750aa259eabd70dd72

See more details on using hashes here.

File details

Details for the file vollsegzarr-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: vollsegzarr-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 93.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for vollsegzarr-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa6868dff5733a2901d267057fc7ec6dab13448197d350a02743a57db511d37b
MD5 8475e9f57c98ebef7aa62bffa2bc4ebd
BLAKE2b-256 4e3ab4650fb319977f80f3e361c7930f65106ee532b78d475d3a15ac945fb581

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page