Skip to main content

Panoptic Quality (PQ) computation for binary masks.

Project description

PyPI version panoptica

Panoptica

Computing instance-wise segmentation quality metrics for 2D and 3D semantic- and instance segmentation maps.

Features

The package provides 3 core modules:

  1. Instance Approximator
  2. Instance Matcher
  3. Panoptic Evaluator

Installation

To install the current release, you can simply run:

pip install panoptica

Use Cases

Semantic Segmentation Input

semantic_figure

Although for many biomedical segmentation problems, an instance-wise evaluation is highly relevant and desirable, they are still addressed as semantic segmentation problems due to lack of appropriate instance labels.

Modules [1-3] can be used to obtain panoptic metrics of matched instances based on a semantic segmentation input.

Unmatched Instances Input

unmatched_instance_figure

It is a common issue that instance segementation outputs have good segmentations with mismatched labels.

For this case modules [2-3] can be utilized to match the instances and report panoptic metrics.

Matched Instances Input

matched_instance_figure

Ideally the input data already provides matched instances.

In this case module 3 can be used to directly report panoptic metrics without requiring any internal preprocessing.

Tutorials

Juypter notebook Tutorials are avalable for all use cases in our tutorials repo.

Citation

If you have used panoptica in your research, please cite us! The citation can be exported from: TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

panoptica-0.5.4-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file panoptica-0.5.4-py3-none-any.whl.

File metadata

  • Download URL: panoptica-0.5.4-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for panoptica-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f546dbecbab2cb1bc3c8443912ae9a843a18deb5e50920ce13fee5612f729c67
MD5 0ebf75347d2b1bd6764ef44b6e39f6a6
BLAKE2b-256 9aa1b7a7d6563bbaeef55a004e7687009991c405b114e0e6c0ea89975ac157a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page