Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Python toolkit for whole-slide pathology images: tiling, stain normalization, nuclear segmentation, feature extraction, and ML training.
Use this skill ↓28% 92%+64 ptsof test cases passed
Passed 23 of 25 test cases with the skill, and 7 of 25 without it.
3 of 3 safety checks passed
Not used yet
PathML is a Python toolkit designed for computational pathology workflows on whole-slide images (WSIs). It provides a unified pipeline from raw slide files (SVS, NDPI, MRXS, TIFF) through tile extraction, preprocessing (stain normalization, nuclear segmentation, tissue detection), feature extraction, and machine learning. PathML integrates with popular Python ML and image processing libraries while abstracting the complexity of WSI handling through its SlideData and Pipeline abstractions.
scikit-image or cellpose directly without PathML overhead.pathml, torch, torchvision, numpy, scikit-image, openslide-python# Install system dependency first
conda install -c conda-forge openslide
# Install PathML
pip install pathml
# For GPU support
pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/cu118
from pathml.core import SlideData
from pathml.preprocessing import Pipeline
from pathml.preprocessing.transforms import BoxBlur, TissueDetectionHE
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.