Brain Tumour Atlas

Reading the brain,
one specimen
at a time.

An interactive atlas. Upload a brain MRI and a deep neural network classifies it across four diagnostic categories: glioma, meningioma, pituitary, or none. It also shows you where in the scan it looked.

Editorial atlas plate -- axial section of a cerebral tumor
Plate XXVII -- tumor cerebriaxial section
From the editorial atlas, plate XXVII. Click upload to load your own.

Console

Run a reading.

Specimen

Bring a scan.

Drag & drop an MRI here

or

JPG, PNG, WebP. Max 10 MB.

Reading

The verdict.

No reading yet.

Choose a specimen above, pick a model, and click classify. The prediction, attention overlay, and a written interpretation will appear here.

Atlas

Four scenarios.

  • Glioma sample

    Glioma

    Plate 01

    Tumors arising from glial cells in the brain or spine.

  • Meningioma sample

    Meningioma

    Plate 02

    Slow-growing tumors of the meninges membrane.

  • Pituitary sample

    Pituitary

    Plate 03

    Abnormal growths within the pituitary gland.

  • No Tumor sample

    No Tumor

    Plate 04

    Healthy scan classification baseline.

Method

From MRI to analysis.

Pipeline

Three steps, in order

01

Preprocess

Decode the upload, resize to the model's input resolution (299x299 for Xception, 224x224 for the custom CNN), and normalise pixel values to [0, 1].

02

Infer

Forward pass through the chosen model. The network produces a softmax over four classes; we take the argmax as the prediction and keep the full distribution for display.

03

Interpret

TensorFlow's GradientTape gives a per-pixel saliency map of the predicted logit. Gemini reads the overlay back to you in plain English, in four sentences.

Appendix

Click to open

  • 7,023 MRIs from the Kaggle Brain Tumor MRI dataset.

    5,712 train, 655 validation, 656 test. The test set is split 50/50 from the original Testing folder, stratified by class with a fixed random seed.