Next Article in Journal
Passive Landmark Geometry Optimization and Evaluation for Reliable Autonomous Navigation in Mining Tunnels Using 2D Lidars
Next Article in Special Issue
Utility of Cognitive Neural Features for Predicting Mental Health Behaviors
Previous Article in Journal
Evaluation of Corrosion Damage in Sulfate-Attacked Concrete by CT, Ultrasonic Pulse Velocity Testing and AHP Methods
Previous Article in Special Issue
Emotion Self-Regulation in Neurotic Students: A Pilot Mindfulness-Based Intervention to Assess Its Effectiveness through Brain Signals and Behavioral Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Modified Time-Frequency Marginal Features for Detection of Seizures in Newborns

1
Faculty of Engineering & IT, Foundation University Islamabad, Islamabad 46000, Pakistan
2
Department of Electrical Engineering, University of Engineering and Technology, Peshawar 25000, Pakistan
3
Department of Information and Communicaiton, Yeungnam University, Gyeongsan 38541, Korea
*
Author to whom correspondence should be addressed.
Submission received: 3 March 2022 / Revised: 6 April 2022 / Accepted: 11 April 2022 / Published: 15 April 2022
(This article belongs to the Special Issue Biomedical Signal Acquisition and Processing Using Sensors)

Abstract

:
The timely detection of seizure activity in the case of newborns can help save lives. Clinical signs of seizures in newborns are difficult to observe, so, in this study, we propose an automated method of detecting seizures in newborns using multi-channel electroencephalogram (EEG) recording acquired from 36 newborns admitted to Royal Women’s Hospital, Brisbane, Australia. A novel set of time-frequency marginal features are defined to detect seizure activity in newborns. The proposed set is based on the observation that EEG seizure signals appear either as a train of spikes or as a summation of frequency-modulated chirps with slow variation in the instantaneous frequency curve. The proposed set of features is obtained by extracting the time-frequency (TF) signature of seizure spikes and frequency-modulated chirps by exploiting the direction of ridges in the TF plane. Based on extracted TF signature of spikes, the modified time-marginal is computed whereas based on the extracted TF signature of frequency-modulated chirps, the modified frequency-marginal is computed. It is demonstrated that features extracted from the modified time-domain marginal and frequency-domain marginal in combination with TF statistical and frequency-related features lead to better accuracy than the existing TF signal classification method, i.e., the proposed method achieves an F1 score of 70.93% which is 5% greater than the existing method.

1. Introduction

Timely detection of seizures in newborns can help to save lives [1]. Clinical signs of seizures in newborns are difficult to observe, so, in this study, we propose an automated method of detecting seizures in newborns using multi-channel electroencephalogram (EEG) recording. Seizure detection usually requires monitoring of electroencephalogram (EEG) signals by an expert neurophysiologist. So, there is a need to develop an automated seizure detection algorithm. Machine learning based seizure detection algorithms usually involve the extraction of features from signal representation followed by training of a classifier signal [2,3]. The performance of such methods mainly depends on the discriminatory performance of extracted features. For feature extraction, the following forms of signal representations can be used: (a) time-domain, (b) frequency-domain, and (c) joint time-frequency (TF) domain [4,5,6,7,8]. It has been demonstrated in earlier studies that extracting features from TF features generally leads to better performance than time-domain features or frequency domain features [9,10]. One alternative to extracting features from joint TF representations is to first employ signal decomposition methods such as empirical mode decomposition to decompose signals into their components and then extract features from each component separately [1,11,12].
Recently, deep learning methods are employed for the automated detection of seizures. These methods do not require domain knowledge of an analyst to define features; rather, deep learning architectures automatically learn features from signal representation [13,14,15,16,17,18]. However, these methods usually require the availability of large databases.
We propose a novel approach to extracting features from joint TF representation. The proposed method is based on the observation that seizures either appear as a train of spikes or a summation of piece-wise linear frequency modulated chirps with slow variation in instantaneous frequency [6]. The TF signature of such signals is composed of ridges that are either aligned to the time axis or to the frequency axis [19,20]. The mathematical representation for a class of seizures that are modeled as a train of impulses is given as:
x ( t ) = n = 1 N δ ( t t n )
and the mathematical modulation of EEG seizures modeled as a summation of frequency-modulated chirps is given as:
x ( t ) = n = 1 N cos ( 2 π f 0 ( t ) t n )
where f o ( t ) is the instantaneous frequency of fundamental component. It is usually modeled as a piece-wise linear frequency modulated chirp [8]. To exploit this information, we extract features (a) from the modified time-marginal that extracts the time-domain signature of only spikes, (b) the modified frequency-marginal that extracts frequency-domain signatures of frequency-modulated chirps, and (c) from filtered TF representation that extracts the TF signature of seizure signals. Experimental results indicate that the proposed method achieves better performance than a state of the art in terms of F1-score. The proposed method achieves an F1-score of 0.709 whereas the F1-score of the existing method is 0.65 .
The organization of the remainder of the article is as follows. Section 2 presents details of the methodology for extracting the proposed features for seizure detection. To assess the performance of the seizure detection scheme, numerical results are presented in Section 3 and Section 4 concludes the article.

