Towards fast and reliable simultaneous EEG-fMRI analysis of epilepsy with automatic spike detection
Amir OmidvarniaiD, Magdalena A. KowalczykiD, Mangor PederseniD, Graeme D. JacksoniD
Abstract
ObjectiveThe process of manually marking up epileptic spikes for simultaneous electroencephalogram (EEG) and resting state functional MRI (rsfMRI) analysis in epilepsy studies is a tedious and subjective task for a human expert. The aim of this study was to evaluate whether automatic EEG spike detection can facilitate EEG-rsfMRI analysis, and to assess its potential as a clinical tool in epilepsy.\n\nMethodsWe implemented a fast algorithm for detection of uniform interictal epileptiform discharges (IEDs) in one-hour scalp EEG recordings of 19 refractory focal epilepsy datasets (from 16 patients) who underwent a simultaneous EEG-rsfMRI recording. Our method was based on matched filtering of an IED template (derived from human markup) used to automatically detect other similar EEG events. We comprehensively compared simultaneous EEG-rsfMRI results between automatic IED detection and standard analysis with human EEG markup only.\n\nResultsIn contrast to human markup, automatic IED detection takes a much shorter time to detect IEDs and export an output text file containing spike timings. In 13/19 focal epilepsy cases, statistical EEG-rsfMRI maps based on automatic spike detection method were comparable with human markup, and in 6/19 focal epilepsy cases it revealed additional brain regions not seen with human EEG markup. Additional events detected by our automated method independently revealed similar patterns of activation to a human markup. Overall, automatic IED detection provides greater statistical power in EEG-rsfMRI analysis compared to human markup in a short timeframe.\n\nConclusionsAutomatic spike detection is a simple and fast method that can reproduce comparable and, in some cases, even superior results compared to the common practice of manual EEG markup in EEG-rsfMRI analysis of epilepsy.\n\nSignificanceOur study shows that IED detection algorithms can be effectively used in epilepsy clinical settings. This work further helps in translating EEG-rsfMRI research into a fast, reliable and easy-to-use clinical tool for epileptologists. Our IED detection approach will be publicly available as a MATLAB package at: https://github.com/omidvarnia/Automatic_focal_spike_detection.\n\nHighlightsO_LIAutomatic spike detection increases the number of detected uniform epileptic interictal discharges and enhances statistical power of EEG-rsfMRI inter-subject variability maps,\nC_LIO_LIAutomatic spike detection can identify additional activated brain regions with presumed epileptogenic focus not seen in standard analysis based on human markup,\nC_LIO_LIAutomatic spike detection can shorten the IED identification process.\nC_LI
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 28
- FWCI
- 2.08
- Field percentile
- top 13%
- Organism
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Towards the automated detection of interictal epileptiform discharges with magnetoencephalography
Raquel Fernández-Martín, Odile Feys, … Vincent Wens·Journal of Neuroscience MethodsPeer-reviewed·Dec 25, 2023
- Fast parametric curve matching (FPCM) for automatic spike detection
Daria F. Kleeva, Gurgen A. Soghoyan, … Alexei E. Ossadtchi·Journal of Neural EngineeringPeer-reviewed·Apr 19, 2022
- Fully Automated EEG Source Imaging Using Structured Sparsity for Single and Multiple Synchronous Epileptic Activities
Matthieu Aud'hui, Amar Kachenoura, … Pascal Benquet·Brain TopographyPeer-reviewed·May 7, 2026
- Automated Electrodes Detection during simultaneous EEG/fMRI
Mathis Fleury, Christian Barillot, … Pierre Maurel·Frontiers in ICTPeer-reviewed·Jan 13, 2019
- Dissociating physiological ripples and epileptiform discharges with vision transformers
Da Zhang, Jonathan K. Kleen·bioRxiv·Apr 11, 2025
- Computer-assisted EEG diagnostic review for idiopathic generalized epilepsy
Shannon Clarke, Philippa J. Karoly, … Wendyl Jude D'Souza·Epilepsy & BehaviorPeer-reviewed·Oct 29, 2019