OSCR

Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

Python · 266 lines · 8.9 KB · no license

The registry keeps no copy of this file: its repository has no license, so its authors keep all their rights to it. Your browser shows it from its source, with JavaScript.

It can be read at the source: flask/app.py.

Overview

  1. Neuroimaging Laboratory, Universidade Estadual de Campinas, Campinas, São Paulo, Brazil
  2. Advanced Imaging and Artificial Intelligence Lab, University of Calgary, Calgary, Alberta, Canada
  3. School of Medical Sciences, Pontifical Catholic University of Campinas, Campinas, São Paulo, Brazil
  4. Department of Neurology, Cleveland Clinic Foundation, Cleveland, Ohio, USA
Journal: Epilepsia, volume 67, issue 8, pages 4207-4218
Dates: received 3 November 2025; accepted 4 May 2026; published online 12 June 2026; in print August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/epi.70296 · PMID 42284022 · PMCID PMC13525573 · OpenAlex W7164535447
Open access: hybrid, a free copy (OpenAlex)
Status: code verified
Categories: structural MRI / diffusion (modality), human (organism), epilepsy (population), clinical / translational (subfield)
Methods: Connectivity, Statistics, Machine learning
Keywords: brain region labeling, nnU‐net, postoperative MRI, ResectVol DL, volumetry
MeSH: Brain*, Deep Learning*, Epilepsy*, Imaging, Three-Dimensional*, Magnetic Resonance Imaging*, Adult, Brain Neoplasms, Female, Humans, Male, Middle Aged, Young Adult (* major topic)
Topic: Advanced Neural Network Applications (Computer Vision and Pattern Recognition, Computer Science), according to OpenAlex
Funding: NIH HHS (R01NS097719); Fundação de Amparo à Pesquisa do Estado de São Paulo (2013/07559‐3, 2013/07559-3, 2020/00019-7, 2020/00019‐7); NINDS NIH HHS (R01 NS097719); National Institutes of Health (R01NS097719)
Citations: not cited yet (Europe PMC); 35 references in the paper

Abstract

Objective: There are several clinical and research applications for determining the amount of brain tissue resected after epilepsy surgery; however, manual segmentation of postoperative magnetic resonance imaging (MRI) is imprecise and time‐consuming. In this study, we developed and benchmarked ResectVol DL, a freely available deep learning‐based tool that performs this task automatically.

Methods: To create ResectVol DL, we trained a UNet‐like deep learning model using postoperative T1‐weighted MRI from epilepsy surgery patients and evaluated it against manual delineations (ground truth). ResectVol DL was also compared with three automated methods (ResectVol 1.1.2, DeepResection, and Auto3DSeg) using Dice similarity coefficient (DSC), Pearson correlation coefficient, and relative volume difference from manual segmentation. To assess false‐positive detections and generalizability beyond epilepsy, we additionally processed images from healthy controls (no resection) and brain tumor cases.

Results: The final epilepsy cohort comprised 120 patients (57 women, mean age at surgery = 31.5 ± 15.9 [SD] years), split into training (n = 72) and test (n = 48) sets. An additional 42 images (22 healthy controls and 20 brain tumor cases) were included to test for false positives and generalizability. Segmentation performance differed across methods (Friedman test, p < .001). ResectVol Dl achieved the highest median DSC (.925), significantly outperforming ResectVol 1.1.2, DeepResection, and Auto3DSeg after Bonferroni correction. Volume‐based metrics were similar for Auto3DSeg and ResectVol DL (r = .988, relative difference = 8.4% vs. r = .985, 8.1%; no significant difference), yet Auto3DSeg produced three false‐positive cavities in no‐surgery controls (3/22, 95% confidence interval [CI] = 3%–35%), whereas none was observed for ResectVol DL and DeepResection (0/22, 95% CI = 0%–15%).

Significance: ResectVol DL provides accurate, fully automated segmentation of postoperative resection cavities, offering a robust and reproducible methodological tool for large‐scale postoperative imaging studies in epilepsy surgery. ResectVol DL also provides volumetric information derived from region labeling, which may serve as potential input for predictive models associated with surgery outcome; however, this application has not yet been validated.

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

Repositories

Its files are read in the Code ↔ Paper reader above.

