Orain Classifiers

Every tissue region and every cell on an H&E slide, classified

A cell type for every cell and a tissue type for every region. Use the classifiers Orain trained, or train your own on your slides.

A 520 µm field of an H&E breast tumour with every nucleus mask filled in its cell class colour
Every nucleus in a 520 µm field of TCGA-D8-A13Z (TCGA-BRCA), a slide from a hospital the models never trained on. For research use only.

Two kinds of classifier, one way of working

Both draw their result on the slide in the same viewer and give the same tables per cell, per region and per slide.

Trained by Orain

Orain Classifiers

Ready to run. Fixed classes, trained on public expert labels and tested on hospitals they never saw.

Orain H&E Cell Classifier
Orain H&E Tissue Classifier
  • Nothing to label
  • The same classes on every slide, so cohorts compare
  • Test scores published, weak classes included
See the Orain Classifiers →
Trained by you

Custom Classifiers

Your classes, on your slides. Paint a few examples, and Orain trains a classifier and scores it on tissue it did not train on.

Custom Cell Classifier
Custom Tissue Classifier
  • Any classes you name
  • H&E, IHC and multiplex IF
  • QuPath annotations in, GeoJSON and a Python model out
How training works →

From slide to numbers

H&E breast tumour, a 7 mm square of the section
H&E slide
The same 7 mm square with each 112 µm tile painted in its tissue class colour; a white box marks the 320 µm field
Tissue map
The 320 µm field in the white box, with each nucleus mask filled in its cell class colour
Cell masks, 320 µm field
Nuclei classified
933 in the field
Stroma
38% of the tissue
Lymphocytes
34% of the cells
Lymphocytes in stroma
3,041 per mm²
The numbers

The Tissue Classifier maps the slide. The Cell Classifier calls every nucleus. Put together, they will give the numbers a study needs, for every slide of a cohort. The numbers above are for the 320 µm field only.

  • Tissue area in mm² per class
  • Cell counts and densities per mm², per cell class and per tissue class
  • Lymphocytes per mm² of stroma and per mm² of tumour
  • A per-cell table: position, class, confidence
  • The same numbers for every slide of a cohort, in one table

The Orain Classifiers for H&E

In development · v1 · breast

Orain H&E Tissue Classifier

Gives each 112 µm tile of the slide one of six tissue classes.

The same section with each 112 µm tile painted in its tissue class colour
Whole section of TCGA-D8-A13Z (TCGA-BRCA). Prototype with four of the six classes; Normal tissue and Artefact come with v1.
  • Tumour
  • Stroma
  • Immune infiltrate
  • Necrosis
  • Normal tissue
  • Artefact
Available · v1 · breast

Orain H&E Cell Classifier

Looks at a 56 µm field around every segmented nucleus and calls its cell type.

The same field with each nucleus mask filled in the colour of the class the model called
A 120 µm field of TCGA-D8-A13Z (TCGA-BRCA). On the 1,046 expert-labelled cells of this slide, the model and the experts (NuCLS) agree on 54%, and the model misses most macrophages.
  • Tumour cell
  • Lymphocyte
  • Plasma cell
  • Fibroblast
  • Macrophage
  • Other
Run them on your slides

Open to early research partners now.

How it works

  1. 01
    Today

    Upload an H&E slide

    Any common scanner format. Orain finds the tissue and segments every nucleus.

  2. 02
    Today

    A foundation model reads it

    Hibou-B turns each 112 µm tile into features.

  3. 03
    Today

    The Cell Classifier calls each nucleus

    Cell types are available today; tissue classes per tile come with v1.

  4. 04
    With v1

    Check it, take the numbers

    Review cell-classifier results on the slide and download its table as CSV. Tissue maps come with v1.

The Cell Classifier is available in Orain Studio today. The Tissue Classifier is in development, so tissue maps come with v1. Need other classes? Train a Custom Classifier.

The lineup: every stain, cell and tissue

Each stain gets an Orain Cell Classifier and an Orain Tissue Classifier, with the same classes. Until the Orain one is out, you can train a Custom one.

Stain
Cell Classifier
Tissue Classifier
H&E
Cell
Orain: Available
Custom: Train it today
Tissue
Orain: In development
Custom: Train it today
IHC
Cell
Orain: Planned
Custom: Train it today
Tissue
Orain: Planned
Custom: Train it today
Multiplex IF
Cell
Orain: Planned
Custom: Train it today
Tissue
Orain: Planned
Custom: Train it today
Spatial transcriptomics
Cell
Orain: Planned
Custom: Not yet
Tissue
Orain: Planned
Custom: Not yet

Tested on tissue it never saw

We keep test slides, and for the cell model whole hospitals, out of training. Weak classes included.

Orain H&E Tissue Classifier · v1 · breast
90%
of tiles right on slides it did not train on
Details

Offline prototype with Tumour, Stroma, Immune infiltrate and Necrosis: 90% of tiles right (88% averaged over the four classes) on breast slides it did not train on (76 TCGA slides, 5,352 expert labels from BCSS). Slides were held out, not yet whole hospitals. Normal tissue and Artefact are being added for v1.

Orain H&E Cell Classifier · v1 · breast
66%
of cells right in 4 hospitals it never saw
Details

From the slide embedding's own pathology foundation-model pass: the features under each nucleus, made small (48 numbers), a fixed head, and a correction for how common each class is. Sealed test on 4 hospitals it never saw (23,766 labelled cells, NuCLS): 66% of cells right, 48% averaged over the six classes; each class's share of a slide is off by 7 percentage points on average. It finds 76% of tumour cells, 79% of lymphocytes, 61% of fibroblasts and 38% of plasma cells. Macrophages are its weak class: it finds 10% of them, and fewer than 1 in 3 cells it calls a macrophage is one, so a macrophage count is not a measurement. Plasma cells are often called lymphocytes. Both need more pathologist labels.

