create an overlap labels layer from two labels layers
Project description
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.
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-labels-overlap-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e00f97d32153ce9f3c5c2a9c43e7be368b66bd3267190ae4c7e6e599e99578f6 |
|
MD5 | 0542a83898d9392978f7e58ac7fe2626 |
|
BLAKE2b-256 | 8abccd156282841f86637dfc54af1a03ca13d77a9479cb178b6e5973b9f6ba07 |
Hashes for napari_labels_overlap-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 295866d06753979a7e4ec43a2b618cab0a4a8a6e0a73656222540adf86932735 |
|
MD5 | a9a25422dfd6242c42d13e9cf85e77cf |
|
BLAKE2b-256 | 4213c4ec9422e7198fced6b769c0c4862a72a05ff8f850c44e05e034dc573b94 |