Skip to content

EPFL-Center-for-Imaging/napari-label-focus

Repository files navigation

EPFL Center for Imaging logo

napari-label-focus

Easily focus the view on selected elements from a Labels layer to inspect them.

  • The plugin works on 2D, 2D+time, 3D, and 4D images.
  • The table shows the label index and volume (number of pixels) of each label.
  • Click on the table rows to focus the view on the corresponding label.
  • The table is updated when layers are added or removed from the viewer, selected from the dropdown, and when their data is modified.
  • The table is sorted by volume (biggest object on top).
  • You can save the table as a CSV file.


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

Installation

You can install napari-label-focus via pip:

pip install napari-label-focus

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

Issues

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


This napari plugin is an output of a collaborative project between the EPFL Center for Imaging and the De Palma Lab in 2023.

About

Easily focus the view on selected elements from a Labels layer.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages