Skip to main content

A simple plugin to read digital pathology images and annotations Made at the IPU (ICR/RMH).

Project description

popidd-io

License GNU GPL v3.0 PyPI Python Version tests codecov napari hub DOI

A simple plugin to read digital pathology images and annotations. Made by Ferran Cardoso at the Integrated Pathology Unit (ICR/RMH).

This is still an experimental and in-development project, so expect considerable additions and changes to existing methods. Documentation and tests will be added in the coming weeks.


This napari plugin was generated with copier using the napari-plugin-template.

Installation

Setup conda environment

mamba create -n popidd_io python=3.12 pip pyqt

Activate conda environment

mamba activate popidd_io

End users

You can install popidd-io via pip:

pip install popidd-io

Development

Install test version from project base directory

pip install -e ".[testing]"

Run dev environment with

python developing.py

Before contributing, please install and use pre-commit hooks:

pip install pre-commit
pre-commit install

Also test the project using pytest from the project's root directory:

pytest

Description

This plugin brings support for brightfield and fluorescence images to Napari, as well as adding support for polygonal annotations in geoJSON files saved by QuPath.

Brightfield images are loaded as a single layer, incorporating also resolution information if found on the metadata. Fluorescence images are separated into channels annotated using the information present in the image metadata. Support for this latter modality is still ongoing and will improve in the coming weeks.

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

Made by Ferran Cardoso Rodriguez with the help of colleagues at the Integrated Pathology Unit.

Distributed under the terms of the GNU GPL v3.0 license, "popidd-io" is free and open source software

Issues

If you encounter any problems, please [file an issue] along with a detailed description.

Project details


Download files

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

Source Distribution

popidd_io-0.0.5.tar.gz (55.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

popidd_io-0.0.5-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file popidd_io-0.0.5.tar.gz.

File metadata

  • Download URL: popidd_io-0.0.5.tar.gz
  • Upload date:
  • Size: 55.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for popidd_io-0.0.5.tar.gz
Algorithm Hash digest
SHA256 83e8d198fb4e1f37819d41cf35808fbbb4040b164a77c2aaca47ae6e7f3a08f9
MD5 98547caa805d4483cb1cf2c8b733d295
BLAKE2b-256 deffdeb5abf323cc90ceb80fb54362cce03b374e33077f0d8c6377c4d56aed37

See more details on using hashes here.

File details

Details for the file popidd_io-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: popidd_io-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for popidd_io-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8e8b513070e0214247bf06300544a3a965d48f0bb52e7f05ccbf6021a1e48d74
MD5 369cb14dc297ae279ec6ff3709af76c3
BLAKE2b-256 c3444ecbe186e976cb5ef37f93731c07775d77fede428b4d3490f78f16639f18

See more details on using hashes here.

Supported by

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