What problem does it solve?
PathML is a comprehensive Python toolkit for computational pathology workflows, designed to facilitate machine learning and image analysis for whole-slide pathology images. The framework provides modular, composable tools for loading diverse slide formats, preprocessing images, constructing spatial graphs, training deep learning models, and analyzing multiparametric imaging data from technologies like CODEX and multiplex immunofluorescence.
Core Features & Use Cases
- Load whole-slide images from 160+ formats and access image pyramids and metadata.
- Build modular preprocessing pipelines for stain normalization, tissue/nucleus detection, and quality control.
- Construct spatial graphs to analyze cellular and tissue relationships and train ML models (e.g., HoVer-Net, HACTNet) on pathology data.
- Analyze multiparametric imaging data (CODEX, Vectra, MERFISH) for spatial proteomics and single-cell analysis.
- Manage data with guided workflows and documentation references to enable reproducible research.
Quick Start
Install PathML and run a simple preprocessing pipeline on a sample slide to see results.