← all repositories
TissueImageAnalytics/tiatoolbox

A PyTorch toolbox for gigapixel pathology slides

TIAToolbox wraps the messy pipeline of whole-slide image analysis into something a pathologist might actually use.

531 stars Python Domain AppsComputer Vision
tiatoolbox
Velocity · 7d
+0.2
★ / day
Trend
steady
star history

What it does TIAToolbox is a Python library for computational pathology built on PyTorch. It handles the full pipeline: loading massive whole-slide images, preprocessing, running deep-learning inference, post-processing results, and visualizing them. There’s also a command-line interface for users who’d rather not write scripts.

The interesting bit The project targets a genuinely hard problem—pathology images are gigapixel-scale, far too large to feed into a model directly. The toolbox abstracts away the tiling, staining normalization, and tissue segmentation that usually consume 80% of a researcher’s time. It also ships with pretrained models, though the README notes these come with dataset-dependent licensing baggage.

Key highlights

  • End-to-end API: data loading → inference → visualization in one toolchain
  • Command-line interface for non-programmers (or lazy programmers)
  • Jupyter notebook examples runnable in Colab/Kaggle without local installation
  • Published in Communications Medicine with a DOI, so it’s citable
  • BSD-3-Clause license for the code; model weights have separate restrictions

Caveats

  • The README is heavy on installation instructions and light on actual algorithmic details—you’ll need to dig into the docs or notebooks to understand what models are available and how they perform
  • “State-of-the-art algorithms” is claimed but no benchmarks or comparisons are provided in the README

Verdict Worth a look if you’re in digital pathology research and tired of gluing OpenSlide, PIL, and PyTorch together. Skip it if you’re not working with histopathology images—the domain specificity is high and the README doesn’t suggest much general-purpose utility.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.