penn-cnt/DeepResection

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 8fb625dbc3e1e89c7cc4306b02a7c9b0ba3e2885, 25 August 2022
Languages: Python (14), MATLAB (6), JavaScript (3), Shell (3)
Size: 202 files, 26 scripts
Software Heritage: not archived
Found in: the text, “Automatic segmentation”
Holds: README, environment (requirements.txt), documentation
Not found: license file, CITATION.cff, tests, continuous integration
Tools: NumPy (9 files), imageio (5 files), NiBabel (5 files), pandas (4 files), ANTs (3 files), Matplotlib (3 files), TensorFlow (3 files), Keras (2 files), Image Processing Toolbox (2 files), scikit-image (2 files), Nilearn (1 file), OpenCV (1 file), Pillow (1 file), scikit-learn (1 file), SciPy (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
27 files, not copied: shown from their source

OSCR keeps no copy of these files: this repository has no license that allows it. The reader above shows each one from its source, fetched by your browser at commit 8fb625d, when its fingerprint is the one OSCR verified. How this works.

rfcasseb/resectvol_dl

License: BSD-3-Clause
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 550249a28dee9251d3f21119bfebb80410aa63eb, 22 February 2026
Languages: Python (3), Shell (2)
Size: 13 files, 5 scripts
Software Heritage: not archived
Found in: “DATA AVAILABILITY STATEMENT”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: NiBabel (2 files), ANTs (1 file), FSL (1 file), Nipype (1 file), nnU-Net (1 file), NumPy (1 file), pandas (1 file), SciPy (1 file), SPM (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
7 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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 31 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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 statement

The data supporting the findings of this study can be made available upon approval from the ethics committee and through a formal data‐sharing agreement. ResectVol DL is available at github.com/rfcasseb/resectvol_dl/. Two anonymized T1‐weighted MR images from the test set are available for readers to test the tool at https://drive.google.com/drive/u/2/folders/18y7ObOy5DYEpQ3fZw5tAxp7NHSUOVhT3.

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 2, 28 September 2026

  • Publisher: — → Wiley

Version 1, 27 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 13 authors, 5 keywords, 12 MeSH terms, 4 funders, 24 references.

Cite

This paper

Casseb, R. F., de Campos, B. M., Loos, W. S., Barbosa, M. E. R., Alvim, M. K. M., Paulino, G. C. L., Ghizoni, E., Pucci, F., Worrell, S., Yassuda, C. L., de Souza, R. M., Jehi, L., & Cendes, F. (2026). Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery. Epilepsia, 67(8), 4207-4218. https://doi.org/10.1002/epi.70296

BibTeX

@article{casseb2026fully,
author = {Casseb, Raphael Fernandes and de Campos, Brunno Machado and Loos, Wallace Souza and Barbosa, Marcelo Eduardo Ramos and Alvim, Marina Koutsodontis Machado and Paulino, Gabriel Chagas Lutfala and Ghizoni, Enrico and Pucci, Francesco and Worrell, Samuel and Yassuda, Clarissa Lin and de Souza, Roberto Medeiros and Jehi, Lara and Cendes, Fernando},
title = {{Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery}},
journal = {Epilepsia},
year = {2026},
month = jun,
volume = {67},
number = {8},
pages = {4207--4218},
publisher = {Wiley},
issn = {0013-9580},
doi = {10.1002/epi.70296},
url = {https://doi.org/10.1002/epi.70296},
pmid = {42284022},
pmcid = {PMC13525573}
}

RIS

TY - JOUR
AU - Casseb, Raphael Fernandes
AU - de Campos, Brunno Machado
AU - Loos, Wallace Souza
AU - Barbosa, Marcelo Eduardo Ramos
AU - Alvim, Marina Koutsodontis Machado
AU - Paulino, Gabriel Chagas Lutfala
AU - Ghizoni, Enrico
AU - Pucci, Francesco
AU - Worrell, Samuel
AU - Yassuda, Clarissa Lin
AU - de Souza, Roberto Medeiros
AU - Jehi, Lara
AU - Cendes, Fernando
TI - Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery
T2 - Epilepsia
J2 - Epilepsia
PY - 2026
DA - 2026/06/12
VL - 67
IS - 8
SP - 4207
EP - 4218
SN - 0013-9580
PB - Wiley
DO - 10.1002/epi.70296
UR - https://doi.org/10.1002/epi.70296
LA - en
ER -

CSL-JSON

{
"id": "10.1002/epi.70296",
"type": "article-journal",
"title": "Fully automated three-dimensional deep learning-based magnetic resonance imaging segmentation of brain cavities in epilepsy surgery",
"container-title": "Epilepsia",
"author": [
{
"family": "Casseb",
"given": "Raphael Fernandes"
},
{
"family": "de Campos",
"given": "Brunno Machado"
},
{
"family": "Loos",
"given": "Wallace Souza"
},
{
"family": "Barbosa",
"given": "Marcelo Eduardo Ramos"
},
{
"family": "Alvim",
"given": "Marina Koutsodontis Machado"
},
{
"family": "Paulino",
"given": "Gabriel Chagas Lutfala"
},
{
"family": "Ghizoni",
"given": "Enrico"
},
{
"family": "Pucci",
"given": "Francesco"
},
{
"family": "Worrell",
"given": "Samuel"
},
{
"family": "Yassuda",
"given": "Clarissa Lin"
},
{
"family": "de Souza",
"given": "Roberto Medeiros"
},
{
"family": "Jehi",
"given": "Lara"
},
{
"family": "Cendes",
"given": "Fernando"
}
],
"container-title-short": "Epilepsia",
"volume": "67",
"issue": "8",
"page": "4207-4218",
"DOI": "10.1002/epi.70296",
"PMID": "42284022",
"PMCID": "PMC13525573",
"ISSN": "0013-9580",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/epi.70296",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
12
]
]
}
}

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.1186/s12880-026-02481-2 [code]
Deep learning-based neuroanatomical profiling reveals population-specific brain changes in multiple sclerosis: a large-scale Middle Eastern study.
Journal: BMC medical imaging
In common: imageio, Keras, TensorFlow, 10 other tools, structural MRI / diffusion, clinical / translational, 1 reference
[2] doi:10.1038/s41586-026-10631-3 [code]
A prognostic human brain network for diffuse midline glioma.
Journal: Nature
In common: Keras, ANTs, TensorFlow, 10 other tools, clinical / translational, 1 reference
[3] doi:10.1038/s41597-026-07248-6 [code]
A large-scale fMRI dataset for vision-language semantic association.
Journal: Scientific data
In common: imageio, ANTs, FSL, 10 other tools, 1 reference
[4] doi:10.1038/s41467-026-71568-9 [code]
Convergent and selective representations of pain, appetitive processes, aversive processes, and cognitive control in the insula.
Journal: Nature communications
In common: Nipype, ANTs, FSL, 10 other tools
[5] doi:10.1038/s41467-026-71151-2 [code]
Common and distinct neural correlates of social interaction processing and theory of mind in narratives.
Journal: Nature communications
In common: Nipype, ANTs, FSL, 10 other tools
[6] doi:10.2463/mrms.mp.2024-0149 [code]
Image Distortion Correction for Diffusion MR Imaging Using a Transformer-based U-Net.
Journal: Magnetic resonance in medical sciences : MRMS : an official journal of Japan Society of Magnetic Resonance in Medicine
In common: nnU-Net, ANTs, FSL, 9 other tools, structural MRI / diffusion, clinical / translational
[7] doi:10.1002/alz.71649 [code]
Postmortem brain MRI reveals differential associations of subcortical and limbic volumes with cortical thinning and neurodegenerative pathologies.
Journal: Alzheimer's & dementia : the journal of the Alzheimer's Association
In common: nnU-Net, ANTs, FSL, 9 other tools, structural MRI / diffusion
[8] doi:10.7554/elife.107933 [code]
Modality-agnostic decoding of vision and language from fMRI.
Journal: eLife
In common: Nipype, Nilearn, SPM, 9 other tools, 1 reference
[9] 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, imageio, FSL, 8 other tools, structural MRI / diffusion, 1 reference
[10] doi:10.1038/s41398-026-04025-2 [code]
Brain energetic landscapes shape state dysregulation in major depressive disorder: a morphological network controllability perspective.
Journal: Translational psychiatry
In common: Nipype, ANTs, FSL, 9 other tools

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.