Skip to main content

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

Project description

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 and 3D 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

napari_label_focus-0.1.0.tar.gz (31.2 MB view hashes)

Uploaded Source

Built Distribution

napari_label_focus-0.1.0-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page