AAPM Working Group SCALE

SCALE Console

A desktop application for participating sites. It turns a site's DICOM data into one lesion mask per tumor in the shared MNI brain space, plus a clinical table with no identifiers, and checks the data between every step. Status: in development.

Pipeline

Eight steps in three zones

Identifiable data never leaves the site computer. De-identified data is checked after every step. Only the purple zone leaves the institution, and the site sees it file by file before it is created.

Stays on the site computerIdentifiable data
  1. 1Find casesFinds each MRI and its tumor contours in the DICOM folder, including inside zip files.

    Unpack zips → Read headers → Pair MRI with contours

    Checked before the next step
    • Case list with every case and its structures
    • Identifiable: stays on this computer

    Needs: 2 CPUs · 2 GB · 10 GB disk

  2. 2Name structuresMaps every contour name to the AAPM TG-263 standard. A person confirms the names it is unsure about.

    Match names to TG-263

    Checked before the next step
    • Every structure has a decision
    • Names come from the TG-263 vocabulary

    Needs: 1 CPU · 1 GB

  3. 3De-identifyRemoves all patient identifiers and checks every file before anything is released.

    Rebuild files → Verify every file → Publish release

    Checked before the next step
    • No identifier in any file (privacy check)
    • Inventory and checksums
    • MRI and contours still match

    Needs: 4 CPUs · 4 GB · disk ≈ size of the MRIs

De-identifiedChecked after every step
  1. 4Map to MNIRegisters each MRI to the MNI brain and moves the tumor masks into it.

    Convert → Fix intensity → Brain mask → Register to MNI → Move tumor masks

    Checked before the next step
    • Every mask on the 197 × 233 × 189 MNI grid
    • One mask per tumor
    • Volumes match the original contours

    Needs: NVIDIA GPU ≥ 8 GB (required) · 32 GB RAM · ≈ 0.5 GB per patient

  2. 5Check qualityMeasures how well each brain was registered and flags the cases a person should look at.

    Measure registration → Draw overlays → Flag outliers

    Checked before the next step
    • Every case accepted or excluded with a reason

    Needs: 4 CPUs · 8 GB

  3. 6Add clinical dataA clinical workbook is filled for the site's patients. Only de-identified values are kept.

    Check workbook → Keep de-identified values

    Checked before the next step
    • No names, IDs, dates or comments
    • Ages as decades
    • One row per patient

    Needs: Excel or Numbers

Leaves the institutionMasks and a clinical table only
  1. 7Prepare submissionPackages the lesion masks and the clinical table, and shows exactly what will leave the institution.

    Select accepted lesions → Build package → Check package

    Checked before the next step
    • Only masks and the clinical table
    • Final privacy check
    • Checksums

    Needs: 1 CPU · disk ≈ 5 MB per patient

  2. 8Build lesion mapsAt UCSF: the submissions of all sites are checked with the same checker and combined into lesion probability maps per cancer type.

    Runs at UCSF

Decisions

A person decides four times

Step 2Structure namesConfirm the contour names the Console could not map to TG-263 with confidence.
Step 3Cases and releaseReview the images of each case for burned-in text or faces, confirm the de-identification policy and that the release is covered by the IRB and data agreements, then approve.
Step 5Quality flagsAccept or exclude each flagged case, for example a low registration score, with a reason.
Step 6Clinical workbookFill the workbook. It shows patient names so staff know who is who; the workbook never leaves the computer.

Everything else runs on its own. A step starts only when the data it needs passed the check and the computer has what the step needs.

Release

What leaves the institution

FileContent
Lesion masksOne per accepted lesion, in MNI space
lesions.csvVolume and MNI position of each lesion
clinical.csvAge decade, sex, primary site, histology, subtype, KPS, treatment flags
quality.csvAccepted or excluded, with reasons

Not included: MRI images, transforms, names, IDs, dates, comments.

Containers

Each step is a verified container

ContainerStepsRuns onData it may seeStatus
scale-deidFind cases · De-identify · Add clinical dataCPUMay see identifiable data · never networkIn the Console
scale-tg263Name structuresCPUMay see identifiable data · never networkBuilt, not yet in the Console
scale-mniMap to MNINVIDIA GPU (required)De-identified data onlyIn development
scale-qcCheck qualityCPUDe-identified data onlyPlanned
scale-submitPrepare submissionCPUDe-identified data onlyPlanned
scale-validateThe check between every stepCPUIndependent of all other containersBuilt, not yet in the Console
scale-lesionmapBuild lesion maps (UCSF)CPUDe-identified data onlyPlanned

Containers ship inside the Console and are checked against their SHA-256 before use. They never have network access, and the DICOM folder is always mounted read-only.

Requirements

What a site computer needs

StepNeeds
1 Find cases2 CPUs · 2 GB · 10 GB disk
2 Name structures1 CPU · 1 GB
3 De-identify4 CPUs · 4 GB · disk ≈ size of the MRIs
4 Map to MNINVIDIA GPU ≥ 8 GB (required) · 32 GB RAM · ≈ 0.5 GB per patient
5 Check quality4 CPUs · 8 GB
6 Add clinical dataExcel or Numbers
7 Prepare submission1 CPU · disk ≈ 5 MB per patient

Step 4 runs only on an NVIDIA GPU, so results match the UCSF atlas. On a computer without one, the Console offers to send the de-identified release to UCSF for processing (Route A). On a two-GPU workstation, mapping 2,000 patients takes about two and a half days; every other step takes minutes plus review time.

Download

SCALE Console 0.4.5

SCALE Console app icon
SCALE Consolev0.4.5
Windowsx64 · Windows 10 or 11
SCALE-Console-0.4.5-win-x64-setup.exe
Installer, per user, no administrator rights · 219 MB
SHA-256 e3c7c6bdc80c…Download
SCALE Console app icon
SCALE Consolev0.4.5
macOSApple silicon (M1 and later)
SCALE-Console-0.4.5-mac-arm64.zip
App in a zip · 229 MB
SHA-256 76bf67be5f06…Download
SCALE Console app icon
SCALE Consolev0.4.5
macOSIntel
SCALE-Console-0.4.5-mac-x64.zip
App in a zip · 235 MB
SHA-256 f15101dd7b19…Download
SCALE Console app icon
SCALE Consolev0.4.5
Linuxx86_64
SCALE-Console-0.4.5-linux-x86_64.AppImage
AppImage, no installation · 224 MB
SHA-256 28107f970ca3…Download
Each download includes
  • The SCALE Console desktop application
  • SCALE De-identification 0.3.0, built in and installed on first start; no internet download needed
  • Getting Started guide and SHA-256 checksums of every file
This computer needs
  • Docker Desktop 24 or newer (on Windows with WSL 2); no Docker account
  • 2 GB of memory for Docker, 1 CPU and 2 GB of free disk for the de-identification step
  • An NVIDIA GPU only for the later mapping step

Released 2026-10-27. The installers are not yet code-signed, so Windows and macOS ask for confirmation on first start (Windows: More info → Run anyway; macOS: right-click the app → Open). Check the SHA-256 of the file you downloaded against the one shown here. All files, checksums and the Getting Started guide: release page.