Skip to main content

A package for digital pathology image analysis

Project description

Deep Learning Utilities for Pathology

pypi Tox mypy Pylint Black codecov

Dlup offers a set of utilities to ease the process of running Deep Learning algorithms on Whole Slide Images.

Features

  • Read whole-slide images at any arbitrary resolution by seamlessly interpolating between the pyramidal levels
  • Supports multiple backends, including OpenSlide and VIPS, with the possibility to add custom backends
  • Dataset classes to handle whole-slide images in a tile-by-tile manner compatible with pytorch
  • Annotation classes which can load GeoJSON, V7 Darwin, HALO and ASAP formats and read parts of it (e.g. a tile)
  • Transforms to handle annotations per tile, resulting, together with the dataset classes a dataset consisting of tiles of whole-slide images with corresponding masks as targets, readily useable with a pytorch dataloader
  • Command-line utilities to report on the metadata of WSIs, and convert masks to polygons

Check the full documentation for more details on how to use dlup.

Quickstart

The package can be installed using python -m pip install dlup.

Used by

  • ahcore: a pytorch lightning based-library for computational pathology

Citing DLUP

If you use DLUP in your research, please use the following BiBTeX entry:

@software{dlup,
  author = {Teuwen, J., Romor, L., Pai, A., Schirris, Y., Marcus, E.},
  month = {8},
  title = {{DLUP: Deep Learning Utilities for Pathology}},
  url = {https://github.com/NKI-AI/dlup},
  version = {0.7.0},
  year = {2024}
}

or the following plain bibliography:

Teuwen, J., Romor, L., Pai, A., Schirris, Y., Marcus E. (2024). DLUP: Deep Learning Utilities for Pathology (Version 0.7.0) [Computer software]. https://github.com/NKI-AI/dlup

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

dlup-0.7.0.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

dlup-0.7.0-cp310-cp310-macosx_14_0_arm64.whl (248.3 kB view details)

Uploaded CPython 3.10 macOS 14.0+ ARM64

File details

Details for the file dlup-0.7.0.tar.gz.

File metadata

  • Download URL: dlup-0.7.0.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.6

File hashes

Hashes for dlup-0.7.0.tar.gz
Algorithm Hash digest
SHA256 609efc347d1f7491ed1d6c8c9e6eb6b61d6f96c7a6cdd30acd90f0df25afe350
MD5 92e561b4e6980a23fe1cb1e7caae3a97
BLAKE2b-256 792e482b4885cace748d9d2d96a27b86c6204bf7444ae158e9c197e30fae85a9

See more details on using hashes here.

File details

Details for the file dlup-0.7.0-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for dlup-0.7.0-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 56a89f2d76400c4285d31af3e1df33fad64c4ab42de3080a442cc3b1c7a71c58
MD5 85e1841a3ddcea60b9b955601f4c4600
BLAKE2b-256 238bff9bf01ca46e687bd86f6f54f6f59177998037379596c334a530e09358ac

See more details on using hashes here.

Supported by

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