Arterial territories#
The typical territories of the cerebral arteries (Liu et al. 2023), drawn from where acute infarcts of each artery fell in 1,298 stroke patients on the Johns Hopkins University (JHU) single-subject template, are registered onto CDMD. They are shown as a per-vertex cortex colouring, a cut-label atlas, a supply list for every region and a territory table in the lesion report. They are typical territories; no vessel of this brain was imaged.
Fig. 22 | Fifteen branch territories per hemisphere, on the cortex and through the deep grey matter. a, Lateral left hemisphere. b, Medial left hemisphere. a, b: Colour Arterial territories (colors=territory), internal anatomy hidden. c, Axial cut at surface RAS z = 24 mm, viewed from above, anterior up. d, Coronal cut at surface RAS y = −12 mm through the thalamus, viewed from the front (subject’s right on the left). c, d: the cut under the same colour, which labels it by territory voxel by voxel. Hue families: blues, anterior cerebral artery (ACA); greens, middle cerebral artery (MCA); oranges, posterior cerebral artery (PCA); purples, vertebro-basilar; lighter shades for deep branches. Ventricles and cerebrospinal fluid keep their FreeSurfer colours.#
Data#
All files are from Chin-Fu-Liu/Acute-stroke_Detection_Segmentation at commit 159df3a34a769f804d22790752013d4e5ed04944, pinned by sha256 in config/arterial-territories.yaml and cached in data/cache/arterial-territories/.
Role |
File |
sha256 (first 12) |
|---|---|---|
Atlas |
|
|
Label table |
|
|
Template b0 |
|
|
Atlas and template are 192 × 224 × 192 voxels of 1 mm. Values 1–30 are 15 branches, left odd and right the next even value; 31 and 32 are the lateral ventricles, used only to score the registration. Paper: Sci Data 10:74, doi:10.1038/s41597-022-01923-0.
Branch ( |
Values (L, R) |
Major artery |
|---|---|---|
Anterior cerebral artery ( |
1, 2 |
ACA |
Medial lenticulostriate ( |
3, 4 |
ACA |
Lateral lenticulostriate ( |
5, 6 |
MCA |
MCA frontal, parietal, temporal, occipital, insular ( |
7–16 |
MCA |
PCA temporal, occipital ( |
17–20 |
PCA |
Posterior choroidal and thalamoperforating |
21, 22 |
PCA |
Anterior choroidal and thalamoperforating |
23, 24 |
PCA |
Basilar, superior cerebellar, inferior cerebellar |
25–30 |
Vertebro-basilar |
The atlas places the anterior choroidal and thalamoperforating territory under the posterior circulation; Planum keeps it there.
Two traps in the source:
Label table. The right parietal, temporal, occipital and insular MCA rows (values 10, 12, 14, 16) repeat the left codes (
MCAPL,MCATL,MCAOL,MCAIL); at level two the temporal PCA rows are swapped (leftPCAR, rightPCAL), and the left ventricle is codedLVR. Names, sides and levels are therefore taken from the values and the YAML, not the codes.Header. The template’s header does not place it in MNI space: its brain centroid lies about 17 mm anterior and 20 mm inferior of the MNI152NLin6Asym brain-mask centroid. The template is therefore registered image to image, not through CDMD’s MNI field.
Licence: the label file names CC BY-SA 4.0 but links the CC BY legal code; Planum takes the stricter reading, CC BY-SA 4.0. Files derived for each brain stay under it, with the changes stated (references).
Method#
Registration#
scripts/register_arterial_territories.py checks the FreeSurfer build against freesurfer_build in config/model.yaml, fetches the three files by checksum, and check_atlas_sides requires every odd value’s centroid to lie left of the template midline and every even value’s right. read_definition refuses a branch that is not an odd left value with the next even right value, and values that do not cover 1–32 once each. SynthMorph (FreeSurfer 8.2) then runs:
mri_synthmorph register -m joint -j <threads> -t warp.nii.gz <template b0> mri/brain.mgz: skull-stripped b0 to skull-stripped T1, joint affine and deformable;mri_synthmorph apply -m nearest warp.nii.gz <atlas> atlas.nii.gz.
The output grid is checked against aseg’s, values are rounded to int16 and written to mri/arterial-territories.mgz (verified unchanged on reading), and the checks and pins go to arterial-registration.json. SynthMorph runs on the CPU; the output is recorded by checksum, not expected to reproduce bit for bit.
Acceptance#
arterial_territories.checks scores the registered atlas against aseg; accept stops the script if any limit fails.
Lateral ventricle Dice, aseg 4 and 43 against atlas 31 and 32: ≥ 0.6 per side. The atlas’s ventricle label spills into periventricular white matter, so the threshold is a lower bound.
aseg cerebellar cortex (8, 47) in the superior or inferior cerebellar territories: ≥ 95%.
aseg cerebral cortex and white matter (2, 3, 41, 42) in no territory, counting ventricle labels as none: ≤ 2%.
Lateralised tissue (left 2, 3, 8, 10–13, 17, 18; right 41, 42, 47, 49–54) in a territory of its own side, by value parity: ≥ 98%.
Cortical vertices#
territory_index maps the atlas on aseg’s grid to a 1-based territory index (0 for background and ventricles). vertex_indices gives each cortical vertex the index of the voxel nearest the midpoint of its pial and white positions, and fails if a sample leaves the grid. partition_vertex_labels carries the index onto the partitioned mesh by majority, as for Yeo 7, and it is written as _TERRITORY (uint8; 0 none). A cortical region’s shares count its source vertices; the medial wall and unmapped cortex carry none.
Regions and cut volume#
build_regions makes one cut-only region per branch and side, 30 in all (arterial:<side>:<branch>), with colour, major artery as system name, voxel count, volume and placement; it fails if a branch has no voxel. export_cut_atlas gives every parenchyma voxel the atlas reaches its branch label over the aparc.a2009s+aseg labels and writes tissues-arterial.volume (unsigned 16-bit, cropped); cerebrospinal fluid, ventricles, choroid plexus and vessel keep their FreeSurfer labels.
Display#
Colour Arterial territories (group Blood supply in the masthead; URL colors=territory) paints the cortex per vertex: attachTerritoryColors (network-colors.ts) converts _TERRITORY to colours and throws on an index beyond the published territories; the material mixes it in by territoryMix, 1 only with no paint or ghost. A deep structure drawn whole takes the territory holding ≥ 50% of it (majorityTerritoryColor), otherwise its tissue colour; one under 100 mm³ takes a territory’s colour only when that territory alone lies within 3 mm. A cut under this colour samples tissues-arterial.volume (which labels a cut samples): each voxel shows its own territory, structure caps included, and nothing else is recoloured; the stage’s surfaces keep painting per vertex. Only a build without the arterial volume paints a cut region by its majority territory, as the status line then says. SupplySection.svelte (Typical arterial supply) lists a region’s shares (vertices for cortex, voxels otherwise) and the unassigned share when ≥ 0.5%; for a structure under 100 mm³ it lists the names in territories_near without bars or percentages and says whether a border passes within 3 mm. territoryRows (web/src/lib/core/lesion/report.ts) gives each territory’s share of the lesion volume that lies in any territory; rows under 1% fold away.
Validation#
Test |
Criterion |
Result |
|---|---|---|
Lateral ventricle Dice, left / right |
≥ 0.6 |
0.68 / 0.74 |
Cerebellar cortex in the cerebellar territories |
≥ 95% |
97.3% |
Cerebral cortex and white matter in no territory |
≤ 2% |
1.2% |
Lateralised tissue in a territory of its own side |
≥ 98% |
99.6% |
|
Report re-measures; every region, vertex field and share recomputes |
Exact |
|
Definition refused otherwise |
Passes |
|
A shifted atlas fails acceptance |
Passes |
|
Unassigned share counted |
Passes |
|
Largest territory: putamen lateral lenticulostriate; thalamus posterior choroidal and thalamoperforating; hippocampus anterior choroidal and thalamoperforating; left cerebellar cortex > 95% cerebellar arteries; fluid spaces none |
Passes (left putamen 86.8%, left thalamus 94.3%, left hippocampus 56.7%, left cerebellar cortex 97.9%) |
|
30 regions, each on its side |
Passes |
|
Territory index past the palette fails |
Passes |
Limitations#
Typical territories, not this brain’s vessels: collateral flow and variants such as a fetal posterior communicating artery move real territories by centimetres.
The ACA territory rests on 29 cases; the medial lenticulostriate and anterior thalamoperforating territories rest on anatomical knowledge rather than lesions.
Borders are where one territory’s lesions give way to another’s, not watershed zones; border-zone probabilities are not published.
Shares under 1% are omitted from the list but not counted as unassigned.
CC BY-SA 4.0.
Code availability#
- Code
scripts/register_arterial_territories.py(registration),brain_model/layers/arterial_territories.py(checks, vertex field, shares, regions, cut volume), called frombrain_model/build.py- Configuration
config/arterial-territories.yaml(pins, acceptance limits, branches, colours); thearterial_territorieslayer in the anatomy’slayerslist inconfig/model.yaml- Tests
tests/test_arterial_territories.py,web/src/lib/engine/render/network-colors.test.ts
# needs FreeSurfer 8.2 (SynthMorph); rerun only after a reconstruction changes
uv run python scripts/register_arterial_territories.py --anatomy cdmd --record
uv run python -m brain_model.build --anatomy cdmd
uv run python -m brain_model.validate --anatomy cdmd
uv run pytest tests/test_arterial_territories.py
Figure state (panel a): https://planumatlas.com/#anatomy=cdmd&atlas=destrieux&colors=territory&view=left&hemi=left&internal=0