Sunteți pe pagina 1din 6

2016 International Conference on Micro-Electronics and Telecommunication Engineering

Cepstrum Based Algorithm for Motor Imagery


Classification

Sumanta Bhattacharyya 1,2 Manoj Kumar Mukul


PhD Student, Department of ECE, Assistant Professor, Department of ECE,
1
Birla Institute of Technology, Mesra Ranchi, India Birla Institute of Technology, Mesra Ranchi, India
2
Cambridge Institute of Technology, Ranchi, India mkm@bitmesra.ac.in
sumanta.bh@gmail.com

Abstract A linear convolutive mixing model based real time extraction, feature selection and feature classification methods.
motor imagery classification algorithm is proposed in this In [5] Ali Bashashati, et. al. described about the review of EEG
paper. The proposed cepstrum based method is very first and signal processing. Data acquisition technique of the EEG signal
robust unsupervised learning algorithm, extremely useful for is very sophisticated process, which explained in [6] Leigh R.
real time brain computer interface(BCI). The cepstrum is et. al. and [7]R. Vigario et. al.. The recorded EEG signals
analyzed for estimation of combined action potential generated contaminated with a variety of physiological artifacts like eye
through the active synapses of raw electroencephalogram movement, eye blinking etc. The electro-oculogram (EOG)
(EEG) signal. Maximum energy of the estimated cepstrum, is signal is the most dominant artifacts present in the EEG signal
used as a feature . The extracted feature further subjected to explained in [8] A. Schlogl et. al. and [9] A. Srinivasulu et.al..
Pre processed EEG signal is further subjected to the feature
simple Bayesian probabilistic classifier, for classification. The
extraction process, to identify unique feature present in the
proposed method of EEG signal pre-processing and feature
signal. There are various well established feature extraction
extraction outperforms the conventional temporal relative algorithm like ICA/ BSS discussed in [10] M. K. Mukul et.al.,
spectral power (TRSP) based movement imagery classification hjorth parameter explained in [11] B. Hjorth, Power Spectrum
algorithm and BCI competition II results. Density and other feature extraction algorithm explained in
Keywords Action Potential, Brain Computer Interface (BCI), [12]-[23]. Among the other feature extraction algorithms TRSP
Cepstrum, Electroencephalogram (EEG) and Movement Imagery, [24] M. K. Mukul et.al., publicized a considerable performance
Temporal Relative Spectral Power (TRSP). in movement imagery classification. The proposed cepstrum
based algorithm outperforms, TRSP based algorithm and BCI
I. INTRODUCTION competition II results in different BCI evolution parameter like
kappa coefficient, classification accuracy, mutual information,
time complexity etc.
BCI is a sister technology of the Human Computer For two class problems, the maximum value of mutual
Interaction. Primary objectives of the BCI systems are to information should be unity and the classification accuracy
provide adequate assistive systems for the paralytic disable should 100%. To reach the maximum value of classification
persons, providing neuronal rehabilitation for accidental accuracy and the mutual information under unsupervised
patients, providing brain reading, remote communication, brain environment, is an open problem for the BCI researchers.
control gamming system and providing many supportive system
for human society[1]-[3]. BCI system controls specific external EEG signals are low amplitude, low frequency biomedical
machines, to do an intended action based on the decision, signals. On the basis of frequency bands EEG signals are
provided by analyzing brain signals[4]. The BCI systems, based classified as : Delta band (1-4 Hz), Theta band (4-8 Hz), Alpha
on EEG signals is non invasive in nature, which have wide band (8-12 Hz), Beta band (13-25 Hz), Gamma band (25-40 Hz)
scope of research. [25]. The nerve cells present in the primary sensory motor cortex
region, got excited due to motor imagery activities. The
Primarily BCI systems consist of Data Acquisition, Signal electrodes placed in this area are C3, Cz and C4. Primarily
Processing and Controlling External Machines for intended Alpha and Beta rhythms are affected by movement imagery
action. Among this the Signal Processing section consists related activity like the hand movements, foot movements,
Preprocessing, Feature Extraction, Feature Selection and Feature tongue movement etc.
Classification. An accurate decision concluded through the BCI
system, primarily depends on the various signal processing and The EEG signals are non-stationary signals. The EEG signals
classification methods used in the preprocessing, feature of duration 5ms to 100ms are considered as quasi stationary