2. Methodology

Multi-channel EEG signals are acquired and signals from all channels are averaged to get the signal x ( t ) . The remaining process is performed on the averaged signal. The proposed system is illustrated in Figure 1 and the main steps are explained in the following sections.

2.1. Time-Frequency Analysis of EEG Signals

EEG signals, because of their non-stationary characteristics, are best analyzed in the joint TF domain using TF representations. Previous studies have shown that analyzing seizure signals in the joint TF domain reveals important features that can be used for their classification [21,22]. TF representations are generally classified into linear and quadratic classes [23]. We have employed quadratic TF representations because they represent the distribution of signal energy in the TF domain [23].
Wigner Ville distribution (WVD) is a core TF distribution of quadratic class defined as [24]:
W ( t , f ) = z ( t + τ 2 ) z ( t τ 2 ) e j 2 π f τ d τ
where z ( t ) is the analytic associate of a real-life signal x ( t ) . The WVD has high energy concentration for mono-component linear frequency modulated signals but it produces cross-terms for multi-component and non-linear frequency modulated signals [23]. The cross-terms in the WVD are typically reduced by convolving them with signal-dependent or independent kernels [25].
In our earlier studies, we demonstrated that an effective method to reduce cross-terms in WVD is through the application of signal-dependent adaptive directional kernel whose principal direction is adjusted at each TF point. TFDs obtained as a result of adaptive directional smoothing are called adaptive directional time-frequency distributions (ADTFDs) [26].
ρ ( t , f ) = W ( t , f ) t f γ θ ( t , f ) ,
where γ θ ( t , f ) is given as:
γ θ ( t , f ) = a b 2 π e a 2 t θ 2 b 2 f θ 2 ( 1 a 2 k θ 2 )
where t θ = t cos ( θ ) + f sin ( θ ) and f θ = f cos ( θ ) t sin ( θ ) , θ is the direction of γ θ ( t , f ) , a determines the extent of smoothing along the major axis, and parameter b determines the extent. We adjust the direction of γ θ ( t , f ) at each TF point to align its principal direction with the major axis of ridges. The direction of principal axis of ridges is estimated as [26]:
θ ( t , f ) = arg max θ ρ ( t , f ) f f γ θ ( t , f ) ,
where θ is varied from 0 degree to 180 degree with the step size of 3 .
EEG seizure signals are modeled as either train of impulses or as the sum of harmonically related frequency modulated chirps, whereas background appears as noise. To enhance discriminatory characteristics of seizures, EEG signals are first pre-processed through differentiator filter [27] as: d d t x ( t ) . This differentiation implementation can be implemented digitally as x ( n ) x ( n 1 ) . Let us analyze two types of EEG seizure signals and EEG background signals in the joint TF domain using the ADTFD. Figure 2a illustrates a TF representation of EEG seizure signal with spiky characteristics, Figure 2b illustrates TF representation of seizure signal composed of frequency-modulated chirps, and Figure 2c illustrates TF representation of non-seizure signal.
It is observed that the TF signature of EEG seizures is composed of ridges that are either aligned to the time axis due to spikes or aligned to the frequency axis due to frequency-modulated chirps. However, in the case of background ridges, they can follow any random direction.

2.2. Modified Time-Marginal and Frequency-Marginal Features

