Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2021 Dec;6(4):720-726.
doi: 10.1002/epi4.12546. Epub 2021 Oct 12.

ResectVol: A tool to automatically segment and characterize lacunas in brain images

Affiliations

ResectVol: A tool to automatically segment and characterize lacunas in brain images

Raphael F Casseb et al. Epilepsia Open. 2021 Dec.

Abstract

Objective: To assess and validate the performance of a new tool developed for segmenting and characterizing lacunas in postoperative MR images of epilepsy patients.

Methods: A MATLAB-based pipeline was implemented using SPM12 to produce the 3D mask of the surgical lacuna and estimate its volume. To validate its performance, we compared the manual and automatic lacuna segmentations obtained from 51 MRI scans of epilepsy patients who underwent temporal lobe resections.

Results: The code is consolidated as a tool named ResectVol, which can be run via a graphical user interface or command line. The automatic and manual segmentation comparison resulted in a median Dice similarity coefficient of 0.77 (interquartile range: 0.71-0.81).

Significance: Epilepsy surgery is the treatment of choice for pharmacoresistant focal epilepsies, and despite the extensive literature on the subject, we still cannot predict surgical outcomes accurately. As the volume and location of the resected tissue are fundamentally relevant to this prediction, researchers commonly perform a manual segmentation of the lacuna, which presents human bias and does not provide detailed information about the structures removed. In this study, we introduce ResectVol, a user-friendly, fully automatic tool to accomplish these tasks. This capability enables more advanced analytical techniques applied to surgical outcomes prediction, such as machine-learning algorithms, by facilitating coregistration of the resected area and preoperative findings with other imaging modalities such as PET, SPECT, and functional MRI ResectVol is freely available at https://www.lniunicamp.com/resectvol.

Keywords: Epilepsy; MRI; automatic segmentation; surgical outcome; volumetry.

PubMed Disclaimer

Figures

FIGURE 1
FIGURE 1
Performance metrics. Box plots for the (A) relative difference between approaches and (B) for the Dice coefficient, and (C) the scatter plot of the volumetric measurements with the linear fit (solid line; coefficient of determination (R²) = 0.638) and the reference line (dashed)
FIGURE 2
FIGURE 2
Segmentation examples. Manual (red) and automatic (cyan) lacuna masks overlayed onto the postoperative images. The images represent the (A) best (Dice similarity coefficient (DSC) = 0.89), (B) median (DSC = 0.76), and (C) worst (DSC = 0.23) DSCs obtained by the comparison of the manual and the automatic segmentation approaches
FIGURE 3
FIGURE 3
Characterization examples. (A) Brain structure masks overlayed onto the postoperative image and (B) the corresponding description file
FIGURE 4
FIGURE 4
User interface. (A) Graphical user interface and (B) the selection of the parent folder containing all subjects' directories

References

    1. Engel J. The current place of epilepsy surgery. Curr Opin Neurol. 2018;31(2):192–7. - PMC - PubMed
    1. Jehi L, Yardi R, Gonzalez‐Martinez J, Chagin K, Kattan MW, Bartolomei F, et al. Development and validation of nomograms to provide individualised predictions of seizure outcomes after epilepsy surgery: a retrospective analysis. Artic Lancet Neurol. 2015;14:283–90. - PubMed
    1. Sander JW, Shorvon SD. Epidemiology of the epilepsies. J Neurol Neurosurg Psychiatry. 1996;61(5):433. - PMC - PubMed
    1. Wiebe S, Blume WT, Girvin JP, Eliasziw M. A randomized, controlled trial of surgery for temporal‐lobe epilepsy. N Engl J Med. 2001;345(5):311–8. - PubMed
    1. Gracia CG, Chagin K, Kattan MW, Ji X, Kattan MG, Crotty L, et al. Predicting seizure freedom after epilepsy surgery, a challenge in clinical practice. Epilepsy Behav. 2019;95:124–30. - PMC - PubMed

Publication types