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
File details
Details for the file napari_label_focus-0.1.4.tar.gz
.
File metadata
- Download URL: napari_label_focus-0.1.4.tar.gz
- Upload date:
- Size: 31.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a5f49c317394eead50a422bec8959e991d7b2f5d75403cf07d5fc3714b1d70d |
|
MD5 | f8c35cbaaff1db5b8e3d5690b2e9226b |
|
BLAKE2b-256 | 028ecd851e1ad891ba451ad7a326be8580552e7b535f3994771e53f0c5c25d0d |
File details
Details for the file napari_label_focus-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: napari_label_focus-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77c772bb416b4bbab665a1b0dd144ba325d07a4446bc48e8b0056fea22c46cec |
|
MD5 | 0ac50308909c614492a29440d908e7a8 |
|
BLAKE2b-256 | 0bf791ee6c4cf986892299eda70f591697e9bbfca1276dbfd3eebe801f0f76f7 |