In this study, we develop a novel approach to compute modified time-marginal and modified frequency marginal for extracting features from EEG signals. From TFDs, that satisfy marginal properties, time-marginal can be estimated from TFD as [23]:
z ( t ) 2 = ρ ( t , f ) d f
or similarly, frequency-marginal can be estimated as:
z ( f ) 2 = ρ ( t , f ) d t
We define modified marginals to extract the time-domain signature of epileptic spikes or frequency-domain signatures of frequency-modulated chirps.

2.2.1. Time Marginal Feature

Let us define a TF distribution, i.e., ( ρ t ( t , f ) ) , that preserves only those ridges that are aligned to the frequency axis and has 0 value for all other TF points [28].
ρ t ( t , f ) = ρ ( t , f ) 80 < θ ( t , f ) < 100 ρ t ( t , f ) = 0 otherwise
The time-domain signature of spikes can then be extracted from ρ t ( t , f ) :
s ( t ) = ρ t ( t , f ) d f ,
Let us consider a TF signature of EEG seizure signal with spiky characteristics as shown in Figure 3a. The TF signature of spikes is extracted by ρ t ( t , f ) as shown in Figure 3b. The time-domain marginals obtained from ρ ( t , f ) and ρ t ( t , f ) are illustrated in Figure 3c. Note that time-marginal obtained from ρ ( t , f ) contains energy from both spike and tone components whereas the time-marginal obtained from ρ t ( t , f ) only has energy from spikes.
Note that s ( t ) only contains spike components. We estimate the features from time-domain marginal of s ( t ) by dividing them into 4 non-overlapping equal segments and then estimating energy in each segment as:
T k = 2 k 2 ( k + 1 ) s ( t ) d t ,
where k = 0 , 1 , 2 , 3 .

2.2.2. Frequency Marginal Feature

We adopt a similar approach to extract modified frequency-marginal. Let us define a TF representation that preserves ridges aligned with time-axis
ρ f ( t , f ) = ρ ( t , f ) θ ( t , f ) < 10 or θ ( t , f ) > 170 ρ f ( t , f ) = 0 otherwise
We extract the frequency-domain marginal as:
s ( f ) = ρ f ( t , f ) d t
We define features from modified frequency-domain marginal, i.e., s ( f ) , by estimating energy from the sub-bands (0 Hz to 1 Hz), (1 Hz to 2 Hz), (2 Hz to 3 Hz), (3 Hz to 4 Hz), (4 Hz to 8 Hz), and (8 Hz to 16 Hz). The modified frequency marginal features are given in Table 1.

2.3. Time-Frequency Statistical and Time-Frequency Signal Features

Let us define the TFD that preserves ridges that are either aligned to the time axis or the ridges that are aligned along the frequency axis [20], i.e.,
ρ FIL ( t , f ) = ρ t ( t , f ) + ρ f ( t , f ) .
Figure 4 illustrates ρ FIL ( t , f ) and ρ ( t , f ) for both background and seizure signals. It is observed that for seizure signals ρ FIL ( t , f ) ρ ( t , f ) . However, for EEG background, ρ FIL ( t , f ) is significantly different from ρ ( t , f ) .
Based on this observation, we employ ρ FIL ( t , f ) instead of ρ ( t , f ) for extracting TF statistical [9] and TF signal [9] related features. The list of features along with their respective formula are given in Table 2. The importance of each feature in the process of classification is found based on the decrease in accuracy when that feature is removed from the classification. The findings are presented in Section 3.3.

3. Experimental Results

3.1. Database Description

We have used a multi-channel newborn EEG database that is described in [4,29,30] and was made publicly available along with relevant codes at https://github.com/ElsevierSoftwareX/SOFTX-D-17-00059 (accessed on 1 November 2019). The database was acquired from 36 newborns using a 10–20 international electrode placement system at sampling frequency of 256 Hz. The marking of the channels is illustrated in Figure 5, which shows the possible placements of the electrodes. For each location, the first letter identifies the lobe whereas the second number or letter identifies the hemisphere location. The letters F, T, C, P, and O stand for Frontal, Temporal, Central, Parietal, and Occipital. The right hemisphere is represented by even numbers whereas odd numbers represent the left hemisphere. The z refers to an electrode placed on the mid-line. The signals were acquired at Royal Women’s Hospital Brisbane by an expert pediatric neurologist. The database was annotated for seizure, artifacts, and normal background patterns. Ethical approval was given by Royal Brisbane and Women’s Hospital (RBWH), Medical Research Ethics Committee (MREC), Brisbane, Australia [31]. The durations of background, seizures, and artifacts are 6 h, 5.16 h, and 5.04 h, respectively. EEG signals are segmented into non-overlapping segments of 8 s. The recorded dataset was divided into non-overlapping segments of duration 8-s. This database contains a total of 7290 segments including 2332 segments of seizures.
Each segment was labeled as 1 if seizure activity was observed and 0 if no seizure activity was observed. We analyzed the dataset and observed that approximately 78 percent seizure activity takes place below 4 Hz, 15 percent in between 4 Hz and 8 Hz, and 5.5 percent from 8 Hz to 12 Hz. Based on these observations, the signal is downsampled to 32 Hz to reduce the computational load. A snapshot of multi-channel EEG seizure signals is given in Figure 6.

