Easily focus the view on selected elements form a Labels layer.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for napari_label_focus-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d7ca6e35de9a1ca26c36ad460a2e22a98ebdad4aef69eb3340afcbb572be3a8 |
|
MD5 | 24b2b03c154e401ceac2a3799020c506 |
|
BLAKE2b-256 | 567573e8462d488402514a8cd889c4c4aa4ee6cba3149d2b3b4da41ddb0d7cca |