A new approach for multiclass motor imagery recognition using pattern image features generated from common spatial patterns

  • 14 Accesses


This paper presents a new method that can classify multiple motor imageries and can be implemented in a realistic application because of its low computation time. The method proposes the use of pattern images, generated with the common spatial pattern (CSP) technique. The paper also suggests a new algorithm to determine the best frequency bands for optimal discrimination among the diverse motor imageries to classify. The pattern images and the state images, which represent the mental state of the user in a specific segment of time, are used to compute cross-correlation coefficients. Feature vectors, including characteristics obtained with CSP, and the mean and variance of the correlation coefficients were employed to design binary classifiers with support vector machines. In addition, the work includes a real-time simulation involving a sliding window technique. The proposed method was evaluated in four datasets: IVa, IVb and V from BCI Competition III and another provided by the software BCILAB, which compared with other state-of-the-art methods. The results that overcome surpassed the methods in these competitions and other state-of-the-art methods mentioned in this paper. The method also presents short computation time, robustness between subjects and capability to classify between multiple mental states.

This is a preview of subscription content, log in to check access.

Access options

Buy single article

Instant unlimited access to the full article PDF.

US$ 39.95

Price includes VAT for USA

Subscribe to journal

Immediate online access to all issues from 2019. Subscription will auto renew annually.

US$ 99

This is the net price. Taxes to be calculated in checkout.

