Masking Covariance for Common Spatial Pattern as Feature Extraction


  • H. Asyraf Electronic System Engineering, MJIIT.
  • M. I. Shapiai Electronic System Engineering, MJIIT. Centre of Artificial Intelligence and Robotics (CAIRO), UTM Kuala Lumpur, Malaysia.
  • N. A. Setiawan Faculty of Engineering, Universitas Gadjah Mada Yogyakarta, Indonesia.
  • W. S. N. S. Wan Musa Electronic System Engineering, MJIIT.


Masking Weight, Common Spatial Pattern, Covariance Filter, Extreme Learning Machine


Brain Computer Interface (BCI) requires accurate and reliable discrimination of EEG’s features. One of the most common method used in feature extraction for BCI is a common spatial pattern (CSP). CSP is a technique to distinguish two opposite features by computing the spatial pattern of the measured EEG channels. The existing CSP is known to be prone to the over-fitting problem. Covariance estimation is an important process in obtaining spatial pattern using CSP. The empirical covariance estimation ignores the spurious information between channels of EEG device. This may cause inaccurate covariance estimation, which results to lower accuracy performance. In this study, a masking covariance matrix is introduced based on the functionality of brain region. The addition of masking covariance is to improve the performance of CSP. Features obtained through features extraction is then used as the input to Extreme Learning Machine (ELM). Comparisons between features of conventional CSP and with the addition of masking covariance are visually observed using the collected EEG signals using EMOTIV. The performance accuracy of the proposed technique has offered slight improvement from 0.5 to 0.5567. The obtained results are then discussed and analyzed in this study. Therefore, by introducing masking covariance matrix, the performance of the existing CSP algorithm can be improved.


M. Seeck, F. Lazeyras, C.M Michel, O. Blanke, C.A Gericke, J. Ives, J. Delavelle, X. Golay, C.A Haenggelli, N. de Tribolet, and T. Landis, “Non-Invasive epileptic focus localization using EEG triggered functional MRI and electromanetic tomography,” Electroencephalography and Clinical Neurophysiology, vol. 106, pp. 508-512, June. 1998.

H. Lu, K. N. Plataniotis and A. N. Venetsanopoulos, “Regularized Common Spatial Pattern with Generic learning for EEG Signal Classification,” IEEE Transactions on Biomedical Engineering, vol. 57, pp. 2936-2946, 2010

M. Aubry, S. Paris, S. W. Hasinoff, J. Kautz, and F. Durand, "Fast local laplacian filters: Theory and applications,” ACM Transactions on Graphics, vol. 33, no. 167, Aug. 2014.

G. Fein, J. Raz, F. F. Brown and E. L. Merrin, "Common reference coherence data are confounded by power and phase effects," Electroencephalography and clinical neurophysiology, vol. 69, pp. 581-584, 1988.

H. Ramoser, J. Muller and G. Pfurtsceller, “Optimal Spatial Filtering of single trial EEG during imagined hand movement,” IEEE Trans Rehab Eng, vol. 8, pp. 441-446, 2000.

F. Lotte, and C. Guan, “Regularizing common spatial patterns to improve BCI designs: unified theory and new algorithms,” Biomedical Engineering, IEEE Transactions, vol. 58, pp. 355-362, 2011.

H. Wang, Q. Tang, and W. Zheng, “L1-norm-based common spatial patterns,” Biomedical Engineering, IEEE Transactions, vol. 59, pp. 653-662, 2012.

Y. Wang, S. Gao and X. Gao, "Common Spatial Pattern Method for Channel Selelction in Motor Imagery Based Brain-computer Interface," 2005 IEEE Engineering in Medicine and Biology 27th Annual Conference, Shanghai, 2005, pp. 5392-5395.

A. Balzi, F. Yger, and M. Sugiyama, “Importance-weighted covariance estimation for robust common spatial pattern,” Pattern Recogniton Letters, vol. 68, pp. 139-145, 2015.

R. O. Duda, P. E. Hart, and D. G. Stork, "Pattern classification and scene analysis 2nd ed." ed: Wiley Interscience, 1995.

G. B. Huang, Q. Y. Zhu, and C. K. Siew, “Extreme learning machine: theory and applications,” Neurocomputing, vol. 70, no. 1, pp. 489-501, 2006.

M. Ayman, Y. Rubiyah, and S. Mohd Ibrahim “Extreme Learning Machine for Structured Output Space,” unpublished.

S. Ding, H. Zhao, Y. Zhang, and R. Nie, “Extreme learning machine: algorithm, theory, and applications,” Artif Intell Rev, vol. 44, pp. 103-115, 2015.

R. Agarwal, J. Gotman, D. Flanagan, and B. Rosenblatt, "Automatic EEG analysis during long-term monitoring in the ICU," Electroencephalography and clinical Neurophysiology, vol. 107, no. 1, pp. 44-58, 1998.

B. Blankertz, R. Tomioka, S. Lemm, M. Kawanabe, and K. R. Muller, "Optimizing spatial filters for robust EEG single-trial analysis," Signal Processing Magazine, IEEE, vol. 25, no. 1, pp. 41-56, 2008.

G. Pfutscheller, C. Neuper, D. Flotzinger and M. Pregenzer, “EEG-based discrimination between imagination of right and left hand movement,” Electroenc. Clin. Neurophys., vol. 103, no. 5, pp. 1-10, 197.

Y. Huang, and D. Lai, "Hidden node optimization for extreme learning machine," AASRI Procedia, vol. 3, pp. 375-380, 2012.

M. Ayman, Y. Rubiyah, S. Mohd Ibrahim, “Extreme learning machine for structured output space,” unpublished.




How to Cite

Asyraf, H., Shapiai, M. I., Setiawan, N. A., & Wan Musa, W. S. N. S. (2016). Masking Covariance for Common Spatial Pattern as Feature Extraction. Journal of Telecommunication, Electronic and Computer Engineering (JTEC), 8(11), 81–85. Retrieved from