OSCR

A comprehensive framework for automated segmentation of perivascular spaces in brain MRI with the nnU-Net.

Code ↔ Paper

1 match between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 1 match · it ties a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
  1. [1] § Methods › T1w+FLAIR nnU-Net ↔ scripts/pvs_predict_T1wFLAIR.sh, the whole file · a weak match · score 0.53 · FLAIR images, T1w images, co, Prediction, spacing, scans

Paper

Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

Shell · 19 lines · 825 B · MIT · 1 match

  1. #!/bin/bash
  2. # nnUNetv2 for the segmentation of perivascular spaces in T1w with co-registered FLAIR MRI scans
  3. # Author: William Pham
  4. # Date: 2025-11-04
  5. # Description: This script runs a nnUNet to label perivascular spaces and white matter hyperintensities in T1w and FLAIR MRI scans.
  6. # Usage:
  7. # Modify the script to include the INPUT_DIR and OUTPUT_DIR arguments, then run script:
  8. # ./pvs_predict_T1wFLAIR.sh
  9. # Input directory containing raw T1w and registered FLAIR Nifti images for inference
  10. # T1w images should end with "_0000.nii.gz"
  11. # FLAIR images should end with "_0001.nii.gz"
  12. INPUT_DIR=""
  13. # Output directory where PVS masks and model predictions will be outputs
  14. OUTPUT_DIR=""
  15. nnUNetv2_predict -d Dataset704_PVSFlair -i ${INPUT_DIR} -o ${OUTPUT_DIR} -f all -tr nnUNetTrainer -c 3d_fullres -p nnUNetResEncUNetMPlans

pvs_predict_T1wFLAIR.sh at commit dd7798d, under MIT · at the source

Overview

Authors: William Pham1, Alexander Jarema2, Donggyu Rim1, Zhibin Chen1, Mohamed Khlif1, Vaughan Macefield1,3, Luke Henderson4, Amy Brodtmann1
  1. Department of Neuroscience, Monash University,Melbourne, Australia
  2. Department of Radiology, Alfred Health,Melbourne, Australia
  3. School of Medicine, Western Sydney University,Sydney, Australia
  4. Department of Anatomy and Histology, The University of Sydney,Sydney, Australia
