American Journal of Signal Processing
p-ISSN: 2165-9354 e-ISSN: 2165-9362
2013; 3(2): 25-34
doi:10.5923/j.ajsp.20130302.02
Sahbi Chaibi1, Tarek Lajnef1, Zied Sakka1, Mounir Samet1, Abdennaceur Kachouri1, 2
1Sfax University, National Engineering School of Sfax, LETI Laboratory, ENIS BPW 3038- Sfax, Tunisia
2Gabes University, ISSIG: Higher Institute of Industrial Systems, Gabes CP 6011, Tunisia
Correspondence to: Sahbi Chaibi, Sfax University, National Engineering School of Sfax, LETI Laboratory, ENIS BPW 3038- Sfax, Tunisia.
| Email: | ![]()  | 
Copyright © 2012 Scientific & Academic Publishing. All Rights Reserved.
High Frequency Oscillations (HFOs) in the range of 80-500Hz seem to be a reliable biomarker of tissue capable of producing seizures. Visual marking of HFOs related to long duration/multi channel EEG data is extremely tedious, highly time-consuming and inevitably subjective. Therefore, automated and reliable detection of HFOs is much more efficient. The purpose of the present study is to improve in the first stage three existing HFOs detectors (CMV, MP, BMT), and subsequently compare them on the same database. Our main findings are summarized as follows: The efficiency of methods depends on the required sensitivity and the False Discovery Rate (FDR). First, if the required sensitivity below 87% is sufficient for the intended application, CMV method could perform well in terms of low false detection rate (FDR<14%). Secondly, if the application requires a sensitivity between 87% and 92%, the three methods could perform in a similar way in terms of performance, which approximately corresponds to an FDR in the range of 14-19%. Finally, if a high sensitivity is required (92% up to 98%), BMT based method can be considered the most efficient and leads to significantly lower FDR values (19% to 23%) compared to other methods.
Keywords: Epilepsy, High frequency oscillations (HFOs), Intracereberal Electroencephalography (iEEG), Complex MORLET wavelet (CMW), Matching Pursuit (MP), Bumps Modeling Technique (BMT)
Cite this paper: Sahbi Chaibi, Tarek Lajnef, Zied Sakka, Mounir Samet, Abdennaceur Kachouri, A Comparaison of Methods for Detection of High Frequency Oscillations (HFOs) in Human Intacerberal EEG Recordings, American Journal of Signal Processing, Vol. 3 No. 2, 2013, pp. 25-34. doi: 10.5923/j.ajsp.20130302.02.
 is firstly computed using the complex MORLET wavelet 
 [2,17].
 is defined as follows:![]()  | (1) | 
 represents the central frequency of the mother wavelet 
. The standard deviation 
 of the gaussian window used here is set to 1. The wavelet family is chosen so that the ratio of its center frequency to bandwidth is equal to 7, which corresponds to a good HFOs legibility and lead to the highest correlation coefficients with HFOs events. This choice according to the following equation:![]()  | (2) | 
. The relationship between 
 and 
 is defined as follows:![]()  | (3) | 
 defined above in equation.1, can be scaled by a factor 
  and translated by an amount b  in time as follows:![]()  | (4) | 
 is known as a daughter wavelet. Scale 
 is related to a pseudo-frequency 
, according to the following relationship:  ![]()  | (5) | 
 is the sampling period and 
 is equal to (7/2π) in our case. The wavelet power 
 is then computed as follows:![]()  | (6) | 
 is computed from wavelet power 
 by transforming scale a into integer pseudo-frequency f using equation.5 and replacing b by the sample 
 Pseudo frequency values ranging from 80Hz up to 500Hz with a step of 5Hz were used. 
 represents a three-dimensional map described in time (x-axis), pseudo-frequency (y-axis), and coefficient values (z-axis) in dB. Afterwards, to improve the localization of HFO events and to reduce noise impacts, time frequency map is subsequently smoothed using a robust smoothn function described in[18]. More details about this function are available at: http://www.biomecardio.com/matlab/smoothn.html.If an HFO is present, then it will create a local maximum (also called burst) in the power coefficients map 
. For each burst exceeds a power threshold, the location of its maximum amplitude is determined, which automatically corresponds to a frequency 
.For 
 delimit the portion of the considered burst above the power threshold 
 Where 
 represents the corresponding power threshold which is a function of the pseudo frequency, and 
 is a setting factor. Finally, If the temporal width 
 exceeds a duration 
 which is expressed in equation.7. Then, the temporal width 
 can be detected as a candidate HFO. The frequency 
 can characterize the detected HFO if a ripple or fast ripple. 
 is the number of wave-cycles  is fixed at 3, 
 is the frequency of the detected burst, and 
 is the sampling frequency.![]()  | (7) | 
 which can be expressed as follows:![]()  | (8) | 
, that are respectively: the frequency 
 is used to quantify the frequency in (Hz) of the HFO burst. The time occurrence 
 in (sample) is used to characterize the central timing of the HFO event. The scale 
 (in sample) approximates the duration of the HFO pattern. The phase 
 in (rad) corresponds to the phase of the HFO. Where 
 is the sampling frequency. 
 is chosen so that 
.At the ith iteration (i =1..... M), a best-match atom 
 is selected from dictionary D, which maximizes the correlation with the residual 
. Where 
 is the original signal and L its length. The procedure can be described by:![]()  | (9) | 
 is derived from 
 through the following equation:![]()  | (10) | 
 can be obtained by subtracting 
 from the previous residual 