3.2. Results and Discussion

In earlier studies, two alternate approaches of feature extraction from multi-channel EEG signals were proposed. The first approach converts multi-channel EEG recordings into the single channel through spatially averaging whereas the second approach converts extract features from each channel separately and then finally spatially averages the extracted features. In this study, we adopted the former approach to reduce computational costs. Illustrations of averaged and downsampled EEG signals just before the start of seizure signal and just after seizure signal are shown in Figure 7.
Let us now apply the proposed methodology to detect seizures in newborns. Cross-validation is performed using the leave-one-out approach where testing is performed by using EEG recordings of one patient while the EEG recordings of the remaining patients are used for training. This process is repeated until all patients are tested. We use equal examples of seizure and non-seizure segments from the training set. In order to reduce false positives, we first apply a 5-tap median filter, i.e., a given segment is classified as a seizure segment if a seizure appears in at least three out of five segments. The application of this median filter removes seizures appearing at the boundaries, thus reducing the overall sensitivity of the system. To improve the sensitivity, we extend the boundary by 8 s at each end. An illustration of the detected vs. original seizure using the balanced dataset is given in Figure 8.
For the same EEG recording, Figure 9 illustrates the plot of extracted features.

3.3. Discussion

Let us compare the performance of the proposed ADTFD-based TF features with the large set of TF features that include TF signal related features, TF image related features, TF Harlic features, and time-scale features proposed in [4]. This large set of features is extracted using Compact Kernel TFD (CKD), Spectrogram (SPEC), and Extended modified B distribution (EMBD). We have used F1-measure, sensitivity, total accuracy, specificity, and precision as criteria for performance comparison. The experimental results given in Table 3 indicate that the F1-score obtained by the proposed method is 70.93%, which is 5% greater than the results obtained by the next best method.
The importance of each feature in the random forest classifier is given in Figure 10. The importance of each feature is computed based on the decrease in accuracy when that feature is removed from the classification.
Experimental results indicate that the proposed approach of exploiting direction of ridges for extracting features from modified time-marginal, modified frequency-marginal, and filtered TF representation has significantly improved the classification accuracy and F1-score, e.g., the proposed method achieves the F1 score of 70.9%, which is 5% greater than the F1-score achieved by the next best method. These improved results are important as timely detection of seizures in newborns through an automated classification system can help save lives. The proposed approach is based on the observation that seizures either appear as a train of impulses or as a summation of harmonically related frequency modulated chirps, whereas in the case of background, ridges can follow any random directions. Based on these observations, a novel TF pre-processing method is developed where only those ridges that are either parallel to the time axis or parallel to the frequency axis are retained to extract TF signatures of seizures. The extracted TF signature is used to define novel features that lead to better accuracy than existing TF features. The proposed approach for the detection of seizure activity by extracting a signal of interest in the TF domain is not limited to the detection of seizures but can be adapted for the detection of abnormalities in a wide range of physiological signals, such as electrocardiogram signals.
The limitations of this study are as follows:
  • High computational cost: The proposed approach is computationally expensive as it requires the computation of ADTFD with complexity of O ( N 2 log ( N ) + R M 2 N 2 ) , where M is the size of the smoothing filter, N is the number of samples in a given segment, and R is the number of quantization levels. Note that the complexity of quadratic TFDs used in the earlier study was O ( N 2 log ( N ) ) .
  • For detection of seizures in multi-channel recordings, the better classification results are obtained by first extracting features from each channel separately and then reducing the dimension of features through dimensionality reduction approaches as compared to first combining all channels through averaging followed by feature extraction. Due to the high computational cost of the proposed method, we first combined all channels through averaging and then extracted features from the single combined channel. In the future, we will further improve the performance of our method through feature averaging.
  • In this study, we used the EEG segment of 8-s duration sampled at 32 Hz for the detection of seizure activity. However, the results can be improved by using longer segments of EEG segments.
  • Artifact detection and removal: Sometimes the machine learning algorithm wrongly detects artifacts as EEG seizures; this causes false positives. A number of artifact detection and removal systems have been developed. We can improve the performance of the proposed method by integrating artifact detection and removal system as a preprocessing step.