978-1-5090-3411-6/16 $31.00 2016 IEEE 398


397
DOI 10.1109/ICMETE.2016.140
signal [26]. The EEG signal reects the sequence of the brain for study in this paper. The EEG dataset has provided by the
activities. Based on this quasi-stationary behavior and linear Department of Medical Informatics, Institute for Biomedical
convolutive mixing model displayed in the Fig. 1, a cepstrum Engineering, University of Technology Graz. Data comprises
based algorithm has been proposed to analysis the recorded EEG right hand and left hand of MI tasks recorded from one healthy
signals [27]-[29]. subject from 3 electrodes. The EEG Dataset comprises 280 trials
including training and testing data. The cue was presented from
three second to nine second. At the same time, the feedback was
presented to the subject. Within this period, it should be possible
to distinguish the two types of trials. The sampling frequency of
the data set was 128Hz.
The data set contains 3 EEG channels, 140 trials with 9
seconds each. The timing scheme of the paradigm is depicted in
Fig. 2 [33].

Fig. 1. Human Brain model


The action potentials of the excited neurons are recorded
through the electrode placed over the scalp[25] has displayed in
the Fig. 1. Under the assumptions that the human brain is a Fig. 2. Timing scheme of the BCI competition II, dataset III[33]
linear convolutive mixing model, the recorded EEG signal has
been passed through the inverse filtering approach to estimate B. Dataset II: Motor Imagery Data of Right Hand and Left
the synchronized action potential for movement imagery Hand
classification [27]-[29]. The most important method to perform The BCI competition IV Graz dataset 2b was used for this
inverse filtering is the cepstrum estimation [26]. This inverse analysis [36-38]. The EEG dataset has provided by the Institute
filtering also called homomorphic filtering [28][29]. The for Knowledge Discovery. BCI competition IV dataset
estimated cepstrum are further subjected to energy estimation to containing EEG data recorded from 9 subjects B01, B02,
estimate the unique features hidden in the EEG signal for B03, B04, B05, B06, B07, B08 and B09. All
movement imagery classification. Estimation of the cepstrum subjects were sitting in an armchair, watching a screen monitor
from the FIR band pass filtered EEG has been used as a placed approximately 1 m away at eye level. Three bipolar EEG
preprocessing method. The energy estimation of the cepstrum channels (C3, Cz and C4) were recorded with a sampling
has been used as feature extraction method [23]. The outcomes frequency of 250 Hz and the signals band pass filtered between
of the feature extraction are taken as final feature matrix. To 0.5 Hz and 100 Hz, and a notch filter at 50 Hz was enabled. In
analyze the performance of the feature extraction process, the addition the electrooculogram (EOG) was recorded with three
extracted features are classified by the simple Bayesian classifier unipolar electrodes. Each subject contributing a single session
[30-32]. The detection of movement related thought pattern in referred to as *03T for the training and *04E for the evaluation
the human brain is done through the movement imagery analysis. The dataset consists of two classes, namely MI of the
classification methods and the final stage of the brain pattern left hand [class 1] and right hand [class 2]. For the experimental
identification is to control an external machine by the thought of purpose only two channels C3 and C4 are utilized (Cz as
the user [1-4]. This paper is ordered into five part. Section II reference electrode). The beginning of each trial started at 0 s
describes the experimental paradigm of BCI competition with a gray smiley centered on the screen. At the 2nd second, a
datasets [33-38]. Section III describes the proposed short warning beep (1 kHz, 70 ms) was given. The cue was
methodology, and Section IV describes the result and presented from 3 second to 7.5 second is depicted in Fig. 3. The
discussions followed by the conclusion and future work. subjects required to move the smiley towards the left or right
side by the imagining left or right hand movements respectively.
II. EXPERIMENTAL PARADIGM At the 7.5 second, the screen went blank and a random interval
between 1.0 and 2.0 second was provided for the relaxation.
A. Dataset I: Motor Imagery Data of Left and Right Hand Dataset and the more details description of the EEG signal
Movement. recording methodology can be found in [36].
The dataset III of the BCI competition II [33]-[35] was used

