1. Introduction
The brain is a complex and mysterious organ that has 100 billion connected neurons [
1]. Many studies have been conducted to unravel the mystery of the brain, and it still has secrets. One of the popular types of research concerns brain–computer interfaces (BCIs) for people affected by paraplegia or quadriplegia due to cerebral palsy, stroke, amyotrophic lateral sclerosis (ALS), or spinal cord injury. BCIs convert brain electrical signals to commands to control external devices. Numerous research studies have been carried out to improve BCI technology over the past few decades [
2,
3].
EEG has important advantages that make it the first choice of physicians in emotion, epilepsy, sleep research, and clinical studies: high temporal resolution, ease of use, and affordability. Engineers use signal processing algorithms and machine learning approaches to interpret EEG signals. In recent years, lower-cost brain signal recording devices have been developed, the computational capabilities of computer systems have increased, and new machine learning techniques have been proposed [
4]. Thus, brain research through BCIs has improved, and we have better knowledge about how the brain processes information than in previous years. However, there are other neuroimaging modalities—conventional methods mostly focused on scalp EEG measurements for understanding motor imagery (MI). In this study, we used inverse modeling and computed cortical level signals, and these signals were used to train classifiers. This research is important for noninvasive studies of the brain.
EEG signals recorded during MI are utilized in BCI studies. EEG source localization is mostly studied, especially on epileptic foci localization [
5]. Various channel numbers are used in the recordings. EEG systems can have from a few electrodes to 256 electrodes. It has been said that source localization success decreases if the number of electrodes is low, especially when less than 32 [
6]. In this study, we calculate EEG source imaging success for BCIs in the MI area. For low- and high-density channel numbers, accuracies were calculated. This study maps EEG signals to cortical regions using EEG source imaging. Thus, we eliminate the low spatial resolution of the EEG.
Using averaged signals in the cortical source space, CSP features are extracted using several selected Regions of Interest (ROIs). As noted by Fruitet and Clerc “It is difficult to distinguish phenomena that have close origins within the brain because the signals are measured with electrodes on the surface of the scalp and have crossed the dura, cerebrospinal fluid, and skull barriers. The solution we have focused on is to deconvolve EEG signals on the scalp by reconstructing cortical sources that are at the origin of the MI” [
7]. Noninvasive EEG is susceptible to biologically and non-biologically caused artifacts because it measures tiny voltages from the scalp, reducing the quality of EEG signals. This experiment is conducted in mu and contains delta, theta, alpha, beta, and gamma attenuated EEG signals derived from a publicly available dataset.
However, it is hard to compute high-density EEG electrode data for better results since more channels result in a large amount of data. More electrodes provide more information; in this study, more and fewer electrode classification results are computed and compared. The hand, foot, and tongue take up a lot of space in the brain and can be seen on the homunculus, so these limbs are generally preferred. MI is one of the processes in which a subject thinks about moving a body part; its execution is performed mentally and does not use any muscle. It has been shown that MI activates the same brain regions as real movement [
8]. When a person imagines performing a task or a limb movement without actually physically performing the movement, the neural system’s activation changes. Brain neuroimaging techniques have shown that similar areas of the brain are activated during MI and physical movement [
9]. MI is a mental rehearsal in which actual movement is imagined without being performed as a motor function [
8,
10]. Although an MI task is only performed mentally, when a movement is imagined, similar areas of the brain are activated as when the actual movement is performed motorically [
11].
In this study, we analyzed a dataset recorded using 118 channels. By reducing the number of electrodes, we achieved accuracy for 118 channels and a smaller number of channels. Using more channels gives better performance than fewer channels. Using fewer channels is not successful in epileptic foci localization studies [
12]. It has been reported that using 118 channels helps improve source localization. That is why an epilepsy study is performed using high-density electrodes. Localization of epileptic foci is not accurate for less than 32 electrodes. In 2019, Michel and He reported that the sensitivity and specificity of Electrical Source Imaging (ESI) decreased significantly with a lower number of 32 electrodes and using a template head model [
13]. The results parallel those for studies on epileptic foci localization; MI accuracy results are used in this study. The studies conducted by researchers are reviewed and the differences between this research and existing studies are highlighted. In the MI field, several EEG channel effects are observed.
Many studies have been carried out to develop EEG-based BCIs. Most of the studies deal with the performances obtained by the feature extraction operations on the electrodes placed on the scalp, followed by machine learning and deep learning classifications. Studies with EEG source imaging have also become widespread in recent years. While EEG has a temporal resolution that allows neural activity to be visualized in milliseconds, it can provide very little spatial information. In 2023, Dillen et al. [
14] conducted a study involving 15 subjects and recorded MI using 64 electrodes. The study’s result demonstrated the feasibility of decoding MI from EEG data with a relatively limited number of sensors. In 2022, Abdullah et al. [
15] studied EEG channel selection. Their research revealed that employing 10–30% of the total channels typically resulted in excellent performance, surpassing existing studies that use all available channels.
In 2021, Meng et al. [
16] performed classification for the right hand and left hand with an Iterative Plot Convolutional Neural Network on EEG signals at the electrode level. In 2021, Singh et al. [
17] published an extensive review paper on data collection, motor image training, signal preprocessing, feature extraction, channel and feature selection, classification, and performance measures in the motor image EEG field. In 2021, Zhang et al. [
18] showed that the use of fewer EEG channels by channel selection using the automatic channel selection method not only reduces the computational complexity but also improves the classification performance in MI. In 2020, Saxena et al. [
19] investigated functional brain activation by source localization for the right hand, left hand, two feet, and tongue and observed that the premotor cortex, primary motor cortex, postcentral gyrus, and posterior parietal cortex are significantly activated compared to other cortical areas of the brain. In 2017, Handiru et al. [
20] achieved 10% higher success in arm movement by performing operations in the source space compared to channel-level signals. In a related study, 118 EEG channels were used, and operations were carried out in the source space to detect the movement of the right hand in four directions: north, south, east, and west. In 2020, Hou et al. [
21] reported that they increased the classification success by extracting features from the signals in the patches they placed on the brain with EEG source localization and by classifying with convolutional neural networks. In 2004, Qin et al. [
22] published a pilot study using source analysis. It was reported that the conversion of electrode EEG signals to source potentials helps to classify motor image EEG signals. In that study, one of the first studies in this field, data were recorded with 59 channels, including right hand and left hand motor imagination signals. Independent Component Analysis (ICA) and equivalent dipole analysis methods were used in the study. If the equivalent dipole occurs in the relevant brain lobe, it is accepted that the classification is correct. With this logic, an 80% classification accuracy was achieved. It has been reported that changes are observed around the C4 electrode in the left hand imagination and around the C3 electrode in the right hand imagination. It has been reported that the MI of the feet is around the Cz electrode. Because the areas are close, it is difficult to decide which foot the MI belongs to. In 2005, Kamousi et al. [
23] reported promising results using source localization in right hand and left hand MI for four subjects.
From the literature review, it is apparent that the effect of the number of EEG electrodes on source localization epileptic foci localization has been investigated, but that the MI issue has not been studied so far. Motivated by this, we analyze the impact of employing a different number of EEG electrodes to the addressed issue. To the best of our knowledge, this paper’s notable contributions include analyzing the effect of the number of channels on cortical signals calculated from motor imaginary EEG recordings and exploring the Brodmann region combinations that will provide the highest performance.
3. Results
As a novel contribution to the literature, this study seeks to answer whether there is a relationship between the number of channels and the classification performance for MI.
EEG data are compared by performing feature extraction and classification with MATLAB R2017b and R2024b using backward problem-solving for 19, 30, 61, and 118 channels with the Brainstorm software.
We use four different configurations in the experiments. The channels are selected according to the most popular commercial EEG caps in the literature. The SVM method with linear and radial basis function (RBF) kernels is used to perform the experiments. The results based on metrics such as accuracy, sensitivity, specificity, precision, and F1-score are presented in
Table 2,
Table 3,
Table 4 and
Table 5. In our calculations, when right hand images are correctly recognized, the true positive (TP) value increases, while if they are incorrectly classified as right foot images, the false negative (FN) value increases. Similarly, correctly identifying right foot imageries increases the true negative (TN) value, while misclassifying them as right hand imageries increases the false positive (FP) value.
When
Table 1 is examined, the number of samples in the training and testing datasets varies for each subject. The results for 1820 combinations are evaluated and shown for the combination with the highest accuracy.
In
Table 2, it is seen that the “al” subject achieved 100% success because it has 224 training samples. The subject’s samples are far more than the others and as a result, its success is also higher than the other subjects.
In
Table 3, the number of channels increased from 19 to 30. When the average results are taken into account, it can be observed that 30 channels are more successful than the 19-channel case.
The results are given for 61 channels in
Table 4. When the results of 61 and 30 channels are compared, generally, slightly improved results are obtained with 61 channels than with 30 channels.
In
Table 5, the number of channels increased from 61 to 118. The evaluation of the results reveals that the accuracy and F1-scores in the 61-channel measurements are higher than in the 118-channel measurements. In the method proposed here, only the specificity and sensitivity values increase when 118 channels are used. This shows that 61 channels provide better results than 118-channel measurements.
When examining the tables, accuracy improves to a certain extent as the number of channels increases. The main improvement is seen in the precision and specificity values. Considering the results, fewer channels suffice for non-critical applications, 61 channels are meaningful for accuracy-critical applications, and high-density channel usage is essential for applications requiring greater specificity and precision values.
The averages of the results in
Table 2,
Table 3,
Table 4 and
Table 5 are calculated, and the average accuracy and F1-score values obtained for different channel numbers are presented in
Table 6.
Figure 4 and
Figure 5 display the average F1-score, average accuracy, and the lowest and highest F1-score values for five subjects across varying channel numbers. Considering all the channel numbers illustrated in
Figure 4, the best results using the proposed SVM method with linear kernel are achieved with 30 and 61 channels. Furthermore, similar results are observed using the SVM method with the RBF kernel, as shown in
Figure 5. In this context, the accuracy values from 19 and 118 channels can be disregarded as they are somewhat lower than those from 30 and 61 channels.
4. Discussion
In this study, we aimed to answer whether there is a relationship between the number of EEG channels and the classification performance of MI. Four different numbers of EEG channel configurations are selected. The main goal of the analysis is to determine the positive or negative relationship between MI and the number of channels. Many studies have investigated the number of channels that should be used, especially in epilepsy studies [
38]. This study aimed to determine whether and to what extent higher-density EEG provides additional useful information. A 118-channel dataset from five healthy individuals was used, and three subsets with 19, 30, and 61 channels were created from it. The results indicated that increasing the number of channels increased the prediction accuracy to a certain level, but the success rate decreased slightly when increasing from 61 to 118 channels. Despite the reduction in the represented area, fewer channels still produced comparable results.
Various reports can be found in the literature regarding the effect of an increase in the number of channels. Some studies have indicated that increasing the number of EEG channels increases the success, while others have reported that no significant change or a decrease in success is also possible. For example, in 2017, Schirrmeister et al. [
39] demonstrated that the data from more channels improves classification accuracy. They specifically employed deep learning models to show how more channels improve classification performance. Similarly, in 2019, Roy et al. [
40] reported that the data from more channels helps algorithms filter noise more effectively and reduce the impact of erroneous data. In 2018, Lotte et al. [
41] found that some channels carry less information and using these channels can degrade classification performance.
Furthermore, in 2022 Soler et al. [
42] showed that optimal subsets with six electrodes achieved equal or higher accuracy than 200+ channel HD EEG. In 2021, Zhang et al. [
43] reported that increasing the number of EEG channels does not always improve classification performance and can sometimes degrade it. According to their experiments, certain classification algorithms performed better with 32-channel EEG data than 64-channel data. In 2024, Ajra et al. [
44] reported that successful classification could be achieved even with single-channel EEG classification, which is important for the use of single-channel EEG in real-world applications.
EEG systems vary in channel count from 1 or 8 channels to 19, 32, and 64–256 (HD-EEG) channel configurations. HD-EEG provides detailed observation of brain activity and is used in both healthy and clinical populations. It has been shown that increasing the number of channels can increase the spatial resolution and classification accuracy. Electroencephalogram (EEG) caps with fewer channels are less expensive, more straightforward to install, and can reduce noise and data redundancy. They also result in lower computational costs and higher accuracy. However, the reduction in channels can potentially lead to low spatial resolution, information loss, while the complexity of patterns may be underestimated, and classification accuracies may be diminished when the number of channels is insufficient.
Ketola et al. [
45] reported that high sampling rates and the use of large numbers of electrodes cause the data size to increase rapidly. Suwannarat et al. [
46] stated that the use of a small number of EEG channels is especially important for areas such as wearable solutions in healthcare and mobile rehabilitation. Shiam et al. [
47] emphasized that by making an effective channel selection and classifying after removing unnecessary information, accuracy increases.
Most multi-channel EEG systems are not portable and rely on fixed hardware. Therefore, it is crucial to find an optimal balance between the number of channels and system usability; this is particularly important in the context of application-specific solutions.
In this study, four distinct channel configurations were selected for experiments to assess the validity of employing the effects of different channels. Four different subsets of EEG channels were used to solve the inverse problem and were compared according to accuracy and various measures of success in EEG MI. The results in this study show that even with fewer channels, it is possible to obtain results comparable to those obtained with multiple channels. Although multichannel EEG expands the representation space, it did not raise the predicted learning level as expected, and no significant increases were observed.
The variation in classification performance concerning the number of EEG channels is influenced by both neurophysiological and computational factors. Using a small number of channels, such as 19, limits the spatial resolution and restricts accurate source localization. Conversely, using too many channels, such as 118, may increase model complexity and risk overfitting due to redundant information and noise. A moderate range of 30 to 61 channels generally provides sufficient spatial coverage and a balanced signal-to-noise ratio, thereby supporting more reliable classification after source localization.
It can be concluded that increasing the number of electrodes does not always enhance classification performance. To achieve the best results, the number and placement of electrodes should be carefully determined, considering the classification algorithms and data processing techniques utilized. Statistically, a larger number of subjects can lead to better results.
Increasing the number of EEG channels generates more data, increases computation time, and complicates data processing and analysis. Using fewer channels can reduce costs and setup time and may have the advantage of increasing patient comfort. Each additional channel increases signal processing time and data size, which increases cost and complexity. Minimizing the number of EEG channels in research is beneficial as it saves computation time and cost.
5. Conclusions
This study investigates the effect of the number of channels used on the classification of EEG signals following EEG source imaging. It is observed that the performance is good when all channels in the dataset are used, but higher performance is obtained when 30 and 61 channels are used. The accuracy of using 19 channels and 118 channels are close to each other.
The system is trained and tested using EEG potentials obtained with sLORETA. The 19-channel results show less success, but there is no significant drop. The 30-channel and 61-channel results are better than those obtained with 19 channels. The 118-channel results are better than those for 19 channels but less than for 30 and 61 channels. The best results are achieved when 61 channels are utilized.
One shortcoming of the current study is the quite limited number of subjects. The use of EEG data from only five subjects implies important limitations that may affect the reliability and generalizability of the findings. With such a small sample size, the dataset may not fully capture interindividual variability, increasing the risk of overfitting, especially in machine learning applications. The statistical power is also limited. Therefore, findings based on this dataset should be interpreted with caution and should be considered preliminary. It would be of value to provide results with more subjects in the future. However, the results reported in this work were obtained using all the channels on the cap without any channel selection and were compared with a standard EEG caps configuration.
Future work should aim to improve the generalizability of this method by testing the source localization algorithms, feature extraction, and classification on larger datasets and more subjects. A larger number of channels would enable more detailed and precise measurements but can also lead to more complex data processing and analysis. On the other hand, systems with fewer channels are less costly, more portable, and easier to use.