4. Conclusions

A novel set of TF features are defined for the classification of EEG signals. The proposed set of features is obtained by defining a TFD that extracts the TF signatures of seizures based on the direction of ridges; e.g., ρ FIL ( t , f ) , ρ t ( t , f ) , and ρ f ( t , f ) . Modified time-marginal features are extracted by projecting the TF signature of seizures with spike characteristics to the time axis and modified frequency-marginal features are extracted by projecting the TF signature of seizures composed of frequency-modulated chirps to the frequency axis. Features from both modified time-marginal and modified frequency-marginals are extracted in addition to TF statistical features, energy concentration measure, TF flux, and TF flatness, which are extracted from filtered TF representation obtained by preserving ridges aligned to the time axis or frequency axis, i.e., ρ FIL ( t , f ) . Experimental results indicate that the proposed set of TF features leads to better performance by achieving an F1-score of 70.93%, which is 5% greater than the existing EEG seizure detection algorithm based on TF feature extraction. In this study, we used segments of 8-second duration for feature extraction and classification. As part of the feature study, we will explore larger segments of seizures to improve the classification accuracy. In addition, an automated integrating artifact detection and removal system will be integrated as a pre-processing step to minimize false positives.

Author Contributions

N.A.K.: conceptualization, methodology, writing—original draft preparation, software, formal analysis, investigation. S.A.: visualization, writing—original draft preparation, writing—reviewing and editing, formal analysis, conceptualization. K.C.: funding acquisition, supervision, project administration. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Research Foundation of Korea (NRF) grant funded by the Korean Government (MSIT) under Grant 2021R1A2C1010370.

Institutional Review Board Statement

Ethical approval was given by Royal Brisbane and Women’s Hospital (RBWH), Medical Research Ethics Committee (MREC), Brisbane, Australia.

Informed Consent Statement

Informed consent was obtained by the data provider.

Data Availability Statement