398
399
A. Pre-processing

Band Pass Filter


It is wellknown to all that the EEG signals contain maximum
information in the small frequency bands. These frequency
bands are basically retrieved from the raw EEG signals. In order
to retrieve the frequency band information, digital filters, either
finite response filter (FIR) or infinite response filter (IIR) are
frequently used. The frequency band information's are also
known as rhythmic information. Here band pass FIR filter was
Fig. 3. Timing scheme of the BCI competition IV, dataset IIb[36] used for filtering the alpha and beta band signal i.e. 8-30 Hz
frequency band. The FIR band pass filtered EEG signal YCi (n)
III. PROPOSED METHOD can be expressed as
The Proposed method of EEG signal preprocessing is shown YCi ( n) = h ( n) * ECi ( n ) (2)
in Fig. 4. The recorded EEG signals (displays in block I) may
contaminated with various kinds of physiological artifacts like
eye blinking, eye movement etc. The EOG signal is the most where h( n) is the impulse response of order five hundred
dominant artifacts present in the recorded EEG signal [8-9].
and ECi ( n) is the raw EEG signal.
The regression coefficient based method of EOG correction
has been applied to remove artifacts (displays in block II) [8-9]. Cepstrum
The EOG corrected EEG signal was processed to FIR band pass The concept of cepstrum basically used to calculate the
filter to extract motor band signal from the EOG corrected EEG original excitation function in speech production system. It is
signal (displays in block III). very interesting concept to perform the inverse filtering from the
The filtered signal is subjected to real cepstrum estimation recorded speech signal. Motivated by the cepstrum analysis of
method (displays in block IV). The real cepstrums were further speech signal, the authors think to apply similar analysis to get
subjected to energy estimation (displays in block V), the energy the synchronized active potential from each channel to retrieve
of the real cepstrums are taken as feature matrix, which are the movement imagery information. The recorded EEG Signal
further subjected to Bayesian classifier (displays in block VI). has been processed to real cepstrum RCi estimation. Fig.5
depicts the way to calculate the cepstrum from filtered EEG
EOG Correction by signal.
[ ECi ]r X Ci (n) (1)
Regression
The EOG Corrected EEG signal ECi (n) here C [C3, C4], i
The raw EEG signal is represented as ECi ( n ) where [left, right], h(n) is the impulse response of the Band Pass
C [C3, C4] and i [left, right]. filter. YCi is the Real Cepstrum of Filtered EEG Signal [29].

Fig. 5. Cepstrum estimation method

RCi = Real[ IDFT {log DFT (YCi ) }] , (3)

Fig. 4. Proposed Methodology


where RCi is the real Cepstrum.

399
400
B. Feature Extraction Table 1. Performance analysis of the proposed algorithm in terms of
Error, SNR, MI and Classification time for data set 1
Energy estimation
Name of the Methods Min Max Max MI Classification
Estimation of the Energy of Real Cepstrum of the EEG Error SNR [bit] Time T [s]
signal depending on the C3 and C4 channel. [%]
BCI Competition II 10.71 1.34 0.61 7.59
EnCi = max {RCi }
2
results of Group C
, (4) TRSP Method 9.63 1.87 0.7610 7.39
Proposed Method 9.29 1.94 0.7798 6.70
The Maximum Energy of Real Cepstrum has been taken as
feature matrix and it was further subjected to Bayesian Classifier The maximum SNR of the proposed method is 0.6077
for classification. greater than the BCI competition II result and 0.07 greater than
the TRSP method. The maximum mutual information of the
C. Classification proposed method is 0.1698 bits greater than the BCI competition
Bayesian classiers are the statistical classiers, based on the II result and 0.0188 bits greater than the TRSP method. The
Bayes' theorem. The Bayesian classifiers are highly scalable classification time of the of the proposed method is 0.89 second
classifier that requires a number of features to solve a learning less than the competition II result and 0.69 second less than the
problem[15]-[18]. They can predict class membership TRSP method.
probabilities, such as the probability that a given task belongs to The performance of the proposed method for testing data of
a particular class. Bayesian classiers have also exhibited high the dataset 1 has been compared with the performance of the
accuracy and speed when applied to large databases. TRSP method is shown in Fig. 6.

