Skip to main content

sprout-seg

The core and command line of SPROUT: multi-part segmentation of 2D and 3D greyscale images (e.g. CT, MRI) without training data. For the napari plugin, see napari-sprout.

  • Seeds: thresholds and erosion split an image into parts; adaptive and sweep modes combine several settings.
  • Grow: seeds grow back to the full shape of each part.
  • Prompts: seeds as prompts for nnInteractive or SAM.
  • Batch: many images from one CSV. Runs on CPU.

Install

pip install sprout-seg               # command line only (e.g. on a cluster)
pip install "napari-sprout[all]"     # with the napari plugin, napari and Qt

Extras: sprout-seg[ai] (nnInteractive; with an NVIDIA GPU, install PyTorch for your CUDA version first), sprout-seg[mesh] (meshes).

Use

Every step is a YAML config (templates):

sprout --seeds --config make_seeds.yaml
sprout --sweep_adaptive --config sweep_adaptive_seed.yaml
sprout --adaptive_seed --config make_adaptive_seed.yaml
sprout --grow --config make_grow.yaml
sprout --seeds --batch --config batch_seeds.yaml
sprout --help

Docs, demo data and videos: github.com/EchanHe/SPROUT.

Cite

Y. He, M. Camaiti, L.E. Roberts, J.M. Mulqueeney, E. Ioannou, M. Didziokas, A. Goswami. SPROUT: A User-friendly, Scalable Toolkit for Multi-class Segmentation of Volumetric Images. bioRxiv 2024.

MIT License.

Metadata

Release files for sprout-seg 1.1.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 sprout-seg 1.1.0
File Size Uploaded Provenance Actions
sprout_seg-1.1.0.tar.gz 158.4 kB With provenance Details for sprout_seg-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sprout-seg 1.1.0
File Interpreter ABI Platform Actions
sprout_seg-1.1.0-py3-none-any.whl Python 3 none any Details for sprout_seg-1.1.0-py3-none-any.whl

Total release size: 312.3 kB

Release files / sprout_seg-1.1.0.tar.gz

Download URL sprout_seg-1.1.0.tar.gz
Size 158.4 kB
Tags Source
SHA-256 checksum
How to use checksums
507e202b0bfaad71cddb317311b0999e9d94eefbd54bb46c21866c5e8897a334
BLAKE2b-256 checksum
How to use checksums
1ab0fa10729b1a7d14587df9ad8fb3e13a7771ce7c837840f480c506af424d14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Release files / sprout_seg-1.1.0-py3-none-any.whl

Download URL sprout_seg-1.1.0-py3-none-any.whl
Size 153.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaea32e4349c14129d0077ac70bc6bba07c64bca00e094bbd101fafc42fd9710
BLAKE2b-256 checksum
How to use checksums
8bbbd431812da68555b8912aa67a8e151686c90d7c4a9f19a1c2580d0fdfd27f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

Security for sprout-seg 1.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sprout_seg-1.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.

Transparency log

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.1.0 This release

2 release files Full 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