We have used a multi-channel newborn EEG database that is described in [4,29,30] and was made publicly available along with relevant codes at https://github.com/ElsevierSoftwareX/SOFTX-D-17-00059 (accessed on 1 November 2019).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Anuragi, A.; Sisodia, D.S.; Pachori, R.B. Epileptic-seizure classification using phase-space representation of FBSE-EWT based EEG sub-band signals and ensemble learners. Biomed. Signal Process. Control 2022, 71, 103138. [Google Scholar] [CrossRef]
  2. Açıkoğlu, M.; Tuncer, S.A. Incorporating feature selection methods into a machine learning-based neonatal seizure diagnosis. Med. Hypotheses 2020, 135, 109464. [Google Scholar] [CrossRef] [PubMed]
  3. Ahmed, R.; Temko, A.; Marnane, W.P.; Boylan, G.; Lightbody, G. Exploring temporal information in neonatal seizures using a dynamic time warping based SVM kernel. Comput. Biol. Med. 2017, 82, 100–110. [Google Scholar] [CrossRef] [PubMed]
  4. Boashash, B.; Ouelha, S. Designing high-resolution time-frequency and time-scale distributions for the analysis and classification of non-stationary signals: A tutorial review with a comparison of features performance. Digit. Signal Process. 2018, 77, 120–152. [Google Scholar] [CrossRef]
  5. Tzallas, A.T.; Tsipouras, M.G.; Fotiadis, D.I. Epileptic seizure detection in EEGs using time–frequency analysis. IEEE Trans. Inf. Technol. Biomed. 2009, 13, 703–710. [Google Scholar] [CrossRef]
  6. Tapani, K.T.; Vanhatalo, S.; Stevenson, N.J. Time-varying EEG correlations improve automated neonatal seizure detection. Int. J. Neural Syst. 2019, 29, 1850030. [Google Scholar] [CrossRef] [Green Version]
  7. Temko, A.; Thomas, E.; Marnane, W.; Lightbody, G.; Boylan, G. Performance assessment for EEG-based neonatal seizure detectors. Clin. Neurophysiol. 2011, 122, 474–482. [Google Scholar] [CrossRef] [Green Version]
  8. Stevenson, N.; Toole, J.O.; Rankine, L.; Boylan, G.; Boashash, B. A nonparametric feature for neonatal EEG seizure detection based on a representation of pseudo-periodicity. Med. Eng. Phys. 2012, 34, 437–446. [Google Scholar] [CrossRef] [Green Version]
  9. Boashash, B.; Azemi, G.; Khan, N.A. Principles of time–frequency feature extraction for change detection in non-stationary signals: Applications to newborn EEG abnormality detection. Pattern Recognit. 2015, 48, 616–627. [Google Scholar] [CrossRef] [Green Version]
  10. Boashash, B.; Khan, N.A.; Ben-Jabeur, T. Time–frequency features for pattern recognition using high-resolution TFDs: A tutorial review. Digit. Signal Process. 2015, 40, 1–30. [Google Scholar] [CrossRef]
  11. Bajaj, V.; Pachori, R.B. Classification of seizure and nonseizure EEG signals using empirical mode decomposition. IEEE Trans. Inf. Technol. Biomed. 2011, 16, 1135–1142. [Google Scholar] [CrossRef] [PubMed]
  12. Alam, S.S.; Bhuiyan, M.I.H. Detection of seizure and epilepsy using higher order statistics in the EMD domain. IEEE J. Biomed. Health Inform. 2013, 17, 312–318. [Google Scholar] [CrossRef] [PubMed]
  13. Hussein, R.; Palangi, H.; Ward, R.K.; Wang, Z.J. Optimized deep neural network architecture for robust detection of epileptic seizures using EEG signals. Clin. Neurophysiol. 2019, 130, 25–37. [Google Scholar] [CrossRef] [PubMed]
  14. Golmohammadi, M.; Ziyabari, S.; Shah, V.; Von Weltin, E.; Campbell, C.; Obeid, I.; Picone, J. Gated recurrent networks for seizure detection. In Proceedings of the 2017 IEEE Signal Processing in Medicine and Biology Symposium (SPMB), Philadelphia, PA, USA, 2 December 2017; pp. 1–5. [Google Scholar]
  15. Zhou, M.; Tian, C.; Cao, R.; Wang, B.; Niu, Y.; Hu, T.; Guo, H.; Xiang, J. Epileptic seizure detection based on EEG signals and CNN. Front. Neuroinformatics 2018, 95. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Ullah, I.; Hussain, M.; Aboalsamh, H. An automated system for epilepsy detection using EEG brain signals based on deep learning approach. Expert Syst. Appl. 2018, 107, 61–71. [Google Scholar] [CrossRef] [Green Version]
  17. O’Shea, A.; Lightbody, G.; Boylan, G.; Temko, A. Neonatal seizure detection from raw multi-channel EEG using a fully convolutional architecture. Neural Netw. 2020, 123, 12–25. [Google Scholar] [CrossRef] [PubMed]
  18. Caliskan, A.; Rencuzogullari, S. Transfer learning to detect neonatal seizure from electroencephalography signals. Neural Comput. Appl. 2021, 33, 12087–12101. [Google Scholar] [CrossRef]
  19. Khan, N.A.; Ali, S.; Choi, K. An instantaneous frequency and group delay based feature for classifying EEG signals. Biomed. Signal Process. Control 2021, 67, 102562. [Google Scholar] [CrossRef]
  20. Khan, N.A.; Ali, S. A new feature for the classification of non-stationary signals based on the direction of signal energy in the time-frequency domain. Comput. Biol. Med. 2018, 100, 10–16. [Google Scholar] [CrossRef]
  21. Boashah, B.; Mesbah, M. A time-frequency approach for newborn seizure detection. IEEE Eng. Med. Biol. Mag. 2001, 20, 54–64. [Google Scholar] [CrossRef]
  22. Boashash, B.; Barki, H.; Ouelha, S. Performance evaluation of time-frequency image feature sets for improved classification and analysis of non-stationary signals: Application to newborn EEG seizure detection. Knowl.-Based Syst. 2017, 132, 188–203. [Google Scholar] [CrossRef]
  23. Hlawatsch, F.; Boudreaux-Bartels, F. Linear and quadratic time-frequency signal representations. IEEE Signal Process. Mag. 1992, 9, 21–67. [Google Scholar] [CrossRef]
  24. Hlawatsch, F. Interference terms in the Wigner distribution. Digit. Signal Process. 1984, 84, 363–367. [Google Scholar]
  25. Akan, A.; Karabiber Cura, O. Time-frequency signal processing: Today and future. Digit. Signal Process. 2021, 119, 103216. [Google Scholar] [CrossRef]
  26. Khan, N.A.; Boashash, B. Multi-component instantaneous frequency estimation using locally adaptive directional time frequency distributions. Int. J. Adapt. Control. Signal Process. 2016, 30, 429–442. [Google Scholar] [CrossRef]
  27. Majumdar, K. Differential operator in seizure detection. Comput. Biol. Med. 2012, 42, 70–74. [Google Scholar] [CrossRef]
  28. Mohammadi, M.; Ali Khan, N.; Hassanpour, H.; Hussien Mohammed, A. Spike Detection Based on the Adaptive Time–Frequency Analysis. Circuits Syst. Signal Process. 2020, 39, 5656–5680. [Google Scholar] [CrossRef]
  29. Boashash, B.; Ouelha, S. Efficient software platform TFSAP 7.1 and Matlab package to compute Time–Frequency Distributions and related Time-Scale methods with extraction of signal characteristics. SoftwareX 2018, 8, 48–52. [Google Scholar] [CrossRef]
  30. Sejdic, E.; Falk, T.H. Signal Processing and Machine Learning for Biomedical Big Data; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
  31. Khlif, M.; Colditz, P.; Boashash, B. Effective implementation of time–frequency matched filter with adapted pre and postprocessing for data-dependent detection of newborn seizures. Med. Eng. Phys. 2013, 35, 1762–1769. [Google Scholar] [CrossRef]