The core formulation of Bayesian Classifier is


n
P (X | Ci ) = P (x k | Ci ) = P (x1 | Ci ) P (x 2 | Ci ) ... P(x n | Ci )
k =1

A Continuous Valued attribute is typically assumed to have a


Gaussian distribution with men and standard deviation , is
dened by
(x )2
1
g (x, , ) = e 2 2

2
where
P (x k | Ci ) = g(x k , Ci , Ci )

IV. EXPERIMENTAL RESULTS AND DISCUSSIONS


Fig. 6. Mutual Information plot of proposed method and TRSP for testing data
In order to evaluate the performance of the proposed method, of Dataset I
authors consider the BCI competition II dataset III and BCI
competition IV Graz dataset 2b. It is an well known fact that the The performance of the proposed method for testing data of
EEG Signal contains information in rhythms. For movement the dataset 2 has been compared with the result of TRSP shown
imagery classification alpha and beta rhythm is very useful. This in the table 2. Classification accuracy of the proposed method
paper considers the same frequency rhythm for movement 2.17 percent more accurate than TRSP method for training data
imagery classification. The maximum information has been and 16.45 percent more accurate than testing data.
found in some specific frequency band for each subject. This
specific frequency bands are named as the reactive frequency Table 2. Performance analysis of the proposed algorithm in
band. The proposed algorithm has been applied in the reactive terms of Classification Accuracy for data set2
frequency bands of individual subjects.
Subject Training (03T) Evaluation (04E)
The performance of the proposed method for testing data of TRSP Proposed TRSP Proposed
the dataset 1 has been compared with the result of TRSP and Method Method
BCI competition II results [39] is shown in the table 1. The
minimum error of the proposed method is 1.42 percent lesser B01 84.38 98.12 58.49 88.13
than the BCI competition II result of the group C and 0.34 B02 100 100 59.83 81.88
percent lesser than the TRSP method. B03 98.12 98.75 54.43 93.13