Institutions: Monash University (Australia); Alfred Health (Australia); Western Sydney University (Australia); The University of Sydney (Australia)
Journal: Neuroradiology, volume 68, issue 6, pages 1465-1483
Dates: received 8 October 2025; accepted 5 April 2026; published online 17 April 2026; in print 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1007/s00234-026-03993-y · PMID 41995815 · PMCID PMC13323141 · OpenAlex W4405030596
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), methods / tools (subfield)
Methods: Connectivity, Machine learning, Preprocessing, fMRI & imaging, Smoothing, state filtering, decompositions, Statistics
Keywords: Perivascular spaces, nnU-Net, Deep learning, MRI, Virchow-Robin spaces, Convolutional neural networks, 3T, 7T, Segmentation, U-Net
Topic: Cerebrospinal fluid and hydrocephalus (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: Monash University
Citations: cited by 4 papers (Europe PMC); 60 references in the paper

Abstract

Background: Enlargement of perivascular spaces (PVS) is common in cerebral small vessel disease, Alzheimer’s disease, and Parkinson’s disease, reflecting impaired clearance pathways. While MRI provides a means to quantify perivascular spaces, manual annotation remains time-consuming and labour-intensive. Thus, there is a need for accurate automated MRI-based PVS segmentation methods.

Aim: To optimise the nnU-Net, a deep-learning framework, for PVS segmentation.

Methods: 30 T1-weighted (T1w) MRI images acquired on three different scanners were used. PVS in the white matter (WM) and basal ganglia (BG) were manually labelled via a sparse annotation strategy and used to optimise the nnU-Net for T1w PVS segmentation. The same pipeline was applied to T2-weighted (T2w) images. Additionally, we trained T1w+FLAIR and T2w+FLAIR models to simultaneously segment PVS and white matter hyperintensities (WMH). Performance was assessed with 5-fold cross validation using the Dice similarity coefficient (DSC).

Results: A voxel-spacing agnostic model (mean DSC = 64.3 ± 3.3%) outperformed models that resampled images to a common resolution (DSC = 40.5–55%). Training on PVS segmentations derived from preprocessed T1w images substantially improved performance (DSC = 78.3 ± 1.7%). The T2w model performed best overall (DSC = 84.7 ± 1.3%), especially for WM-PVS (DSC = 90.4 ± 0.9%) compared to BG-PVS (DSC = 79.1 ± 2%). Multimodal models achieved DSCs of 75.6 ± 3.4% (T1w+FLAIR) and 77.5 ± 2.7% (T2w+FLAIR).

Conclusions: Our deep learning models provide a robust framework for automated PVS quantification across MRI modalities.

Supplementary information: The online version contains supplementary material available at 10.1007/s00234-026-03993-y.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repository

Its files are read in the Code ↔ Paper reader above, with 1 match between paragraphs and lines of code.

wpham17/nnUNet-Perivascular-Spaces

License: MIT
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: dd7798d81617ec375450b7c350714c15f1e99639, 18 September 2026
Languages: Shell (8), Python (5)
Size: 17 files, 13 scripts
Software Heritage: not archived
Found in: “Data availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: nnU-Net (12 files), NumPy (3 files), scikit-image (2 files), SimpleITK (2 files), DIPY (1 file), SciPy (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
15 files

The paper's code and data availability statement is in the Data section.

Tracing map

Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.

What the map holds:

  • 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 13 scripts, each with its path and the digest of its content;
  • 1 match between paragraphs of the paper and lines of the code (method lexical-v1);
  • neither the text of the paper nor the code itself.

Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.

Data

No dataset and no data link were found in the paper.

Data availability

Our nnU-Net models are open-source and available at: [https://github.com/wpham17/nnUNet-Perivascular-Spaces](https://github.com/wpham17/nnUNet-Perivascular-Spaces).

Reproduced under the paper's license (CC BY), from the paper cited above.

Versions

The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.

Version 1, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 8 authors, 10 keywords, 1 funder, 57 references.

Cite

This paper

Pham, W., Jarema, A., Rim, D., Chen, Z., Khlif, M., Macefield, V., Henderson, L., & Brodtmann, A. (2026). A comprehensive framework for automated segmentation of perivascular spaces in brain MRI with the nnU-Net. Neuroradiology, 68(6), 1465-1483. https://doi.org/10.1007/s00234-026-03993-y

BibTeX

@article{pham2026comprehensive,
author = {Pham, William and Jarema, Alexander and Rim, Donggyu and Chen, Zhibin and Khlif, Mohamed and Macefield, Vaughan and Henderson, Luke and Brodtmann, Amy},
title = {{A comprehensive framework for automated segmentation of perivascular spaces in brain MRI with the nnU-Net}},
journal = {Neuroradiology},
year = {2026},
month = apr,
volume = {68},
number = {6},
pages = {1465--1483},
publisher = {Springer Science+Business Media},
issn = {0028-3940},
doi = {10.1007/s00234-026-03993-y},
url = {https://doi.org/10.1007/s00234-026-03993-y},
pmid = {41995815},
pmcid = {PMC13323141}
}

RIS

TY - JOUR
AU - Pham, William
AU - Jarema, Alexander
AU - Rim, Donggyu
AU - Chen, Zhibin
AU - Khlif, Mohamed
AU - Macefield, Vaughan
AU - Henderson, Luke
AU - Brodtmann, Amy
TI - A comprehensive framework for automated segmentation of perivascular spaces in brain MRI with the nnU-Net
T2 - Neuroradiology
J2 - Neuroradiology
PY - 2026
DA - 2026/04/17
VL - 68
IS - 6
SP - 1465
EP - 1483
SN - 0028-3940
PB - Springer Science+Business Media
DO - 10.1007/s00234-026-03993-y
UR - https://doi.org/10.1007/s00234-026-03993-y
LA - en
ER -

CSL-JSON

{
"id": "10.1007/s00234-026-03993-y",
"type": "article-journal",
"title": "A comprehensive framework for automated segmentation of perivascular spaces in brain MRI with the nnU-Net",
"container-title": "Neuroradiology",
"author": [
{
"family": "Pham",
"given": "William"
},
{
"family": "Jarema",
"given": "Alexander"
},
{
"family": "Rim",
"given": "Donggyu"
},
{
"family": "Chen",
"given": "Zhibin"
},
{
"family": "Khlif",
"given": "Mohamed"
},
{
"family": "Macefield",
"given": "Vaughan"
},
{
"family": "Henderson",
"given": "Luke"
},
{
"family": "Brodtmann",
"given": "Amy"
}
],
"container-title-short": "Neuroradiology",
"volume": "68",
"issue": "6",
"page": "1465-1483",
"DOI": "10.1007/s00234-026-03993-y",
"PMID": "41995815",
"PMCID": "PMC13323141",
"ISSN": "0028-3940",
"publisher": "Springer Science+Business Media",
"URL": "https://doi.org/10.1007/s00234-026-03993-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
17
]
]
}
}

The tracing map gets a citation of its own once an author has validated it and it has a DOI.

Similar papers

The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.

[1] doi:10.1038/s41598-026-54446-8 [code]
Deep learning-based Desikan-Killiany parcellation of the brain using diffusion MRI.
Journal: Scientific reports
In common: nnU-Net, DIPY, scikit-image, 2 other tools, methods / tools, structural MRI / diffusion, 6 references
[2] doi:10.1038/s41598-026-55397-w [code]
Fast surface reconstruction of human brain MRI: benchmarking deep-learning based morphometry tools.
Journal: Scientific reports
In common: SimpleITK, scikit-image, SciPy, 1 other tool, methods / tools, structural MRI / diffusion, 5 references
[3] doi:10.1002/hipo.70124 [code]
Association Between Anterior Hippocampal Gyrification and Episodic Memory Performance in Neurotypical Young Adults.
Journal: Hippocampus
In common: nnU-Net, SimpleITK, scikit-image, 2 other tools, structural MRI / diffusion, 3 references
[4] doi:10.3390/jimaging12070276 [code]
Hyperelastic Regularization for Near-Diffeomorphic Transformer-Based Brain MRI Registration.
Journal: Journal of imaging
In common: nnU-Net, SimpleITK, scikit-image, 2 other tools, methods / tools, structural MRI / diffusion, 2 references
[5] doi:10.3389/fnins.2026.1870124 [code]
An end-to-end pipeline for automated fetal brain segmentation and biometry from 3D SSFP MRI.
Journal: Frontiers in neuroscience
In common: nnU-Net, SimpleITK, scikit-image, 2 other tools, structural MRI / diffusion, 2 references
[6] doi:10.3390/diagnostics16172861 [code]
Microstructural Changes in the Corpus Callosum in Different Forms of Sporadic Age-Related Cerebral Small Vessel Disease.
Journal: Diagnostics (Basel, Switzerland)
In common: DIPY, scikit-image, SciPy, 1 other tool, structural MRI / diffusion, 3 references
[7] doi:10.1016/j.adro.2026.102092 [code]
Effect of Anatomic Contextual Information on the Performance of a Convolutional Neural Network Tasked With Brain Metastasis Detection.
Journal: Advances in radiation oncology
In common: nnU-Net, SimpleITK, scikit-image, 2 other tools, 2 references
[8] doi:10.21037/qims-2026-0792 [code]
An nnU-Net-based framework with adaptive feature representation for 3D brain tumor segmentation.
Journal: Quantitative imaging in medicine and surgery
In common: nnU-Net, SimpleITK, scikit-image, 2 other tools, methods / tools, structural MRI / diffusion, 1 reference
[9] doi:10.3389/fmed.2026.1875760 [code]
Adaptive multi-stage domain unlearning for white-matter lesion segmentation.
Journal: Frontiers in medicine
In common: nnU-Net, SimpleITK, scikit-image, 2 other tools, methods / tools, structural MRI / diffusion, 1 reference
[10] doi:10.1038/s43856-026-01614-6 [code]
Simulation-based inference at the theoretical limit for fast, robust microstructural MRI with minimal diffusion data.
Journal: Communications medicine
In common: DIPY, scikit-image, SciPy, 1 other tool, structural MRI / diffusion, 3 references

Contribute

The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.

Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.

Request its removal

To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).

Discussion, reproductions, activity

Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.

Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.