Figure 1. Illustration of the proposed system for detection of seizures in newborn EEG signals.
Figure 1. Illustration of the proposed system for detection of seizures in newborn EEG signals.
Sensors 22 03036 g001
Figure 2. (a) EEG seizure composed of frequency modulated chirps, (b) EEG seizure composed of spike, (c) EEG background.
Figure 2. (a) EEG seizure composed of frequency modulated chirps, (b) EEG seizure composed of spike, (c) EEG background.
Sensors 22 03036 g002
Figure 3. (a) ρ ( t , f ) of EEG seizure composed of tone and spike, (b) ρ t ( t , f ) of the EEG seizure signal, (c) time-domain marginal.
Figure 3. (a) ρ ( t , f ) of EEG seizure composed of tone and spike, (b) ρ t ( t , f ) of the EEG seizure signal, (c) time-domain marginal.
Sensors 22 03036 g003aSensors 22 03036 g003b
Figure 4. (a) TF signature of EEG seizure signal composed of summation of spikes and low frequency component, (b) Extracted TF signature of seizure signal obtained by ρ FIL ( t , f ) . (c) TF signature of EEG background, (d) TF signature of EEG background obtained by ρ FIL ( t , f ) .
Figure 4. (a) TF signature of EEG seizure signal composed of summation of spikes and low frequency component, (b) Extracted TF signature of seizure signal obtained by ρ FIL ( t , f ) . (c) TF signature of EEG background, (d) TF signature of EEG background obtained by ρ FIL ( t , f ) .
Sensors 22 03036 g004aSensors 22 03036 g004b
Figure 5. The EEG system with 10–20 international electrode placement.
Figure 5. The EEG system with 10–20 international electrode placement.
Sensors 22 03036 g005
Figure 6. An example of the database showing seizure vs. background signals.
Figure 6. An example of the database showing seizure vs. background signals.
Sensors 22 03036 g006
Figure 7. (a) Averaged and downsampled EEG signal just before and after the start of seizure activity, (b) Averaged and downsampled EEG signal just before and after the start of seizure activity.
Figure 7. (a) Averaged and downsampled EEG signal just before and after the start of seizure activity, (b) Averaged and downsampled EEG signal just before and after the start of seizure activity.
Sensors 22 03036 g007
Figure 8. Original seizure mask (blue) vs. detected seizure (red).
Figure 8. Original seizure mask (blue) vs. detected seizure (red).
Sensors 22 03036 g008
Figure 9. Illustration of feature variation during seizure activity: (a) Frequency marginal related feature, i.e., F 1 , (b) Time-marginal related feature, i.e., T 1 , (c) Mean of ρ FIL ( t , f ) ( T F 1 ), (d) standard deviation of ρ FIL ( t , f ) ( T F 2 ) .
Figure 9. Illustration of feature variation during seizure activity: (a) Frequency marginal related feature, i.e., F 1 , (b) Time-marginal related feature, i.e., T 1 , (c) Mean of ρ FIL ( t , f ) ( T F 1 ), (d) standard deviation of ρ FIL ( t , f ) ( T F 2 ) .
Sensors 22 03036 g009
Figure 10. Importance of each feature. Note that F 1 , F 2 , F 3 , F 4 , and F 5 are modified frequency marginal features described in Table 1. T 1 , T 2 , T 3 , and T 4 are modified time-marginal features described in Equation (2). T F 1 , T F 2 , … T F 8 are TF features defined in Table 2.
Figure 10. Importance of each feature. Note that F 1 , F 2 , F 3 , F 4 , and F 5 are modified frequency marginal features described in Table 1. T 1 , T 2 , T 3 , and T 4 are modified time-marginal features described in Equation (2). T F 1 , T F 2 , … T F 8 are TF features defined in Table 2.
Sensors 22 03036 g010
Table 1. Modified frequency marginal features.
Table 1. Modified frequency marginal features.
S. NoFormula
1 F 1 = 0 1 s ( f ) df
2 F 2 = 1 2 s ( f ) df
3 F 3 = 2 3 s ( f ) df
4 F 4 = 3 4 s ( f ) df
5 F 5 = 4 8 s ( f ) df
6 F 6 = 8 16 s ( f ) df
Table 2. List of features along with their respective formula.
Table 2. List of features along with their respective formula.
S. NoName of FeatureFormula
1Mean [9] T F 1 = u = ρ FIL ( t , f ) d t d f
2Standard deviation [9] T F 2 = σ 2 = ρ FIL ( t , f ) u 2 dtdf
3Co-efficient of variation [9] T F 3 = σ u
4Skewness [9] T F 4 = ρ FIL ( t , f ) u 3 d t d f
5Kurtosis [9] T F 5 = ρ FIL ( t , f ) u 4 d t d f
6Flatness [9] T F 6 = 1 u t f ρ FIL ( t , f )
7Energy Concentration [9] T F 7 = ρ FIL ( t , f ) 1 / 2 dtdf
8Flux [9] T F 8 = d dt d df ρ FIL ( t , f ) dtdf
Table 3. Performance comparison using balanced dataset (i.e., equal examples of seizures and non-seizures).
Table 3. Performance comparison using balanced dataset (i.e., equal examples of seizures and non-seizures).
MethodSensitivitySpecificityAccuracyPrecisionF1-Score
ADTFD78.98%84.07%82.71%64.36%70.93%
CKD76.01%78.02%77.48%55.75%64.32%
EMBD75.24%78.49%77.62%56.03%64.23%
SPEC76.01%78.84%78.08%56.68%64.94%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Khan, N.A.; Ali, S.; Choi, K. Modified Time-Frequency Marginal Features for Detection of Seizures in Newborns. Sensors 2022, 22, 3036. https://0-doi-org.brum.beds.ac.uk/10.3390/s22083036

AMA Style

Khan NA, Ali S, Choi K. Modified Time-Frequency Marginal Features for Detection of Seizures in Newborns. Sensors. 2022; 22(8):3036. https://0-doi-org.brum.beds.ac.uk/10.3390/s22083036

Chicago/Turabian Style

Khan, Nabeel Ali, Sadiq Ali, and Kwonhue Choi. 2022. "Modified Time-Frequency Marginal Features for Detection of Seizures in Newborns" Sensors 22, no. 8: 3036. https://0-doi-org.brum.beds.ac.uk/10.3390/s22083036

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop