The napari hub is transitioning to a community-run implementation due to launch in June 2025.
Since October 1, 2024, this version is no longer actively maintained and will not be updated. New plugins and plugin updates will continue to be listed.

napari Labeling

napari-labeling

A napari plugin for handling overlapping labeling data

License PyPI Python Version tests codecov napari hub

This is a napari-plugin based on the labeling project.

It allows the generation of overlapping labels in one layer, save and load of this layer in a json-based file format and it contains a widget to explore the overlapping labels layer and select specific segments with a mouse click .

Please note that currently, the widget part only works by adding it through code with:

from napari_labeling import edit_widget
viewer = napari.Viewer()
viewer.window.add_dock_widget(edit_widget)

An example on how to achieve this can be found in the main.py on GitHub.


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

Installation

You can install napari-labeling via pip:

pip install napari-labeling

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-labeling" is free and open source software

Issues

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

Version:

  • 0.1.2

Last updated:

  • 10 May 2022

First released:

  • 09 May 2022

License:

Supported data:

  • Information not submitted

Open extension:

Save extension:

  • Information not submitted

Save layers:

GitHub activity:

  • Stars: 6
  • Forks: 1
  • Issues + PRs: 1

Python versions supported:

Operating system:

Requirements:

  • numpy
  • labeling