Skip to main content

napari-allencell-segmenter

License PyPI Python Version Anaconda tests codecov

A plugin that enables 3D image segmentation provided by Allen Institute for Cell Science

The Allen Cell & Structure Segmenter plugin for napari provides an intuitive graphical user interface to access the powerful segmentation capabilities of an open source 3D segmentation software package developed and maintained by the Allen Institute for Cell Science (classic workflows only with v1.0). ​The Allen Cell & Structure Segmenter is a Python-based open source toolkit developed at the Allen Institute for Cell Science for 3D segmentation of intracellular structures in fluorescence microscope images. This toolkit brings together classic image segmentation and iterative deep learning workflows first to generate initial high-quality 3D intracellular structure segmentations and then to easily curate these results to generate the ground truths for building robust and accurate deep learning models. The toolkit takes advantage of the high replicate 3D live cell image data collected at the Allen Institute for Cell Science of over 30 endogenous fluorescently tagged human induced pluripotent stem cell (hiPSC) lines. Each cell line represents a different intracellular structure with one or more distinct localization patterns within undifferentiated hiPS cells and hiPSC-derived cardiomyocytes.

More details about Segmenter can be found at https://allencell.org/segmenter


This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.

Installation

Option 1 (recommended):

After you installed the lastest version of napari, you can go to "Plugins" --> "Install/Uninstall Package(s)". Then, you will be able to see all available napari plugins and you can find us by name napari-allencell-segmenter. Just click the "install" button to install the Segmenter plugin.

Option 2:

You can also install napari-allencell-segmenter via pip:

pip install napari-allencell-segmenter

Quick Start

In the current version, there are two parts in the plugin: workflow editor and batch processing. The workflow editor allows users adjusting parameters in all the existing workflows in the lookup table, so that the workflow can be optimized on users' data. The adjusted workflow can be saved and then applied to a large batch of files using the batch processing part of the plugin.

  1. Open a file in napari (the plugin is able to support multi-dimensional data in .tiff, .tif. ome.tif, .ome.tiff, .czi)
  2. Start the plugin (open napari, go to "Plugins" --> "napari-allencell-segmenter" --> "workflow editor")
  3. Select the image and channel to work on
  4. Select a workflow based on the example image and target segmentation based on user's data. Ideally, it is recommend to start with the example with very similar morphology as user's data.
  5. Click "Run All" to execute the whole workflow on the sample data.
  6. Adjust the parameters of steps, based on the intermediate results. For instruction on the details on each function and the effect of each parameter, click the tooltip button. A complete list of all functions can be found here
  7. Click "Run All" again after adjusting the parameters and repeat step 6 and 7 until the result is satisfactory.
  8. Save the workflow
  9. Close the plugin and open the batch processing part by (go to "Plugins" --> "napari-allencell-segmenter" --> "batch processing")
  10. Load the customized workflow (or an off-the-shelf workflow) json file
  11. Load the folder with all the images to process
  12. Click "Run"

Contributing

Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.

License

Distributed under the terms of the BSD-3 license, "napari-allencell-segmenter" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Release files for napari-allencell-segmenter 2.1.13

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-allencell-segmenter 2.1.13
File Size Uploaded
napari_allencell_segmenter-2.1.13.tar.gz 68.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for napari-allencell-segmenter 2.1.13
File Interpreter ABI Platform
napari_allencell_segmenter-2.1.13-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 146.4 kB

Release files / napari_allencell_segmenter-2.1.13.tar.gz

Download URL napari_allencell_segmenter-2.1.13.tar.gz
Size 68.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1ef66562081f8419782f3f95a020aa93394508f6079ded9e947bbd1e43390444
BLAKE2b-256 checksum
How to use checksums
65f3a0e5c8cd28e101343e0783dcfa81ef9c1b88e15a059c903e96fbfe43d401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / napari_allencell_segmenter-2.1.13-py2.py3-none-any.whl

Download URL napari_allencell_segmenter-2.1.13-py2.py3-none-any.whl
Size 78.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
de12d55fcad1a48e7ea862a65839a817b1663129c2faa0f518b507526e6d67de
BLAKE2b-256 checksum
How to use checksums
385777fbe06a2ae0b55411ff45a6d012b2c17646753a20ac36a4ec7675d84544
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7
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