![]()  | (11) | 
).represents the energy percentage of the synthesized signal compared to the input original signal. The synthesized signal is the sum of the extracted weighted Gabor atoms
. Definition of the 
 parameter is according to the following equation:![]()  | (12) | 
 is the original signal.A given signal cannot be perfectly synthesized by few atoms. Too few atoms (low 
 value) could miss some true oscillations have low amplitudes (for example a Fast Ripple pattern), while too many atoms (high 
 value) will end up in the last iterations as correction atoms (come from jumps, vertex waves, sharp waves, linearity…etc) which can be misclassified as true HFOs. In the fact, the main limitation for using   parameter as an input setting for training our MP algorithm, that in last iterations when HFOs bursts have low amplitudes a
nd low energies are going to be extracted by MP decomposition, the noise can be modeled by lengthy Gabor atoms have low amplitudes and significant energies. Therefore, noise has the priority to be modeled as spurious HFOs events compared to numerous relevant HFOs have both low energies and amplitudes together. That could increase the false detection rate. Thus, P parameter should be diminished, which would also decrease the sensitivity. Another robust criterion was chosen for the detection of HFOs using MP, is to fit the signal in the first step with a high value of energetic parameter (P=99.99%), so that all relevant HFOs events can be extracted. Subsequently, a filtering MP in HFO band (80-500Hz) is applied.  Each putative Gabor atom in the HFO band must satisfy the two following conditions to be as a candidate HFO: its amplitude (represents the input setting in the current study) must exceed a fixed threshold (its amplitude >
 and its scale must also exceed a duration threshold which is equal to 
. Where f is the assessed frequency of the considered Gabor atom, 
 is the sampling frequency and c is the number of wave cycles is set to 3. Finally, as a final step, the grouping of overlapped detected Ripples and Fast Ripples into a single HFO event is done.
![]()  | (13) | 

 and  
 are the coordinates of the center of the half-ellipsoid function. 
 and 
 are the half-lengths of the principal axes along the frequency and time axes respectively, and 
 is its amplitude.![]()  | (14) | 
![]()  | (15) | 
 of a wavelet at that frequency is defined as:![]()  | (16) | 
 of the wavelet is also equal to 8π/7.![]()  | (17) | 
![]()  | (18) | 
 centered at that point is obtained. Due to boundaries effect in time-frequency map, the section of signal to be modeled must start with a fixed duration equal to (Fs.(N/2*fl)) before the useful part of the signal and stopped after it with the same duration. The lowest frequency must be started with frequency 
 and the highest frequency must be stopped at 
 where 
 is set to 400 Hz and 
 is set to 80 Hz.![]()  | (19) | 
 is adapted, starting with a bump extending over the whole area of the window. Thus, the bump function has five parameters, subject to the following constraints:- 
 are represent the center of the bump lies within the window Wmax.- 
 where L and H are the height and width of the window Wmax as defined by equation.15 and equation.18.- Amplitude a > 0.The adaptation phase is performed across the cost function E to be optimized based on the modeling error of the bump, defined by the sum of squared errors. The cost function is defined as follows:![]()  | (20) | 
 under consideration for instance.When the bump is finally adapted, it is subtracted from the original time-frequency map, and the process is iterated with the next bump. The procedure of bumps decomposition    is done across Butlf toolbox[24,25] decomposition available at:http://www.bsp.brain.riken.jp/~fvialatte/bumptoolbox/toolbox_home.Thus, each modeled bump is restricted to one biologically HFO oscillation with duration of three periods. Longer oscillations will be modeled by two bumps or more (non-overlapping or overlapping).
 must be included in HFO band (80-400Hz), and its fraction ratio F is defined in equation.21 should exceed a threshold (Fc). Fc is considered as the input parameter for training the current method (if F>Fc, Bump is considered as a candidate HFO, else is rejected). The fraction ratio (F) of the intensity modeled by a one given bump to the total intensity of the map is computed as follows:![]()  | (21) | 
![]()  | (22) | 
![]()  | (23) | 
. The input parameters are respectively: the power threshold 
 for CMOR wavelet based method, the amplitude threshold of Gabor atoms 
 for MP method and the fraction ratio threshold 
 for Bumps method. During the training, the varying input parameter was considered optimal when the discrimination between undesirable (spurious HFOs) and desirable events (detected positives) was maximized as much as possible. That means the difference between the sensitivity and the FDR should be maximized. The choice of this criterion is clearly justified by Rahul et al[2].As is shown in figure.1, the optimal tradeoff between the sensitivity and the FDR for each method is indicated by the proper dash arrow for each curve. The table.1 illustrates a summarization of different results of the performance measure. The comparison is also done between our results and previous studies. Trapezoidal numerical integration method was used to determine the area under the ROC curves (AUC), the obtained AUC were respectively: 0.9406, 0.8496 and 0.9116. 
  | 
![]()  | Figure 1. ROC curves of different methods: Optimal performance (best tradeoff) is indicated by the proper dash arrow for each curve | 
![]()  | Figure 2. A snapshot of HFOs detection using CMOR wavelet. Optimal configuration for the power threshold: K1=2.1 | 
![]()  | Figure 3. A snapshot of HFOs detection using Matching pursuit. Optimal configuration for the amplitude threshold of Gabor atoms: =5µv | 
![]()  | Figure 4. A snapshot of HFOs detection using Bumps modeling technique. Optimal configuration for the Fraction ratio threshold is set to: Fc =0.00003 |