Fig. 1
Fig. 2
Fig. 3
Fig. 4


  1. 1.

    Mohamed, S., Haggag, S., Nahavandi, S., Haggag, O.: Towards automated quality assessment measure for EEG signals. Neurocomputing 237(10), 281–290 (2017)

  2. 2.

    Ramadan, R.A., Vasilakos, V.: Brain computer interface: control signals review. Neurocomputing 223(2), 26–44 (2017)

  3. 3.

    Abdalsalam, E., Zuki-Yusoff, M., Malik, A., Kamel, N., Mahmoud, D.: Modulation of sensorimotor rhythms for brain-computer interface using motor imagery with online feedback. SIViP 12(3), 557–564 (2018)

  4. 4.

    Pfurtscheller, G., Neuper, C.: Motor imagery and direct brain-computer communication. Proc. IEEE 89(7), 1123–1134 (2001)

  5. 5.

    Nicolas-Alonso, L.F., Gomez-Gil, J.: Brain computer interfaces, a review. Sensors 12(2), 1211–1279 (2012)

  6. 6.

    Lotte, F., Bougrain, L., Clerc, M.: Electroencephalography (EEG)-based brain-computer interfaces. Wiley Encycl. Electr. Electron. Eng. 01167515, 1–45 (2015)

  7. 7.

    Saka K., Aydemir Ö., Öztürk M.: Classification of EEG signals recorded during right/left hand movement imagery using fast Walsh Hadamard transform based features. In: International Conference on Telecommunications and Signal Processing (2016)

  8. 8.

    Camacho J., Manian V.: Real-time single channel EEG motor imagery based brain computer interface, World Automation Congress (2016)

  9. 9.

    Hatipoglu, B., Murat, C., Kose, Y.: Signal-to-image transformation approach for EEG and MEG signal classification. Signal Image Video Process. 13, 1–8 (2018)

  10. 10.

    Kumar S., Sharma R., Sharma A., Tsunoda T.: Decimation filter with common spatial pattern and fishers discriminant analysis for motor imagery classification. In: International Conference on Neural Networks (2016)

  11. 11.

    Wang Y., Hong B., Gao X., Gao S.: Implementation of a brain-computer interface based on three states of motor imagery. In: Proceedings of the 29th Annual International Conference of Engineering in Medicine and Biology Society (2007)

  12. 12.

    Yang H., Sakhavi S.S., Ang K.K., Guan C.: On the use of convolutional neural networks and augmented CSP features for multi-class motor imagery of EEG signals classification. In: Annual International Conference on Engineering in Medicine and Biology Society (2015)

  13. 13.

    Bhattacharyya, S., Basu, D., Konar, A., Tibarewala, D.: Interval type-2 fuzzy logic based multiclass ANFIS algorithm for real-time EEG based movement control of a robot ARM. Robot. Auton. Syst. 68(1), 104–115 (2015)

  14. 14.

    Technische Universität Berlin, BCI Competition III, Fraunhofer FIRST (IDA). Accessed 12 Dec 2004

  15. 15.

    Kothe, C.A., Makeig, S.: BCILAB: a platform for brain-computer interface development. J. Neural Eng. 10(5), 1–23 (2013)

  16. 16.

    Úbeda, A., Iáñez, E., Azorín, J.M., Sabater, J.M., Fernández, E.: Classification method for BCIs based on the correlation of EEG maps. Neurocomputing 114(19), 98–106 (2013)

  17. 17.

    Chai, R., Ling, S., Hunter, G.P., Tran, Y., Nguyen, H.T.: Brain computer interface classifier for Wheelchair commands using neural network with Fuzzy particle Swarm optimization. IEEE J. Biomed. Health Inf. 18(5), 1614–1624 (2014)

  18. 18.

    Blankertz, B., Tomioka, R., Lemm, S., Kawanabe, M., Müller, K.: Optimizing spatial filters for robust EEG single-trial analysis. IEEE Signal Process. Mag. 25(1), 41–56 (2008)

  19. 19.

    Solomon, T.B.C.: RGB, Fundamentals of Digital Image Processing. Wiley, West Sussex (2011)

  20. 20.

    Zhang, R., Xu, P., Liu, T., Zhang, Y., Guo, L., Li, P., Yao, D.: Local temporal correlation common spatial patterns for single trial EEG classification during motor imagery. Comput. Math. Methods Med 2013(2013), 1–7 (2013)

  21. 21.

    Liu, Q., Zhou, Z., Hu, Y.L.: Feature extraction and pattern classification on mining electroencephalography data for brain-computer interface. Intell. Comput. Signal Process. Pattern Recognit. 345(2006), 864–869 (2006)

  22. 22.

    Gysels, E., Renevey, P., Celka, P.: Fast feature selection to compare broadband with narrowband phase synchronization in brain-computer interfaces. Methods Inf. Med. 46(2), 160–163 (2007)

  23. 23.

    Siuly, L.Y., Wen, P.: Comparisons between motor area EEG and all-channels EEG for two algorithms in motor imagery task classification. Biomed. Eng. Appl. Basis Commun. 26(3), 1–10 (2014)

  24. 24.

    Bhattacharya S., Haddad R. J., Ahad M.: A multiuser EEG based imaginary motion classification using neural networks. In: SoutheastCon (2016)

  25. 25.

    Nasehi S., Pourghassem H.: Mental task classification based on HMM and BPNN. In: International Conference on Communication Systems and Network Technologies (2013)

  26. 26.

    Galán, F., Oliva, F., Guardia, J.: Using mental tasks transitions detection to improve spontaneous mental activity classification. Med. Biol. Eng. Comput 45(6), 603–609 (2007)

  27. 27.

    Agarwal, S.K., Shah, S., Kumar, R.: Classification of mental tasks from EEG data using backtracking search optimization based neural classifier. Neurocomputing 166(20), 397–403 (2015)

  28. 28.

    Lin, C.-J., Hsieh, M.-H.: Classification of mental task from EEG data using neural networks based on particle swarm optimization. Neurocomputing 72(4–6), 1121–1130 (2009)

  29. 29.

    Galán, F., Oliva, F., Guardia, J.: BCI competition III dataset V: Algorithm description, Fraunhofer FIRST (IDA) (2005). Available at Accessed 30 Dec 2019

  30. 30.

    Sun, S., Zhang, C.: Adaptive feature extraction for EEG signal classification. Med. Biol. Eng. Comput. 44(10), 931–935 (2006)

Download references


The authors greatly appreciate the support of Tecnologico Nacional de Mexico under Grants 5684.16-P and 6418.18-P to develop this work.

Author information

Correspondence to Mario I. Chacon-Murguia.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Chacon-Murguia, M.I., Olivas-Padilla, B.E. & Ramirez-Quintana, J. A new approach for multiclass motor imagery recognition using pattern image features generated from common spatial patterns. SIViP (2020).

Download citation


  • Brain–computer interface
  • Motor imagery
  • Electroencephalography (EEG)
  • Multiclass classification
  • Common spatial pattern