napari-labels-overlap
create an overlap labels layer from two labels layers
Description
This plugin takes two labels layers (layerA, layerB) as inputs, and generate the overlapped regions as a binary labels layer.
Three modes:
(1) A_OR_B: new layer = layerA OR layerB (union)
(2) A_AND_B: new layer = layerA AND layerB (intersection)
(3) A_OUTSIDE_B: new layer = layerA OUTSIDE layerB (complement)
Applicaions
- Object colocalization
- Merge separately identified objects
Future work
- Support N labels layers
- Basic coloc stats (% volume overlap)
- Output Labels with distinct IDs and links to original label IDs
Release log
- 0.0.2
-- Run on npe2
-- Add output types: binary/connected component - 0.0.1
-- Run on npe1
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
You can install napari-labels-overlap via pip:
pip install napari-labels-overlap
To install latest development version :
pip install git+https://github.com/chili-chiu/napari-labels-overlap.git
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-labels-overlap" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Release files for napari-labels-overlap 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| napari-labels-overlap-0.0.3.tar.gz | 5.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_labels_overlap-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / napari-labels-overlap-0.0.3.tar.gz
| Download URL | napari-labels-overlap-0.0.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4da786d029ab2a58ae6d75289ee95c1041a9fd80a803ccff1e88ecabce77dc6f
|
|
BLAKE2b-256 checksum How to use checksums |
63383541bafa0c747ee466cffaec0cc9bfa5c3a7c04b3251c0f449f0b32bd558
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / napari_labels_overlap-0.0.3-py3-none-any.whl
| Download URL | napari_labels_overlap-0.0.3-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
380a086aa821e3290ddf6d7a1bde4133924a2a67d95b5d4b787522439825fc7d
|
|
BLAKE2b-256 checksum How to use checksums |
2e523babd75e7f8813bf82c3c13ca1ebab2d14f4b71837bc5308ca99424c1264
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|