| Literature DB >> 35846889 |
Gabriella Tamburro1,2, Katrien Jansen3, Katrien Lemmens3, Anneleen Dereymaeker3, Gunnar Naulaers3, Maarten De Vos3,4, Silvia Comani1,2.
Abstract
Background: Artefact removal in neonatal electroencephalography (EEG) by visual inspection generally depends on the expertise of the operator, is time consuming and is not a consistent pre-processing step to the pipeline for the automated EEG analysis. Therefore, there is the need for the automated detection and removal of artefacts in neonatal EEG, especially of distinct and predominant artefacts such as flat line segments (mainly caused by instrumental error where contact between electrodes and head box is lost) and large amplitude fluctuations (related to neonatal movements). Method: A threshold-based algorithm for the automated detection and removal of flat line segments and large amplitude fluctuations in neonatal EEG of infants at term-equivalent age is developed. The algorithm applies thresholds to the absolute second difference, absolute amplitude, absolute first difference and the ratio between the frequency content above 50 Hz and the frequency content across all frequencies.Entities:
Keywords: Automated artifact detection; Flat lines; Large amplitude fluctuations; Neonatal EEG
Year: 2022 PMID: 35846889 PMCID: PMC9285485 DOI: 10.7717/peerj.13734
Source DB: PubMed Journal: PeerJ ISSN: 2167-8359 Impact factor: 3.061
Figure 1Examples of flat line segment and large amplitude fluctuations in neonatal multichannel EEG recordings.
(A) Example of a flat line segment in patient 3 of Dataset 3. (B) Example of large amplitude fluctuations in patient 4 of Dataset 3. Scale is 100 μV.
Summary of the relevant information on the three datasets.
For each dataset, the table includes: the number of EEG recordings; the number of EEG recordings selected for the present study; the number of EEG channels in the recordings; the sampling frequency of the EEG recordings; the neonatal postmenstrual age (PMA) at the time of recording; the duration of the EEG recordings; the number of EEG recordings contaminated by flat line segments; the number of EEG recordings contaminated by large amplitude fluctuations and availability of annotations for flat line segments and large amplitude fluctuations. Data for PMA and recording duration are provided as median [interquartile range].
| Dataset 1 | Dataset 2 | Dataset 3 | |
|---|---|---|---|
| Number of EEG recordings | 79 | 136 | 16 |
| Number of selected EEG recordings | 22 | 9 | 16 |
| Number of EEG channels | 19 | 8 | 9 |
| Sampling frequency (Hz) | 256 | 250 | 250 |
| PMA (weeks) | 41.00 [39.50–42.50] | 39.07 [37.00–40.71] | 40.36 [39.93–41.50] |
| Duration of EEG recording (minutes) | 74.92 [62.98–83.30] | 300.00 [300.00–300.00] | 1,004.59 [890.21–1050.71] |
| Number of EEG recordings contaminated by flat lines | 20 | 0 | 5 |
| Number of EEG recordings contaminated by large amplitude fluctuations | 22 | 8 | 16 |
| Annotations | No | No | No |
Figure 2Flowchart of the algorithm for the automated detection of flat line segments and large amplitude fluctuations in neonatal multichannel EEG recordings.
In the figure, mad stands for median absolute deviation.
Figure 3Examples of the thresholds used for the selection of the artefactual segments for one patient and channel O2.
(A) Absolute second difference (ASD) in 10−3 μV (random 50 s segment, zoomed-in). (B) Maximal absolute first difference (MAFD) in μV for window length of 3 s. (C) Maximal absolute amplitude (MAA) in μV for window length of 3 s. (D) Ratio of frequency content (RFC) in 10−4% for window length of 3 s. The red horizontal lines represent the threshold levels.
Extended confusion matrix.
The extended confusion matrix is used to test the performance of the four-stage sleep classifier before and after applying the proposed algorithm to remove flat line segments and large amplitude fluctuations. A, B, C and D are used for illustrative purposes and correspond to the four sleep stages.
| Predicted sleep stage | Sum | Sensitivity (one | |||||
|---|---|---|---|---|---|---|---|
| LVI | ASI | HVS | TA | ||||
| True sleep stage |
| AA | AB | AC | AD |
|
|
|
| BA | BB | BC | BD |
|
| |
|
| CA | CB | CC | CD |
|
| |
|
| DA | DB | DC | DD |
|
| |
| Sum |
|
|
|
|
| ||
| Precision (one |
|
|
|
|
| ||
Note:
LVI, Low Voltage Irregular; ASI, Active Sleep I; HSV, High Voltage Slow; TA, Tracé Alternant.
Summary of statistics-based validation results.
The table includes: the window duration (in seconds), the number of EEG recordings across which the median was calculated (N); the median accuracy; the median hit rate (HR); the median false discovery rate (FDR); the median of the product between accuracy and HR (Acc*HR). For each metric, the best median values are marked in bold and the median values that are statistically different from the best value are marked with an asterisk (*).
| Window duration (s) |
| Accuracy | HR | FDR | Acc*HR |
|---|---|---|---|---|---|
| 1 | 16 |
| 0.83* |
| 0.76 |
| 2 | 16 | 0.93 | 0.88 | 0.30 | 0.79 |
| 3 | 16 | 0.91 | 0.91 | 0.37 |
|
| 4 | 16 | 0.86 | 0.95 | 0.49 | 0.80 |
| 5 | 16 | 0.83* | 0.96 | 0.54 | 0.77 |
| 6 | 16 | 0.81* | 0.95 | 0.55* | 0.75 |
| 7 | 16 | 0.79* |
| 0.60* | 0.74 |
Wilcoxon rank sum test results.
The table compares the accuracy, mean precision, mean sensitivity and mean confidence of the four-stage sleep classifier before and after removing, by applying our proposed algorithm, flat line segments (FL) and large amplitude fluctuations (LA) with windows of 2 and 3 s duration. The table includes: the number of observations (i.e., the sixteen EEG recordings present in Dataset 3) (N); the median of the considered statistical measure; the rank sum test statistic; the Z-statistic; the corresponding p-value and the effect size. The best median value of each statistical measure and the significant differences (i.e., p-value ≤ 0.05) are marked in bold.
| Statistical measure | Window duration (s) | Before/after FL & LA removal |
| Median | Rank sum test statistic | Z-statistic |
| |
|---|---|---|---|---|---|---|---|---|
| Accuracy | 2 | Before | 16 | 39.05 | 335 | 2.66 |
| 0.22 |
| After | 16 | 49.68 | ||||||
| 3 | Before | 16 | 39.05 | 340 | 2.85 |
| 0.25 | |
| After | 16 |
| ||||||
| Mean precision | 2 | Before | 16 | 44.45 | 317 | 1.98 |
| 0.12 |
| After | 16 | 53.83 | ||||||
| 3 | Before | 16 | 44.45 | 319 | 2.05 |
| 0.13 | |
| After | 16 |
| ||||||
| Mean sensitivity | 2 | Before | 16 | 72.36 | 269 | 0.17 | 0.87 | 0.0009 |
| After | 16 | 73.19 | ||||||
| 3 | Before | 16 | 72.36 | 276 | 0.43 | 0.66 | 0.0059 | |
| After | 16 |
| ||||||
| Mean confidence | 2 | Before | 16 | 35.13 | 344 | 3.00 |
| 0.28 |
| After | 16 | 42.81 | ||||||
| 3 | Before | 16 | 35.13 | 345 | 3.03 |
| 0.29 | |
| After | 16 |
|