400
401
B04 99.38 100 98.75 100 [5] Ali Bashashati, Mehrdad, Fatourechi, Rabab K Ward and Gary E Birch, A
B05 98.12 99.38 87.26 92.50 survey of signal processing algorithms in brain computer Interfaces based on
electrical brain signals. J. of Neural Engg, Vol. 4, No. 2, pp. R32-R57, 2007.
B06 97.50 98.35 73.03 85.63
[6] Leigh R. Hochberg and John P. Donoghue, Sensors for Brain-Computer
B07 96.88 98.50 70.20 92.50 Interfaces, IEEE Engineering in Medicine and Biology Magazine. Sep/Oct
B08 94.37 100 88.54 97.50 2006.
B09 94.37 89.50 80.13 87.50 [7] R. Vigario, E. Oja,et al : Independent Component Approach to the Analysis
Avg. 95.90 98.066 74.52 90.97 of EEG and MEG Recordings, IEEE Transaction on Biomedical Engineering,
Vol. 47, No. 5, pp. 589-593, 2000.
V. CONCLUSION AND FUTURE WORK [8] A. Schlogl, C. Keinrth et al: A fully automated correction method of EOG
After the advent of Biofeedback systems, the requirement of artifacts in EEG recordings. Clinical Neurophysiology, Vol. 118, No. 1, pp. 98-
an effective real time signal processing algorithm for EEG data 104, 2007
[9] A. Srinivasulu, M. Sreenath Reddy, Artifacts Removing From EEG Signals
becomes very vital. The proposed algorithm shows excellent
by ICA Algorithms, IOSR J. of Electrical and Electronics Engg., Vol. 2, Issue 4,
performance on movement imagery classification, for
Sep-Oct. 2012.
imagination of left hand and right hand movement. The
[10] Manoj Kumar Mukul and Fumitoshi Matsuno, Comparative study between
proposed algorithm is very simple and easy to implement. The
subband and standard ICA/BSS method in context with EEG signal
computational time complexity of this algorithm seems very fast
for movement imagery classification, System Integration (SII), IEEE/SICE
as compared with the TRSP or the BCI competition method. The International Symposium on, 341-346, 2010
classification accuracy of the proposed algorithm achieves [11] B. Hjorth. EEG analysis based on time domain properties.
higher value over testing data set as compared to the training Electroencephalography and Clinical Neurophysiology. 29(3): 306-310, 1970.
dataset. This proposed feature extraction mechanism is unable to [12] Ruiyang Ge, Hang Zhang, Li Yao et.al., "Motor Imagery Learning Induced
provide 100% classification accuracy, since the cepstrum are Changes in Functional Connectivity of the Default Mode Network", IEEE
calculated by considering the linearity assumption over mixing Transactions on Neural Systems and Rehabilitation Engineering, 23(1), pp.138-
model for the brain signals. It is well known that the human 148, 2015
brain is a very complex and nonlinear information processing [13] Bradley J. Edelman et. al., EEG Source Imaging Enhances the Decoding of
system. From this study, it is clear that to improve the Complex Right-Hand Motor Imagery Tasks IEEE Transactions on Biomedical
performance parameter value one has to consider nonlinear Engineering, 63(1), 2016.
mixing model or another system model. To achieve fast [14] Nicolas Alonso. L.F et. al., Adaptive Stacked Generalization for Multiclass
computational time with higher classification accuracy and Motor Imagery-Based Brain Computer Interfaces, IEEE Transactions on Neural
mutual information for high speed BCI application is now a day Systems and Rehabilitation Engineering, 23(4), pp. 702-712, 2015.
main focus point of research. It gives more challenge to signal [15] Onder Aydemir, Temel Kayikcioglu, Decision tree structure based
processing people particularly those who are working with classification of EEG signals recorded during two dimensional cursor movement
biomedical signal processing. imagery, Journal of Neuroscience Methods, 229, pp. 6875, 2014.
[16] Ha Truong Ngoc, ThanhHai Nguyen et.al. Average Partial Power Spectrum
Density Approach to Feature Extraction for EEG-Based Motor Imagery
ACKNOWLEDGMENT
Classification. American Journal of Biomedical Engineering. 2013; 3(6): 208-
Authors would like to acknowledge here BIT Mesra and CIT 219.
Ranchi for the constant support and providing such a good [17] Manoj Kumar Mukul and Fumitoshi Matsuno, Movement imagery
environment for research. classification based on subband BSS, System Integration (SII), IEEE/SICE
International Symposium on, 240-245, 2011.
REFERENCES [18] Kus R. et. al., Asynchronous BCI Based on Motor Imagery With
Automated Calibration and Neuro feedback Training, IEEE Transactions
on Neural Systems and Rehabilitation Engineering, 20(6),pp. 823 - 835, 2012.
[1] J.R Wolpaw, N. Birbaumer et al: Brain-computer interfaces for
[19] Yvonne Blokland et. al., Combined EEG-fNIRS Decoding of Motor
communication and control. Clinical Neurophysiology, Vol. 113, No. 6, pp. 767-
Attempt and Imagery for Brain Switch Control: An Offline Study in Patients
791, 2002.
With Tetraplegia IEEE Transactions on Neural Systems And Rehabilitation
[2] B. Jenita Amali Rani, A. Umamakeswari, " Electroencephalogram-based
Engineering, 22(2), pp. 222-229, 2014.
Brain Controlled Robotic Wheelchair ", Indian Journal of Science and
[20] Baali, H. et. al., A Transform-Based Feature Extraction Approach for
Technology, 8(S9) , 2015.
Motor Imagery TasksClassification, IEEE Journal of Translational Engineering
[3] C. J Bell, P. Shenoy et al: Control of a humanoid robot by a noninvasive
in Health and Medicine, 3, 2015.
brain-computer Interface in humans. J. of Neural Engg,Vol. 5,No. 2,pp. 214-220,
[21] Manoj Kumar Mukul and Fumitoshi Matsuno, Feature Extraction from Sub-
2008
band Brain Signals and Its Classication. SICE Journal of Control,
[4] Jinyi Long, Yuanqing Li, Hongtao Wang et.al. , "A Hybrid Brain Computer
Measurement, and SystemIntegration. 2011; 4(5): 332340
Interface to Control the Direction and Speed of a Simulated or Real Wheelchair
[22] Vaibhav Gandhi, Girijesh Prasad et al., Quantum Neural Network-Based
", IEEE Transactions on Neural Systems and Rehabilitation Engineering,
EEG Filtering for a BrainComputer Interface, IEEE Transactions on Neural
20(5),pp. 720-729, 2012.
Networks and Learning Systems, vol. 25, no. 2, 2014.

