A plugin for management of label colormap generation and opacity control
Project description
napari-label-manager
This napari plugin was generated with copier using the napari-plugin-template.
Description
This is a plugin for management of label colormap generation and opacity control.
- Select your label layer from the dropdown
- Generate a new colormap or use existing colors
- Specify target label IDs (e.g., "1-5,10,15-20")
- Adjust opacity for selected labels and background
- Apply changes to visualize your selection
Features
Label Management
- Batch management of label colors and opacity
- Random colormap generation with customizable seeds
- Support for label ID ranges and individual selections
- Quick presets for common label selections (first 10, even/odd IDs, all current)
Label Annotation
- NEW: Excel-like annotation table for labeling digital IDs
- Fill ranges of label IDs automatically
- Load current layer's labels into annotation table
- Add custom annotations/descriptions for each label
- Export annotations to Excel format (.xlsx)
Performance Optimizations
- Memory-efficient processing for large datasets
- Time-series optimization (processes current slice only)
- Smart sampling strategies for extremely large arrays
- Background computation to maintain UI responsiveness
Installation
You can install napari-label-manager via pip:
pip install napari-label-manager
If napari is not already installed, you can install napari-label-manager with napari and Qt via:
pip install "napari-label-manager[all]"
For Excel Export and Load Functionality
To enable Excel export features for label annotations, install the optional and pandas dependency:
pip install openpyxl pandas
Or install everything together:
pip install napari-label-manager openpyxl pandas
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-manager" is free and open source software
Issues
If you encounter any problems, please [file an issue] along with a detailed description.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file napari_label_manager-0.1.4.tar.gz.
File metadata
- Download URL: napari_label_manager-0.1.4.tar.gz
- Upload date:
- Size: 27.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893f3be922b344c2416ced50c6e7a1e72ae72889697f2dd2171559e1f5adba79
|
|
| MD5 |
eb5746a40f07876ddef51ed9a1b560ca
|
|
| BLAKE2b-256 |
140ee5f4a646168456ae336ef9ce2b29a8fd43c23981b08728c7d43bb54a464d
|
File details
Details for the file napari_label_manager-0.1.4-py3-none-any.whl.
File metadata
- Download URL: napari_label_manager-0.1.4-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b001a35dae03f1d5c2ff15817e9832d99cb6d1e93e138057cec54aa2cc936b8
|
|
| MD5 |
df7c75b79798df912f4dddecddccda93
|
|
| BLAKE2b-256 |
2e8893bff1571a09cbdfc980f27e8d95ad569672016416ba7a97cc95e31f14b0
|