Metadata-Version: 2.4
Name: napari-sprout
Version: 1.1.0
Summary: napari plugin for SPROUT: seeds, growing, editing and AI prompts for 2D and 3D segmentation
Author: Yichen He
License-Expression: MIT
Project-URL: Homepage, https://github.com/EchanHe/SPROUT
Project-URL: Documentation, https://github.com/EchanHe/SPROUT#readme
Project-URL: Issues, https://github.com/EchanHe/SPROUT/issues
Project-URL: Changelog, https://github.com/EchanHe/SPROUT/blob/main/CHANGELOG.md
Keywords: napari,segmentation,image analysis,micro-CT,CT,MRI,3D,multi-class
Classifier: Framework :: napari
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Image Processing
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sprout-seg~=1.1.0
Requires-Dist: napari>=0.6.1
Requires-Dist: qtpy
Requires-Dist: magicgui
Requires-Dist: superqt
Provides-Extra: all
Requires-Dist: napari[all]; extra == "all"
Provides-Extra: ai
Requires-Dist: sprout-seg[ai]~=1.1.0; extra == "ai"
Dynamic: license-file

# napari-sprout

The napari plugin of [SPROUT](https://github.com/EchanHe/SPROUT): multi-part segmentation of 2D and 3D greyscale images (e.g. CT, MRI) without training data.

- **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.
- **Edit**: split, merge, relabel and clean regions.
- **Prompt (AI)**: seeds as prompts for nnInteractive.
- **ROI & Boundary**: work inside a region; make boundary masks.

## Install

```bash
pip install "napari-sprout[all]"     # with napari and Qt
pip install napari-sprout            # napari already installed
```

For the Prompt (AI) tab also run `pip install "sprout-seg[ai]"` (with an NVIDIA GPU, install PyTorch for your CUDA version first).

## Use

Start napari and open **Plugins → SPROUT**. Videos: [SPROUT playlist](https://www.youtube.com/watch?v=4DHI1gs1lzc&list=PL8tsvVKJ9n6FjYYplo-IAwKBLxDh578aj). Docs and the command line (`sprout`): [github.com/EchanHe/SPROUT](https://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](https://www.biorxiv.org/content/10.1101/2024.11.22.624847v2.abstract).

MIT License.
