{"name":"napari-segmentation-overlap-filter","display_name":"Segmentation Filter Overlap","visibility":"public","icon":"","categories":["Annotation","Segmentation","Acquisition"],"schema_version":"0.2.1","on_activate":null,"on_deactivate":null,"contributions":{"commands":[{"id":"napari-segmentation-overlap-filter.make_plugin_widget","title":"Magicgui container widget for the plugin","python_name":"napari_segmentation_overlap_filter:OverlappingSegmentationWidget","short_title":null,"category":null,"icon":null,"enablement":null}],"readers":null,"writers":null,"widgets":[{"command":"napari-segmentation-overlap-filter.make_plugin_widget","display_name":"Segmentation Overlap Filter","autogenerate":false}],"sample_data":null,"themes":null,"menus":{},"submenus":null,"keybindings":null,"configuration":[]},"package_metadata":{"metadata_version":"2.1","name":"napari-segmentation-overlap-filter","version":"0.0.1","dynamic":null,"platform":null,"supported_platform":null,"summary":"A simple plugin to remove overlapping segmentations from images","description":"# PARSEG\n\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/FrancisCrickInstitute/CALM_Template/HEAD?labpath=blob%2Fmain%2Fsegment_image.ipynb)\n[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-3115/)\n![Commit activity](https://img.shields.io/github/commit-activity/y/FrancisCrickInstitute/CALM_Template?style=plastic)\n![GitHub](https://img.shields.io/github/license/FrancisCrickInstitute/CALM_Template?color=green&style=plastic)\n\nPARSEG (PAralellised Refinement of SEGmentations) combines segmentation masks and filters overlapping objects based on colocalization statistics, such as percent overlap. \n\n----------------------------------\n\nThis [napari] plugin was generated with [Cookiecutter] using [@napari]'s [cookiecutter-napari-plugin] template.\n\n## Overview\nBy leveraging [Dask], PARSEG filters overlapping segmentations masks in a computationally efficient manner by processing individual 2D slices in parallel. \n\nThere are two different ways to interact with PARSEG and use it for different objectives:\n\n* As a napari plugin for graphical user interaction\n* As a Python API to allow users to integrate PARSEG tools into their own custom workflows\n\n## Installation\n\nYou can install `napari-segmentation-overlap-filter` via [pip]:\n\n    pip install napari-segmentation-overlap-filter\n\n## Getting Started\n\n### Napari Plugin\n1. Download the example dataset images\n2. Start napari and open both images as separate layers\n3. Convert the layers from an `Image Layer` to a `Labels Layer` by right-clicking on the layer\n4. Open the plugin with `Plugins > Segmentation Overlap Filter` and the widget will appear on the right\n5. Select the two segmentation masks you'd like to combine using the drop down and menu\n6. Drag the slider to set percent overlap allowed\n7. Click `Run`\n8. Optionally, export the overlap dataframe as a csv file\n\n### Python API\nThis [example notebook] shows how you can integrate the Python API into your own workflow for filtering and combining overlapping segmentation masks\n\n## Issues\n\nIf you encounter any problems, please file an issue along with a detailed description.\n\n[napari]: https://github.com/napari/napari\n[Cookiecutter]: https://github.com/audreyr/cookiecutter\n[@napari]: https://github.com/napari\n[Dask]: https://www.dask.org/\n[pip]: https://pypi.org/project/pip/\n[example notebook]: https://github.com/FrancisCrickInstitute/PARSEG/blob/main/Notebooks/Combine_Segmentations_And_Filter_Overlaps.ipynb\n","description_content_type":"text/markdown","keywords":null,"home_page":"https://github.com/FrancisCrickInstitute/PARSEG","download_url":null,"author":"Vanessa Dao","author_email":"vanessadao31@yahoo.co.uk","maintainer":null,"maintainer_email":null,"license":"BSD-3-Clause","classifier":["Development Status :: 2 - Pre-Alpha","Framework :: napari","Intended Audience :: Developers","License :: OSI Approved :: BSD License","Operating System :: OS Independent","Programming Language :: Python","Programming Language :: Python :: 3","Programming Language :: Python :: 3 :: Only","Programming Language :: Python :: 3.8","Programming Language :: Python :: 3.9","Programming Language :: Python :: 3.10","Topic :: Scientific/Engineering :: Image Processing"],"requires_dist":["numpy","magicgui","qtpy","scikit-image","tox ; extra == 'testing'","pytest ; extra == 'testing'","pytest-cov ; extra == 'testing'","pytest-qt ; extra == 'testing'","napari ; extra == 'testing'","pyqt5 ; extra == 'testing'"],"requires_python":">=3.8","requires_external":null,"project_url":null,"provides_extra":["testing"],"provides_dist":null,"obsoletes_dist":null},"npe1_shim":false}