400
TCGA slides in the H&E training atlas
110,018
expert-labelled cells (NuCLS)
150
breast slides with labelled tissue regions (BCSS)
4
hospitals sealed for the cell test
Training data

TCGA breast slides with the public BCSS and NuCLS expert labels (CC0). The models are trained on breast cancer so far; lung comes next. Pathologist reads on new slides go into each release, and the scores above are updated with them.

Available · research use

Orain Virtual Proteomics

Predicts a 21-marker multiplex immunofluorescence image from an H&E slide: epithelium, T cells, B cells, macrophages, PD-L1, PD-1, Ki67 and more. A prediction for choosing which blocks to stain, never a measurement. We checked it against a real multiplex panel stained on the same section of colorectal cancer, a tissue it never saw.

H&E
H&E of a 0.5 mm colorectal cancer field, CRC04
Real stain (Orion IF)
The measured multiplex immunofluorescence of the same section, CRC04
Predicted from the H&E
The multiplex image Orain Virtual Proteomics predicts from the H&E, CRC04
  • Nuclei (DAPI)
  • Epithelium (CK)
  • T cells (CD3)
  • Macrophages (CD68)

Tumour nests in an inflamed stroma: T cells found, the many macrophages missed. In this field (2,847 cells), how well the prediction picks out the cells the stain marks (AUROC, 0.5 is chance): epithelium 0.82, T cells 0.66, macrophages 0.34.

One 0.5 mm field per slide, chosen by a fixed rule: the tumour field with the most T cells by the real stain. Real stain on a log scale, prediction as a probability.
0.81
AUROC for epithelium on colorectal cancer it never saw

Checked against a real 19-marker panel of the same section on 5 colorectal cancer slides it never saw (Orion CRC, 40 fields, 77,823 cells). It finds the cells a real stain marks for epithelium (CK, AUROC 0.81) and T cells (CD3, AUROC 0.77; CD4 0.70), well above nucleus size alone (0.55). CD8, CD20 and Ki67 are weak (0.63-0.66). Macrophages (CD68, 0.38) and PD-L1 (0.47) fail: do not use them. Trained on lung adenocarcinoma; colorectal is out of its domain. On 39 TCGA lung adenocarcinomas, the predictions per slide did not follow the same tumours' RNA (no marker significant); that test compares about 2 mm² of each slide with RNA from another piece of the tumour, so it is weak.

Marker
AUROC
Per slide
Nucleus size alone
Verdict
CK (Pan-CK)
0.81
0.73–0.94
0.56
Works
CD3 (CD3e)
0.77
0.67–0.83
0.55
Works
DAPI (Hoechst)
0.75
0.66–0.83
0.61
Works
CD4
0.70
0.65–0.72
0.52
Works
Ki67
0.66
0.42–0.75
0.56
Weak
CD20
0.66
0.52–0.74
0.55
Weak
CD8 (CD8a)
0.63
0.50–0.65
0.54
Weak
PD-1
0.61
0.61–0.71
0.54
Weak
Actin (SMA)
0.53
0.45–0.59
0.40
Fails
PD-L1
0.47
0.33–0.51
0.54
Fails
CD68
0.38
0.29–0.56
0.49
Fails
Lung check

Lung: no agreement found

No open lung dataset has a real multiplex stain on the same section, so we compared the predictions per slide with the same tumours' RNA-seq, on 39 TCGA lung adenocarcinomas. Spearman ρ across 39 slides; no marker passes p < 0.0025 (20 markers tested). About 2 mm² of each slide against RNA from another piece of the tumour: a weak test, not a cell-level check.

Marker
RNA
Rho
p value
CK
KRT8, KRT18, KRT19, KRT7
0.07
0.65
CD3
CD3E, CD3D, CD3G
0.08
0.65
CD8
CD8A, CD8B
0.17
0.29
CD20
MS4A1
0.16
0.32
CD68
CD163, CSF1R, C1QA, C1QB
0.08
0.64
PD-L1
CD274
0.27
0.10
PD-1
PDCD1
0.23
0.17
Ki67
MKI67
0.19
0.23
Actin
ACTA2
-0.39
0.02
Orion CRC (Lin et al., Cancer Cell 2023): H&E and a 19-marker Orion IF of the same section, released under the MIT licence: 5 slides, 40 fields, 10 mm², 77,823 cells. A cell counts as positive above a per-slide gate on the authors' own cell table. Model: GigaTIME (Valanarasu et al., Cell 2026, Apache-2.0), trained on lung adenocarcinoma. Lung slides and RNA: TCGA-LUAD (NCI GDC, open access). For research use only. Not for use in diagnostic procedures.

Use it for

Biomarker discovery

Tissue and cell features for every slide of a cohort, ready to test against response, survival or mutations.

Case study: anti-HER2 response →

Immune contexture

Where the lymphocytes and plasma cells are: inside the tumour, in the stroma, or kept outside.

A Custom Classifier

Need other classes? In Orain Studio you paint examples on your own slides and a Custom Classifier trains on them.

How training works →

For research use only. Not for use in diagnostic procedures.

Run the Cell Classifier on your slides

The Orain H&E Cell Classifier is available in Orain Studio. The Tissue Classifier is in development; tell us about your H&E slides and the question you want to answer.

All inquiries are treated as confidential.