401
402
[23] Jianfeng Hu et.al., Application of Energy Entropy in Motor Imagery EEG
Classification, International Journal of Digital Content Technology and its
Applications, 3( 2), 2009
[24] Monaj Kumar Mukul and Fumitoshi MatsunoTrans. Roy: Relative Spectral
Power (RSP) and Temporal RSP as Feature for Movement Imagery EEG
Classification with Linear Discriminant Analysis, SICE Annual Conference,
Circuits & Systems, vol. 4, No. 2, 2010.
[25] Saeid Sanei, J. A. Chambers., EEG Signal Processing. John Wiley and Sons.
Ltd., 2007.
[26] Soo-Chang Pei et. al., Minimum-phase FIR filter design using real
cepstrum, 13th European Signal Processing Conference, pp. 1-4, 2005.
[27] John R. Deller, Jr., John H. L. Hansen, John G. Proakis, Discrete-Time
Processing of Speech Signals, Wiley-IEEE Press, September 1999.
[28] Donald G. Childers, David P. Skinner and Robort C. Kemerait, The
Cepstrum: A Guide to Processing, The IEEE, Vol. 65, No. 10, October 1977.
[29] Sumanta Bhattacharyya, Manoj Kumar Mukul, "Cepstral Coefficients
Based Feature for Real Time Movement Imagery Classification", 8(1), pp.117-
123, 2016.
[30] R. Duda, P. Hart, and D. Stork, Pattern Classification, 2nd ed. New York:
Wiley (2001)
[31] Baralis, E. e. al., EnBay: A Novel Pattern-Based Bayesian Classifier, , IEEE
Transactions on Knowledge and Data Engineering, 25(12), pp. 2780 - 2795,
2012.
[32] Ordonez, C. et. al., Bayesian Classifiers Programmed in SQL, IEEE
Transactions on Knowledge and Data Engineering, 22(1), pp. 139 - 144, 2009
[33] BCI Competition II. 2003. [Online]. [Accessed on 15th December 2015].
Available from: http://www.bbci.de/competition/ii/
[34] Schlgl A., Neuper C. Pfurtscheller G. Estimating the mutual information of
an EEG-based Brain-Computer-Interface Biomedizinische Technik 47(1-2): 3-8,
2002
[35] A. Schlgl, C. Keinrath, R. Scherer, G. Pfurtscheller, Information transfer of
an EEG-based Bran-computer interface. Proceedings of the 1st International
IEEE EMBS Conference on Neural Engineering, Capri, Italy, pp.641-644, Mar
20-22, 2003.
[36] BCI Competition IV. 2009. [Online]. [Accessed on 25 August 2015].
Available from: http://www.bbci.de/competition /iv/desc2b. pdf.
[37] R. Leeb, F. Lee, C. Keinrath et.al. Brain-computer communication:
motivation, aim, and impact of exploring a virtual apartment. IEEE Transactions
on Neural Systems and Rehabilitation Engineering. 2007; 15: 473-482.
[38] SiulySiuly And Yan Li. Improving the Separability of Motor Imagery EEG
Signals Using a Cross Correlation-Based Least Square Support Vector Machine
for BrainComputer Interface. IEEE Transactions on Neural Systems and
Rehabilitation Engineering. 2012; 20(4): 526-538.
[39] BCI Competition II.- Results [Online]. [Accessed on 25 August 2015].
www.bbci.de/competition/ii/results/TR_BCI2003_III.pdf

402
403

S-ar putea să vă placă și