What it is — Digital pathology converts a glass tissue section into a computational object. A scanner captures the stained slide at 20–40x magnification, writing a pyramidal file (SVS, NDPI, or MRXS) that encodes the full-resolution image alongside progressively downsampled overviews. A single slide is a gigapixel image — OpenSlide or tifffile reads the pyramid; no consumer imaging library does. Everything downstream operates on tiles extracted from this pyramid, making tiling strategy a pipeline decision, not an afterthought: tile size, stride, overlap, and foreground-only extraction all affect what the model sees and what gets silently discarded.
The preprocessing contract — Staining is done by hand, batch by batch, and the colour distribution of an H&E slide drifts with the technician, the reagent lot, and the scanner. Stain normalization (Macenko, Vahadane) maps each slide into a common stain space before any downstream model runs. Skipping it does not make the variability disappear; it buries it in the embedding. Upstream of normalization, slide-level QC must catch blurred tiles, folded tissue, ink artefacts, and insufficient tissue coverage — artefacts a segmentation model will confidently process without flagging. Why Microscopy Needs Verified Outputs applies here: a WSI QC report is a first-class pipeline deliverable, not optional metadata.
Segmentation and embeddings — Tissue structure is segmented at two scales: regions (tumour, stroma, gland boundaries) and cells (nuclei classification and detection). HoVer-Net, StarDist, and QuPath handle the nuclear layer with different trade-offs between throughput, instance separation, and classification granularity. Above segmentation, foundation-model embeddings are now standard at the features stage: UNI (ViT-L trained on 100M+ histology patches), H-optimus-0, and CONCH each produce tile-level vectors that aggregate to slide-level representations via attention-based MIL. Foundation Models Are Not Pipelines is the precise account of why the encoder is not the system: stain drift, tile QC, and domain shift do not resolve themselves inside a frozen encoder.
Clinical readout — The pipeline terminus is a grading or biomarker prediction tied to ROIs on the slide — grade regression, PD-L1 scoring, or spatial cell-type fractions — plus a heatmap overlay that makes the evidence auditable. Without that overlay and the QC chain that precedes it, a slide-level prediction is a number without a provenance trail.
How we run it — the Digital Pathology pipeline, stage by stage — the nine-stage imaging backbone reshaped for this modality, with the tools, sub-steps and deliverable at each stage.