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.
Metadata
Release files for vollsegzarr 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vollsegzarr-0.0.3.tar.gz | 81.4 kB | Without provenance | Details for vollsegzarr-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vollsegzarr-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for vollsegzarr-0.0.3-py3-none-any.whl |
Total release size: 175.1 kB
Release files / vollsegzarr-0.0.3.tar.gz
| Download URL | vollsegzarr-0.0.3.tar.gz |
|---|---|
| Size | 81.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e89d87b4cbd40b559da8342202dec75bb9dce98406e54fed077935cbb98782f3
|
|
BLAKE2b-256 checksum How to use checksums |
f0720750b787351542d4fbd0aa390e288f1865311ed6ab750aa259eabd70dd72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / vollsegzarr-0.0.3-py3-none-any.whl
| Download URL | vollsegzarr-0.0.3-py3-none-any.whl |
|---|---|
| Size | 93.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa6868dff5733a2901d267057fc7ec6dab13448197d350a02743a57db511d37b
|
|
BLAKE2b-256 checksum How to use checksums |
4e3ab4650fb319977f80f3e361c7930f65106ee532b78d475d3a15ac945fb581
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Security for vollsegzarr 0.0.3
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.