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 numba

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.4.tar.gz (55.3 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.4-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: popidd_io-0.0.4.tar.gz
  • Upload date:
  • Size: 55.3 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.4.tar.gz
Algorithm Hash digest
SHA256 48a70a31b53945dddae6ed7719c59c231c43050c912db34f7617f12dc40c0ee6
MD5 fed4d1b84696e96b7382c5e67ee5829c
BLAKE2b-256 07321a0c758cf787ce6373a7827deafbc35061d91e79b47072436b5c10f26721

See more details on using hashes here.

File details

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

File metadata

  • Download URL: popidd_io-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 43.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2f8a512a95619e2de3cf78ae2618ab0b037c048b575a58ba2841ab657b3193cc
MD5 3774ae30e06e991fc75b33582c9b7371
BLAKE2b-256 3b9cb201bcf4ac2264d61adf2e80d8fd202c3d90a56bdc71394ff21d8365d690

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