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
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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ebe29725952111a902dd45c3cb21553a7038ac877e12621e8099176605db850 |
|
MD5 | d2ee571486d2797b17d6d3d16c54a2b1 |
|
BLAKE2b-256 | 40a66f898503ac0415708c67251c71a6d12a6a3e1937a409a766f9e2ef18a7c4 |
Hashes for napari_labels_overlap-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d193438a21406bc78c9cdfd53074d5c6bfa5e4a8600f2e29c6dfc7261843f690 |
|
MD5 | 4ab2d265cdff0ac4183981da06f078eb |
|
BLAKE2b-256 | f93229d4817b63e13e8f70e6108a4faf62bc9b5c47b26bd41f52c7941ea1174c |