Parameters of the signal.

## Abstract

Wavelet transform filters the signal without changing the pattern of the signal. The transformation techniques have been applied to the continuous time domain signals. The chapter is devoted to the study of the EEG (ElectroEncephaloGram) Signal processing using Haar wavelet transform and Maximal overlap discrete wavelet transform (MODWT) for the analyzing of Epilepsy. Haar transform returns the approximation coefficients and detail coefficients. Detail coefficients are generally referred to as the wavelet coefficients and are a highpass representation of the input. In this chapter, with the help of Haar transform, the detailed coefficients of the input signal have been analyzed for the detection of Epilepsy. Maximal overlap discrete wavelet transform filters the noise coefficients of the input signal in each and every level, and it has displayed the filtered output signal.

### Keywords

- EEG
- Haar
- MODWT
- wavelet transform
- epilepsy

## 1. Introduction

EEG Signal processing is essential for the diagnosis of brain disorders. The brain EEG signal that has been acquired from the EEG equipment consists of noise disturbances such as eye ball movement, muscle contractions etc., where the particular brain signal cannot be analyzed without any filtration techniques. Due to the presence of noise coefficients in the input signal, the transformation techniques have been applied to the input signal. Haar transform and maximal overlap discrete wavelet transform are the transformation techniques that supported for the filtration of the noisy coefficients from the input EEG signal.

The transformation techniques that have been applied to the brain signal filtered the noise coefficients without disturbing the peak values of the input signal. With the help of peak points, it is possible to represent the presence of Epileptic seizure. Epileptic seizure is the brain disorder and it can be analyzed based on the sudden increase of the sudden increase in the input signal. For the analyzation of actual input signal, the transformations such as Haar transform and Maximal Overlap Discrete Wavelet Transform (MODWT) has not been disturbed the peak points of the actual brain signal and filtered the noise coefficients efficiently.

## 2. Literature survey

Ozaydin and Alak have explained speech enhancement using maximal overlap discrete wavelet transform where they demonstrated the application of the Maximal overlap discrete wavelet transform in speech signal processing [1]. The analyzation algorithm was performed using Matlab platform. Rahul Kher et al. have presented a paper on signal processing techniques for removing high frequency noise from ECG signals with matlab platform.

Kumar and Joshi describe MODWT Based Time Scale Decomposition Analysis of BSE and NSE Indexes Financial Time Series, Where they concluded that MODWT based time scale decomposition analysis gives better results than the Fourier transform based spectral analysis [2]. Hostalkova et al. have been analyzed the multi-dimensional biomedical image de-noising using Haar transform, where the results are represented in numerical and graphical forms using three-dimensional visualization tools [3]. Ali Hajjaji et al. have published a paper regarding the Combination of Haar Wavelet and Karhunen Loeve Transforms for Medical Images Watermarking, and developed a novel watermarking method to embed the patient’s data into the corresponding image or set of images used for the diagnosis [4]. Sun and Meinl stated a new wavelet-based denoising algorithm for high-frequency financial data mining [5]. Ghosh and Chaudhuri have been explained about the Fractal Investigation and Maximal Overlap Discrete Wavelet Transformation (MODWT) based Machine Learning Framework for Forecasting Exchange rates. Zitong Zhang et al. have analyzed different Wavelet Methods, Filters, and Lengths for Functional Brain Network Construction [6, 7].

## 3. Related work

### 3.1 Haar wavelet transform

In discrete form, Haar wavelets are related to a mathematical operation called the Haar transform. The Haar transform serves as a prototype for all other wavelet transforms. Haar wavelet is a sequence of rescaled square-shaped functions which together form a wavelet family or basis. The technical disadvantage of the Haar wavelet is that it is not continuous, and therefore not differentiable. The advantage of Haar transform advantage is it can be used for analyzation of signals with sudden transition and for localized feature of signals. The orthogonal property of the Haar function helps to analyze the frequency components of input signal. The Haar wavelet’s mother wavelet function can be represented as,

The 2 × 2 Haar matrix that is associated with the Haar wavelet is,

It requires only additions and there are many elements with zero value in the Haar matrix, so the computation time is short. Input and output length are the same. However, the length should be a power of 2, i.e. N=* n* ×

*matrix and*n

### 3.2 Maximal overlap discrete wavelet transform (MODWT)

The MODWT is a linear filtering operation that transforms into coefficients related to variations over a set of scales. It is used to inspect the scale-dependent signal behaviors. The MODWT is a time shift-invariant method, where a translation in the signal results in a translation of wavelet coefficients by the same amount. The MODWT is different and has several advantages when compared to DWT and it improves the alignment of the decomposed wavelet and scaling coefficients at each level with the original time series. This is the transform that aligns the wavelet coefficients at each time interval with the original signal. So, it is easy to analyze the localized signal variation with respect to scale and time. MODWT can be used to obtain scale based additive decomposition and a scale based energy decomposition.

The function f(x) is a linear combination of scaling function and wavelet function where

MODWT returns the N-many coefficients {

Where x is the input data,

## 4. Results and discussions

### 4.1 Haar wavelet transform

Figure 1 represents Haar approximation of EEG signal where the noise present in the signal has been removed by the Haar transformation effectively without changing the peak values of the original signal.

Haar transform has been filtered the detailed coefficients of the original signal where the detailed coefficients are shown in Figure 2.

Maximal overlap discrete overlap transform filters the input signal based on the number of levels where in each and every level the transform able to remove the noise coefficients present in the signal. Figure 3 represents the output of Maximal overlap discrete wavelet transform. Table 1 explains about the parameters of the signal like mean, standard deviation and variance and Table 2 represents the parameters of the signal using daubechies external phase wavelet.

Parameters | Original | Haar | MODWT |
---|---|---|---|

Mean | 3.9176 | 3.9625 | 3.9176 |

Standard Deviation | 172.0907 | 140.6722 | 156.6592 |

Varaiance | 2.9615e+04 | 1.9789e+04 | 2.4542e+04 |

Parameters | db5 | db10 | db45 |
---|---|---|---|

Mean | 3.9176 | 3.9176 | 3.9176 |

Standard Deviation | 159.2136 | 159.7792 | 160.1462 |

Variance | 2.5349e+04 | 2.5529e+04 | 2.5647e+04 |

### 4.2 MODWT using daubechies extremal phase wavelet

## 5. Conclusion

In this paper, EEG signal has been analyzed with the help of transformation techniques like Haar Transform and with Maximal Overlap Discrete Wavelet Transform for the analysis of Epilepsy. It has been observed that the mean of the filtered signal and the input signal was approximately same after applying the transformations. These transforms are the processing algorithms to filter the noisy coefficients of the original signal. The structure of the signal should be same after the application of the algorithms especially in the case of biomedical applications where it has been achieved with the help of these Haar and Maximal Overlap Discrete Wavelet Transform (MODWT) for the identification of Epilepsy.

## Acknowledgments

All the authors would like to thank Department of Science and Technology (DST), Cognitive Science Research Initiative (CSRI). Ref. No.: SR/CSRI/370/2016.