Skip to content

Labelings/napari-labeling

Repository files navigation

napari-labeling

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.