{"name":"napari-annotator","display_name":"Annotator","visibility":"public","icon":"","categories":[],"schema_version":"0.2.0","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"napari-annotator.annotator","title":"Annotator","python_name":"napari_annotator._dock_widget:Annotator","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"napari-annotator.annotator","display_name":"Annotator","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-annotator","version":"0.0.4","dynamic":null,"platform":null,"supported_platform":null,"summary":"A lightweight plugin extending label layer control","description":"# napari-annotator\n\n[![License](https://img.shields.io/pypi/l/napari-annotator.svg?color=green)](https://github.com/loicsauteur/napari-annotator/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/napari-annotator.svg?color=green)](https://pypi.org/project/napari-annotator)\n[![Python Version](https://img.shields.io/pypi/pyversions/napari-annotator.svg?color=green)](https://python.org)\n[![tests](https://github.com/loicsauteur/napari-annotator/workflows/tests/badge.svg)](https://github.com/loicsauteur/napari-annotator/actions)\n[![codecov](https://codecov.io/gh/loicsauteur/napari-annotator/branch/main/graph/badge.svg)](https://codecov.io/gh/loicsauteur/napari-annotator)\n[![napari hub](https://img.shields.io/endpoint?url=https://api.napari-hub.org/shields/napari-annotator)](https://napari-hub.org/plugins/napari-annotator)\n\nA lightweight plugin extending label layer control.\n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.\n\n\n## Description\nThis lightweight plugin helps you navigate your labels layer. It is intended to ease your manual annotation work.\n![Overview image](resources/image1.png)\n- Select a label from the list.\n- Toggle the visibility of individual label entries.\n- Move to the centroid of a label at the current zoom.\n- Change the color of individual labels.\n- Erase all drawn pixels of a given label.\n- Restore an erased label.\n\n\n\n## Usage\nStart the plugin `Plugins > napari-annotator: Annotator`.\n\nThe plugin will list available labels once a labels layer is selected and labels drawn.\n\nColor shuffling for labels will not work, since the plugin sets the color mode of the layer to `direct`.\nBut you can always change the color of individual labels, using the color picker.\n\n## Known limitations\n1. Lag when drawing (probably related to [this issue](https://github.com/napari/napari/issues/2380#issue-825308887)).\n2. Locating / moving to the center of a label only works on 2D/3D label layers, i.e.:\n 1. single- / multi-channel 2D label layers.\n 2. single-channel 3D label layers (the third dimension being either Z or T).\n3. Maximum 255 labels supported. Increasing number of supported label is possible, but when increasing it, colors in the canvas will mismatch the layer control and plugin entries (probably related to [this issue](https://github.com/napari/napari/issues/3174))\n4. Restoring an erased labels is lost after switching between layers.\n\n\n\n\n\n## Installation\n\nYou can install `napari-annotator` via [pip]:\n\n pip install napari-annotator\n\n\nTo install latest development version :\n\n pip install git+https://github.com/loicsauteur/napari-annotator.git\n\n\n## Contributing\n\nContributions are very welcome. Tests can be run with [tox], please ensure\nthe coverage at least stays the same before you submit a pull request.\n\n## License\n\nDistributed under the terms of the [BSD-3] license,\n\"napari-annotator\" is free and open source software.\n\n## Issues\n\nIf you encounter any problems, please [file an issue] along with a detailed description.\nOr open a thread on [forum.image.sc](https://forum.image.sc) with a detailed description\nand a [@loicsauteur](https://github.com/loicsauteur) tag.\n\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[MIT]: http://opensource.org/licenses/MIT\n[BSD-3]: http://opensource.org/licenses/BSD-3-Clause\n[GNU GPL v3.0]: http://www.gnu.org/licenses/gpl-3.0.txt\n[GNU LGPL v3.0]: http://www.gnu.org/licenses/lgpl-3.0.txt\n[Apache Software License 2.0]: http://www.apache.org/licenses/LICENSE-2.0\n[Mozilla Public License 2.0]: https://www.mozilla.org/media/MPL/2.0/index.txt\n[cookiecutter-napari-plugin]: https://github.com/napari/cookiecutter-napari-plugin\n\n[file an issue]: https://github.com/loicsauteur/napari-annotator/issues\n\n[napari]: https://github.com/napari/napari\n[tox]: https://tox.readthedocs.io/en/latest/\n[pip]: https://pypi.org/project/pip/\n[PyPI]: https://pypi.org/\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/loicsauteur/napari-annotator","download_url":null,"author":"Loïc Sauteur","author_email":"loic.sauteur@unibas.ch","maintainer":null,"maintainer_email":null,"license":"BSD-3-Clause","classifier":["Development Status :: 2 - Pre-Alpha","Framework :: napari","Intended Audience :: Developers","License :: OSI Approved :: BSD License","Operating System :: OS Independent","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3 :: Only","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Topic :: Scientific/Engineering :: Image Processing"],"requires_dist":["numpy","scikit-image","qtpy","tox ; extra == 'testing'","pytest ; extra == 'testing'","pytest-cov ; extra == 'testing'","pytest-qt ; extra == 'testing'","napari ; extra == 'testing'","pyqt5 ; extra == 'testing'"],"requires_python":">=3.8","requires_external":null,"project_url":["Bug Tracker, https://github.com/loicsauteur/napari-annotator/issues","Documentation, https://github.com/loicsauteur/napari-annotator#README.md","Source Code, https://github.com/loicsauteur/napari-annotator","User Support, https://github.com/loicsauteur/napari-annotator/issues"],"provides_extra":["testing"],"provides_dist":null,"obsoletes_dist":null},"npe1_shim":false}