PARSEG
PARSEG (PAralellised Refinement of SEGmentations) combines segmentation masks and filters overlapping objects based on colocalization statistics, such as percent overlap.
This napari plugin was generated with Cookiecutter using @napari's [cookiecutter-napari-plugin] template.
Overview
By leveraging Dask, PARSEG filters overlapping segmentations masks in a computationally efficient manner by processing individual 2D slices in parallel.
There are two different ways to interact with PARSEG and use it for different objectives:
- As a napari plugin for graphical user interaction
- As a Python API to allow users to integrate PARSEG tools into their own custom workflows
Installation
You can install napari-segmentation-overlap-filter via pip:
pip install napari-segmentation-overlap-filter
Getting Started
Napari Plugin
- Download the example dataset images
- Start napari and open both images as separate layers
- Convert the layers from an
Image Layerto aLabels Layerby right-clicking on the layer - Open the plugin with
Plugins > Segmentation Overlap Filterand the widget will appear on the right - Select the two segmentation masks you'd like to combine using the drop down and menu
- Drag the slider to set percent overlap allowed
- Click
Run - Optionally, export the overlap dataframe as a csv file
Python API
This example notebook shows how you can integrate the Python API into your own workflow for filtering and combining overlapping segmentation masks
Issues
If you encounter any problems, please file an issue along with a detailed description.
Release files for napari-segmentation-overlap-filter 0.0.1
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_segmentation_overlap_filter-0.0.1.tar.gz | 22.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| napari_segmentation_overlap_filter-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 45.5 kB
Release files / napari_segmentation_overlap_filter-0.0.1.tar.gz
| Download URL | napari_segmentation_overlap_filter-0.0.1.tar.gz |
|---|---|
| Size | 22.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0df915f2b6d9a3312d50ab0f306baaa6957c0ebc6fef0e34669953b213a87a10
|
|
BLAKE2b-256 checksum How to use checksums |
aec129ff63966e2195a2705948855b0f89800796a2da9680f3cdc0b74723910c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.5
|
Release files / napari_segmentation_overlap_filter-0.0.1-py3-none-any.whl
| Download URL | napari_segmentation_overlap_filter-0.0.1-py3-none-any.whl |
|---|---|
| Size | 22.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
605836b8376093325e6ceb301186b70831ba6a18ed9de1536afcdeabee5905b9
|
|
BLAKE2b-256 checksum How to use checksums |
67d25ac5bdff3d481db3aa9bf622052fc7d6feca7bca69ac6800315c853a0e13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.5
|