Next Article in Journal
Non-Enzymatic Amperometric Glucose Sensor Based on Carbon Nanodots and Copper Oxide Nanocomposites Electrode
Next Article in Special Issue
Improved ORB Algorithm Using Three-Patch Method and Local Gray Difference
Previous Article in Journal
Incorporating Worker Awareness in the Generation of Hazard Proximity Warnings
Previous Article in Special Issue
Detection of Atrial Fibrillation Episodes in Long-Term Heart Rhythm Signals Using a Support Vector Machine
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Comparison of Smoothing Filters in Analysis of EEG Data for the Medical Diagnostics Purposes

by
Aleksandra Kawala-Sterniuk
1,*,
Michal Podpora
1,
Mariusz Pelc
1,2,
Monika Blaszczyszyn
3,
Edward Jacek Gorzelanczyk
4,5,6,7,
Radek Martinek
8 and
Stepan Ozana
8,*
1
Faculty of Electrical Engineering, Opole University of Technology, Automatic Control and Informatics, 45-758 Opole, Poland
2
Department of Computing and Information Systems, University of Greenwich, SE10 9LS London, UK
3
Faculty of Physical Education and Physiotherapy, Opole University of Technology, 45-758 Opole, Poland
4
Department of Theoretical Basis of BioMedical Sciences and Medical Informatics, Nicolaus Copernicus University, Collegium Medicum, 85-067 Bydgoszcz, Poland
5
Institute of Philosophy, Kazimierz Wielki University, 85-092 Bydgoszcz, Poland
6
Babinski Specialist Psychiatric Healthcare Center, Outpatient Addiction Treatment, 91-229 Lodz, Poland
7
The Society for the Substitution Treatment of Addiction “Medically Assisted Recovery”, 85-791 Bydgoszcz, Poland
8
Department of Cybernetics and Biomedical Engineering, VSB-Technical University Ostrava, FEECS, Ostrava-Poruba 708 00, Czech Republic
*
Authors to whom correspondence should be addressed.
Sensors 2020, 20(3), 807; https://doi.org/10.3390/s20030807
Submission received: 31 December 2019 / Revised: 21 January 2020 / Accepted: 28 January 2020 / Published: 2 February 2020

Abstract

:
This paper covers a brief review of both the advantages and disadvantages of the implementation of various smoothing filters in the analysis of electroencephalography (EEG) data for the purpose of potential medical diagnostics. The EEG data are very prone to the occurrence of various internal and external artifacts and signal distortions. In this paper, three types of smoothing filters were compared: smooth filter, median filter and Savitzky–Golay filter. The authors of this paper compared those filters and proved their usefulness, as they made the analyzed data more legible for diagnostic purposes. The obtained results were promising, however, the studies on finding perfect filtering methods are still in progress.

1. Introduction

The human brain is one of the most important organs, which is responsible for electrical signals’ transmission all over the body and is mainly controlled by the nervous system. The brain-generated electrical data is known as electroencephalograph (EEG) [1,2].
Analysis of biomedical data has been the subject of analysis for numerous researchers all over the world, despite its challenging nature. This is because they are frequently riddled with various internal and external artifacts such as high-frequency noise, or in case of EEG, by another biomedical signal such as electromyography (EMG), electrocardiography (ECG) or electrooculography (EOG) [3,4,5,6]. Not only do other (stronger) biomedical signals affect the EEG signals, but so do numerous external artifacts [6,7,8].
Electroencephalography also provides manifold useful information regarding inter alia various psychological dysfunctions or mental illnesses and even hints on how the mind works [9,10].
This paper is a review of the implementation of various smoothing filters in order to show the efficiency and usability of such in the filtering of biomedical data. The authors of this work focus on the evaluation of both advantages and disadvantages of the above-mentioned methods and their potential implementation in the analysis of EEG signals [6,11,12].
The interdisciplinary character of this work proves the necessity of cooperation of various scientific areas in data analysis. Mathematical methods enable to inter alia predict growth of tumor [12] or design appropriate filters in order to remove artifacts affecting bio-medical data [13,14].
The human brain starts its neural activity during the second pregnancy trimester, between the 17th and 23rd week. The electrical activity of the human brain represents not only state of the brain but also the condition of the whole body [9,10].
The history of electroencephalography started in the 19th century, where Carlo Matteucci and Emil Du Bois-Reymond were the first people who registered the electrical signals from muscle nerves using a very basic galvanometer. The first person who decided to place two electrodes connected to the galvanometer on the scalp was Richard Caton (in 1875) [10,15]. The father of electroencephalography is Hans Berger, who, nearly 50 years later, recorded first proper human signals [15,16].
Hans Berger started his research on human EEG already in 1920 and published his first report in 1929, he was able to distinguish the alpha frequencies as the major EEG component [10,16]. He was the first one to record sleep spindles and to observe the hypoxia effect on the human brain or nature of some brain disorders such as epilepsy. He was also interested in brain tumors and was the first one to find a correlation between mental activities and the changes in the EEG signals [10]. The brain can work due to information coming from the body’s organs (such as the circulatory system, digestive system, genitourinary system, skin).
The authors of this paper focus mainly on electroencephalography as a non-invasive method of brain activity measurement and the obtained data is very useful not only to diagnose but also to monitor various disorders such as inter alia head trauma, tumors, epilepsy, sleep problems [17,18,19].
The EEG-based analysis is also inexpensive, safe and easy to carry out [18,20]. Most of the modern devices are also portable which makes it a very popular solution for brain–computer interfaces [21,22]. Modern EEG can be a good alternative to magnetic resonance imaging (MRI) or computer tomography (CT) [19,20].
All the above has led the electroencephalography to be the most frequently used method for neuro-imaging especially in the past twenty years [6,19,23].
The main aim of this paper was to test and compare various filters with smoothing features, such as median filter and Savitzky–Golay filter and of course classic ’smooth’ filter. Smoothing EEG data enables to observe i.e., some action and the process of smoothing usually does not affect the signal in a way traditional filtering does.

2. Methods

Based on literature review and authors’ experience, it is important to choose appropriate filtering methods, so that important information would not be lost. Some work, where a similar study was performed, suggest choosing (while filtering using Savitzky–Golay filters) as high as possible window length N and as low as possible frame L [24]. However, the tests carried out by the authors of this paper proved that higher N value smoothed the signals too strongly and the obtained results were less legible and less useful for the diagnostics’ purposes.
For the purposes of this study, the authors applied various smoothing filters. The first one was the basic, classic smoothing filter with the default span for the moving average. The second one was similar, but with the defined moving average parameter of 15. The third one was Savitzky–Golay filter. A generalized moving average with filter coefficients determined by an unweighted linear least-squares regression and a polynomial model of specified degree (the authors decided to apply the default one, which is 2) and it could be accepted as nonuniform predictor data. The 4th smoothing filter was the Savitzky–Golay filter with the following parameters: 4th (order) and 27 (frame length). The last, 5th one was the Median Filter of the 9th order.
The results were satisfying. As mentioned above, Savitzky–Golay is a digital polynomial filter (or a least smoothing filter) [25]. Both filters are smoothing filters [26,27,28]. The classic, ‘basic’ smoothing filter smooths the data in the column vector using a moving average filter, which works in the way that it replaces each data point with the average of the neighbor data points (defined within its span). It is similar to the lowpass filtering.
The authors of this paper decided to focus on four channels only: ‘C3’, ‘C4’, ‘P3’ and ‘P4’, because the ‘C3’ and ‘C4’ electrodes are placed above the primary motor cortex area for the hand and foot movements, which was assumed to be the appropriate location for analysis of hand movements [29,30]. The location of the ‘C3’ and ‘C4’ electrodes is also linked with the motor preparation and movement execution, where the ‘P3’ and ‘P4’ electrodes represent the parietal area and are functionally related to integration of sensory information from different modalities [30,31]. These are also so-called homologous electrode pairs (left-right centrals and left-right parietals) [32].
In Figure 1 location of the analyzed electrodes (based on the 10-20 system) was illustrated.
As it was mentioned above, the ‘C3’ and ‘C4’ locations are located over the contra-lateral cortical regions and these are responsible for the limbs’ movements, especially for the hand movements [33]. These are also linked with motor preparation and execution, while the ‘P3’ and ‘P4’ represent the medial parietal areas linked with the sensory information [30].
Based on thorough literature study and authors’ experience, chasing the ‘C3’, ‘C4’, ‘P3’ and ‘P4’ was caused by their location above particular cortex areas. The most commonly selected areas are of course the ‘C3’ and ‘C4’ for both imagery and real movements, the electrodes from the parietal regions (such as ‘P3’ and ‘P4’) are less frequently used, but their location is also very useful for both imagery and real movements’ classification [34,35].

Applied Smoothing Filtering

For the purpose of signals’ analysis improvement, the authors decided to perform some tests in the analysis of bio-medical data, in particular, EEG signals, with the implementation of smoothing filters such as Savitzky–Golay, smooth and median filters. This is because smoothing of bio-medical signals require additional attention as the data, in particular, EEG signals, are very sensitive and prone to various artifacts. Some frequency ranges may also contain crucial information, potentially important for diagnostic purposes, and an incorrect choice of processing or filtering methods may affect these [27].
Therefore, smoothing filters have become recently very popular as they enable the extraction of desired data from analyzed signals. The smoothing process modifies the signal’s data points so noises are reduced, and the points that are lower than their neighboring points are increased. It results in a smoother signal [36,37,38,39].
Smoothing of EEG signals plays a crucial role in inter alia diagnostics as it makes the data more legible, therefore the authors of this paper tested various smoothing filters, where each had advantages and disadvantages. Most filters apply averaging in a certain window, such as inter alia Savitzky–Golay or use frequency-domain representation, e.g., Fourier-based filters [28].
This work discusses the advantages and disadvantages of classic smooth filters such as medfilter or Savitzky–Golay filter, which were chosen because they differ from other filters as they reduce the risk of data cutouts, and the smoothed values can be written as a linear transformation of the values. The performed smoothing operation is known as a linear smoother [25,27].
The choice of appropriate filtering is challenging as non-linear filters differ from linear filters, in a way that they could be adaptive. In practice, this means that they retain the so-called edges, which are frequently present in the EEG signals [36,37,38,40,41]. Smoothing filters’ (Savitzky–Golay and Median filters) application enables to correct inter alia spikes present in the data [25,27].
The Savitzky–Golay filter is a least square smoothing filter (digital polynomial filter), its working principles involve replacing each value with a new value, previously obtained from a polynomial fitting, which is performed with a basic linear least-square fitting to the 2 n + 1 neighboring points, where the value n could be equal or greater than the order of the applied polynomial. The more neighbors are applied, the smoother will be the final signal [25]. It smooths the fluctuations and increases the signal–noise ratio (SNR) without significant distortion of the analyzed data [27,42].
The median filter is a non-linear filter, in which the mean value of a sequence (of values in the ascending order of data) of the processed point and its surroundings is measured. The advantage of this filter is that all of the values that deviate from the average are omitted [42]. Such filters are also using–in case of 1D filtering—a window (a sequence of values of the input signal) of a predefined length [43]. The output signal is composed of the individual median values of all the windows. The filter can be applied to offline data using the moving median algorithm, which is similar to the moving average, but for some applications is considered to be better [44] (because it is not averaging the neighboring values), while for some other applications (including trading systems [45]) the moving average is preferred. The median filter can also be easily applied to online data (acquired and processed in realtime) by implementing it in (or as) an intermediate buffer for the measured values.
While the median filter is significantly more efficient in eliminating spikes than moving average and the neighboring values (i.e., these output values-to-be-calculated that happen to have the spike within their input window) are not shifted by the spike. The reason for this is the median filter’s robustness to outliers, whereas the moving average calculates the output value using all window’s values, including the outlier [44].
The simplicity of the median filter’s implementation, as well as its efficiency in filtering spikes and delicate smoothing of the signal, has convinced the authors to choose it as one of the considered filtering options. In most cases, window length of three is enough for basic and simple filtering (if the signal contains one-value spikes), and longer windows are valued for their better smoothing properties, but in the processed EEG signal the spikes were not just single-value outliers, therefore a longer window was needed and used.

3. Results

The data applied for this study purpose was downloaded from the open-source database: “GigaScience database, GigaDB” [46]. For the study purposes, the authors of the database tested 52 healthy participants: 19 females (mean age ± SD age = 24.8 ± 3.86 years). They were able to collect 20 trials of real hand movements (left and right hands), two subjects were both-handed. As a result, both EEG and EMG signals were obtained. The data was recorded with the implementation of 64 Ag/AgCl active electrodes placed in accordance with the 10-10 system. The sampling frequency was 512 Hz. The two EMG electrodes were attached to the flexor digitorum profundus and extensor digitorum [46]. The used EEG device was the Biosemi ActiveTwo system, with the BCI2000 system 3.0.2 [47].
Below (see: Figure 2 and Figure 3) are presented sample real hand movements, 1 second intervals only, where Figure 2, illustrates right hand movement and Figure 3 left hand one. The signals were recorded during real limb movements from locations ‘C3’, ‘C4’, ‘P3’ and ‘P4’, while the next series (Figures 8–13) concerns imaginary right and left upper limbs movements recorded in the same location.
It can be observed, that the data “smoothing” affected the overall shape of the signals, the closest to the original one is the data filtered with the basic-smooth-Savitzky–Golay filter.
In Figure 4, Figure 5, Figure 6 and Figure 7 spectrograms (10 seconds intervals) of filtered and raw data for real, both hand movements (channels: C3 and C4) are presented.
The spectrograms presented in Figure 4, Figure 5, Figure 6 and Figure 7 prove that the implementation of the Savitzky–Golay filter and median filter gave the most legible results, with the small advantage of the median filter.
Similar observations where made while analysing of imagery movement data.
The data comes from the recording performed during imagery movements, which were illustrated with Figure 8 and Figure 9.
The thorough analysis of the obtained spectrograms (Figure 10, Figure 11, Figure 12 and Figure 13) of the imagery movement data gave similar results to the those received during analysis of the real movements.
It is possible to observe in Power Spectral Density (PSD) diagrams (see: Figure 14, Figure 15, Figure 16 and Figure 17) that the raw data and the median data plots have the most similar shape.
For the potential diagnostics purposes, in order to inter alia observe the alpha waves, without using the spectrograms, the classical, smooth-Savitzky–Golay filter gave the most promising results. It visibly smoothed the data, but did not distort the waves’ shapes.

4. Discussion

Appropriate choice of filtering may improve various solutions requiring using the EEG data and may improve advance in the development of brain–computer Interfaces. It is an excellent way for communication for handicapped users [6,18,20,23,48].
It may also help in finding appropriate markers for particular psychiatric disorders. Unfortunately, in current psychiatry the interview is still the main diagnostics tool. It makes it hard for the psychiatrist to choose the appropriate treatment method. The EEG-based diagnosis may support this choice [19,20]. Those methods can help explain the role of cortico-subcortical loops not only in the perspective of physiological control of the majority of motor, emotional and cognitive functions [49] but as well explanation of mental disease pathophiology (among others: addiction, schizophrenia, bipolar disorders) and brain structures sources of mind [50]. Multiple scientific groups are currently working on finding neurophysiological biomarkers of various psychiatric disorders [19].
The study of the EEG data could be performed as an index of training-related brain plasticity in the motor cortex. Due to plastic changes, the EEG could indirectly but objectively reveal changes in cerebral activity related to physical training. This method could be used as a future diagnostic test in the follow-up of patients undergoing rehabilitation. It could also have potential applications in the fields of sports medicine [51].
Abnormal power and functional coupling of resting-state observed in cortical EEG rhythms can also be used to predict and monitor the evolution of Alzheimer’s disease and its relative impact on cognitive domains in pre-clinical, prodromal, and dementia stages of Alzheimer’s disease [52].

Further Research Plans

The authors of this work are planning to apply non-integer order filters and to compare them with the above-mentioned filters with fractional filters. Non-integer order filtering implementation in the analysis of biomedical data is still an innovative and uncommon idea [3,4], but the theoretical background of fractional systems has a much longer history [8,53]. At first, it was mentioned in a letter to L’Hospital in 1695. The first contributions to the topic were made already in the 18th century by Euler and Lagrange and the first studies on it were performed in the 19th century by Liouville, Riemann and Holmgren [54]. The theoretical basis of non-integer order filters has been very well documented in various publications (such as inter alia: [55]), but its use in bio-medical field is still new and not fully discovered [8,53,56].
The use of non-integer filters in the processing of biomedical signals is becoming more and more popular [3,4,8,53,56,57,58]. This is especially in regards of analysis of EEG, EMG or ECG), as it was mentioned above [13,14,56].
Obviously, fractional filters may appear very useful in many application domains out of which the widely understood smart/autonomous (control) systems seem to be extremely prospective. The main reason is that in such systems the awareness of the surrounding environment, which is essential to implement any kind of autonomous behavior, is usually coming from various kinds of sensors. The data provided by the sensors, even for the most sophisticated ones that usually are equipped by their manufacturers with built-in filtration capability, is usually very noisy and may need to be, not only properly filtered, but also additionally compensated (e.g., gyroscope data/drift widely applied to UAVs) [59].

5. Conclusions

The overwhelming significance of the knowledge of basic elements of electroencephalography in its application to the diagnostic workup and the management of patients with suspected or already established generalized epilepsy (GE), however, there is a dearth of data on the pattern and utility of clinical variables that can independently determine EEG abnormalities in GE. The paper [60] underscores the relevance of the different parameters used to decode movement, using EEG in severely paralyzed stroke patients.
Further implementation of proposed filtering methods was shown in the aspect of smoothing inverted pendulum’s movement trajectories. The filtering was implemented for the purpose of some artifacts removal. The authors have already tested various classical smoothing filters on the single-inverted pendulum (a classical problem in control theory) [61,62,63].
However, the filtration may not satisfy the deployment platform requirements and additionally, if needed, it may be difficult to change or tune the filtration parameters to satisfy the desired filtration quality. This is why it is usually possible to access the raw data in order to potentially implement some alternative filtration methods. This space can easily and efficiently be filled out by the fractional filters that provide exceptionally good frequency selectiveness so much needed for the decision-making process (which is an integral part of autonomous behavior). Typically, the technologies that are applied to smart/autonomous systems (e.g., artificial neural networks, fuzzy logic, policy-based computing, or some combinations of all or some of them [64], etc…) rely on the data sensed from the systems processing them in the “as they are” form. It is easy to understand that the better is the sensed data quality, the more accurate are the decisions made by the system.
As was mentioned above, the authors found that the classical, smooth-Savitzky–Golay filter gave the most promising results. It visibly smoothed the data, but did not distort the waves’ shapes. In Figure 18 below, it is possible to observe clear ‘alpha waves’ in 1 second period when the signal was filtered using the Savitzky–Golay Filter. The raw data is very spiky and full of artifacts, although the spectrograms proved the strong presence of the alpha waves.
Using smoothing filters in analysis of the EEG data makes them more legible in aspect of the waves’ shapes. It also does not require using spectrograms.

Author Contributions

Conceptualization, A.K.-S., M.B. and S.O.; methodology, A.K.-S., M.P. (Michal Podpora) and S.O.; software, A.K.-S; validation, A.K.-S., R.M., M.P. (Michal Podpora), M.P. (Mariusz Pelc), S.O.; formal analysis, A.K.-S., S.O., M.P. (Michal Podpora), M.P. (Mariusz Pelc); investigation, A.K.-S., S.O.; resources, A.K.-S.; data curation, A.K.-S.; writing—original draft preparation, A.K.-S., S.O., M.P. (Mariusz Pelc), E.G., M.B. and M.P. (Michal Podpora); writing—review and editing, A.K-S., R.M., M.P. (Mariusz Pelc), M.P. (Michal Podpora), E.G., S.O. and M.B.; visualization, A.K.-S. and S.O.; supervision, A.K.-S., R.M. and S.O.; project administration, A.K.-S. and S.O.; funding acquisition, S.O. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the European Regional Development Fund in the Research Centre of Advanced Mechatronic Systems Project, project number CZ.02.1.01/0.0/0.0/16_019/0000867 within the Operational Programme Research, Development and Education and by the project SP2020/42, “Development of algorithms and systems for control, measurement and safety applications VI” of Student Grant System, VSB-TU Ostrava.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Midhun Raj, C.R.; Harsha, A. Analysis of Fractional Tools on EEG Compression. In Proceedings of the International Conference on Communication and Electronics Systems (ICCES), Coimbatore, India, 21–22 October 2016; pp. 1–5. [Google Scholar]
  2. Midhun Raj, C.R.; Harsha, A. Study on Wavelet Spectral Band based EEG Compression. In Proceedings of the International Conference on Data Science and Engineering (ICDSE), Cochin, India, 23–25 August 2016; pp. 1–5. [Google Scholar]
  3. Ferdi, Y. Fractional Order Calculus-based Filters for Biomedical Signal Processing. In Proceedings of the 2011 1st Middle East Conference on Biomedical Engineering, Sharjah, United Arab Emirates, 21–24 February 2011; pp. 73–76. [Google Scholar]
  4. Ferdi, Y. Some Applications of Fractional Order Calculus to Design Digital Filters for Biomedical Signal Processing. J. Mech. Med. Biol. 2012, 12, 1–13. [Google Scholar] [CrossRef]
  5. Kawala-Janik, A.; Podpora, M.; Baranowski, J.; Bauer, W.; Pelc, M. Innovative Approach in Analysis of EEG and EMG Signals–Comparision of the two Novel Methods. In Proceedings of the 19th International Conference on Methods and Models in Automation and Robotics (MMAR), Miedzyzdroje, Poland, 2–5 September 2014; pp. 804–807. [Google Scholar]
  6. Kawala-Janik, A.; Pelc, M.; Podpora, M. Method for EEG Signals Pattern Recognition in Embedded Systems. Elektron. ir Elektrotech. 2015, 21, 3–9. [Google Scholar] [CrossRef] [Green Version]
  7. Teo, J.; Hou, L.C.; Mountstephens, J. Preference Classification Using Electroencephalography (EEG) and Deep Learning. J. Telecommu. Electron. Comput. Eng. 2016, 10, 87–91. [Google Scholar]
  8. Kawala-Janik, A.; Bauer, W.; Zolubak, M.; Baranowski, J. Early-Stage Pilot Study on Using Fractional-Order Calculus-Based Filtering for the Purpose of Analysis of Electroencephalography Signals. Stud. Logic Gramm. Rhetor. 2016, 47, 103–111. [Google Scholar] [CrossRef] [Green Version]
  9. Erickson, M.A.; Kappenman, E.S.; Luck, S.J. High Temporal Resolution Measurement of Cognitive and Affective Processes in Psychopathology: What Electroencephalography and Magnetoencephalography Can Tell Us About Mental Illness. Biol. Psychiatry Cogn. Neurosci. Neuroimaging 2018, 3, 4–6. [Google Scholar] [CrossRef]
  10. Sanei, S.; Chambers, J.A. EEG Signal Processing; Wiley: New York, NY, USA, 2008. [Google Scholar]
  11. Srinivasan, R.; Nunez, P.L.; Tucker, D.M.; Silberstein, R.B.; Cadusch, P.J. Spatial sampling and filtering of EEG with spline Laplacians to estimate cortical potentials. Brain Topogra. 1996, 8, 355–366. [Google Scholar] [CrossRef]
  12. Rihan, F.A.; Safan, M.; Abdeen, M.A.; Abdel-Rahman, D.H. Mathematical Modeling of Tumor Cell Growth and Immune Systems Interactions. Int. J. Mod. Phy. Conf. Ser. 2012, 9, 95–111. [Google Scholar] [CrossRef]
  13. Baranowsk, J.; Piatek, P.; Kawala-Janik, A.; Zagorowska, M.; Bauer, W.; Dziwinski, T. Non-integer Order Filtration of Electromyographic Signals. In Advances in Modelling and Control of Non-integer-Order Systems. Lecture Notes in Electrical Engineering; Latawiec, K., Lukaniszyn, M., Stanislawski, R., Eds.; Springer Verlag: Berlin, Germany, 2015; pp. 231–237. [Google Scholar]
  14. Kawala-Janik, A.; Bauer, W.; Zolubak, M.; Kolanska-Pluska, J.; Nazimek, B.; Sobolewski, T.; Grochowicz, B. Implementation of Non-Integer Smoothing Filtering in Analysis of Polysomnography Data. In Proceedings of the 2018 Progress in Applied Electrical Engineering (PAEE), Koscielisko, Poland, 18–22 June 2018; pp. 1–5. [Google Scholar]
  15. Cantor, D.S. An overview of quantitative EEG and its applications to neurofeedback. In Introduction to Quantitative EEG and Neurofeedback; Evans, J.R., Abarbanel, A., Eds.; Elsevier: New York, NY, USA, 1999; pp. 3–27. [Google Scholar]
  16. La Vaque, T.J. The History of EEG Hans Berger. Psychophysiologist. A Historical Vignette. J. Neurother. 1999, 3, 1–9. [Google Scholar] [CrossRef] [Green Version]
  17. Rak, R.J.; Kolodziej, M.; Majkowski, A. Brain-computer interface as measurement and control system the review paper. Metrol. Meas. Syst. 2012, 19, 427–444. [Google Scholar] [CrossRef]
  18. Wierzgala, P.; Zapala, D.; Wojcik, G.M.; Masiak, J. Most Popular Signal Processing Methods in Motor-Imagery BCI: A Review and Meta-Analysis. Front. Neuroinform. 2018, 12, 78. [Google Scholar] [CrossRef] [Green Version]
  19. Wojcik, G.M.; Masiak, J.; Kawiak, A.; Schneider, P.; Kwasniewicz, L.; Polak, N.; Gajos-Balinska, A. New Protocol for Quantitative Analysis of Brain Cortex Electroencephalographic Activity in Patients With Psychiatric Disorders. Front. Neuroinform. 2018, 12. [Google Scholar] [CrossRef] [PubMed]
  20. Wojcik, G.M.; Masiak, J.; Kawiak, A.; Kwasniewicz, L.; Schneider, P.; Polak, N.; Gajos-Balinska, A. Mapping the Human Brain in Frequency Band Analysis of Brain Cortex Electroencephalographic Activity for Selected Psychiatric Disorders. Front. Neuroinform. 2018, 12, 73. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  21. Hong, K.-S.; Khan, M.J.; Hong, M.J. Feature Extraction and Classification Methods for Hybrid fNIRS-EEG Brain-Computer Interfaces. Front. Hum. Neurosci. 2018, 12, 246. [Google Scholar] [CrossRef] [PubMed]
  22. Kolodziej, M.; Majkowski, A.; Oskwarek, L.; Rak, R.J.; Tarnowski, P. Processing and Analysis of EEG Signal for SSVEP Detection. In Recent Developments and Achievements in Biocybernetics and Biomedical Engineering. Advances in Intelligent Systems and Computing; Augustyniak, P., Tadeusiewicz, R., Eds.; Springer Verlag: Berlin, Germany, 2018; pp. 3–21. [Google Scholar]
  23. Kotyra, S.; Wojcik, G.M. Steady State Visually Evoked Potentials and Their Analysis with Graphical and Acoustic Transformation. In Recent Developments and Achievements in Biocybernetics and Biomedical Engineering. Advances in Intelligent Systems and Computing; Augustyniak, P., Tadeusiewicz, R., Eds.; Springer Verlag: Berlin, Germany, 2018; pp. 22–31. [Google Scholar]
  24. Agarwal, S.; Rani, A.; Singh, V.; Mittal, A.P. EEG signal enhancement using cascaded S-Golay filter. Biomed. Signal Process. Control 2017, 36, 194–204. [Google Scholar] [CrossRef]
  25. Jahani, S.; Setarehdan, S.K.; Boas, D.A.; Yucel, M.A. Motion Artifact Detection and Correction in Functional Near-infrared Spectroscopy: A New Hybrid Method Based on Spline Interpolation Method and Savitzky–Golay Filtering. Neurophotonics 2018, 5, 015003. [Google Scholar] [CrossRef] [Green Version]
  26. Mohammadi-Moghaddam, T.; Razav, S.M.A.; Sazgarnia, A.; Taghizadeh, M. Predicting the moisture content and textural characteristics of roasted pistachio kernels using Vis/NIR reflectance spectroscopy and PLSR analysis. J. Food Meas. Charact. 2018, 12, 346–355. [Google Scholar] [CrossRef]
  27. Pander, T. EEG Signal Improvement with Cascaded Filter Based on OWA Operator. Signal Image Video Process. 2019, 13, 1165–1171. [Google Scholar] [CrossRef] [Green Version]
  28. Panchuk, V.; Semenov, V.; Legin, A.; Kirsanov, D. Signal Smoothing with PLS Regression. Anal. Chem. 2018, 90, 5959–5964. [Google Scholar] [CrossRef]
  29. Ives-Deliperi, V.L.; Butler, J.T. Relationship Between EEG Electrode and Functional Cortex in the International 10 to 20 System. Clin. Neurophysiol. 2018, 35, 504–509. [Google Scholar] [CrossRef]
  30. Silva, F.; Arias-Carrion, O.; Teixeira, S.; Velasques, B.; Peressutti, C.; Paes, F.; Basile, L.F.; Menendez-Gonzalez, M.; Murillo-Rodriguez, E.; Cagy, M.; et al. Functional coupling of sensorimotor and associative areas during a catching ball task: A qEEG coherence study. Int. Arch. Med. 2012, 5, 9. [Google Scholar] [CrossRef]
  31. Jurcak, V.; Tsuzuki, D.; Dan, I. 10/20, 10/10, and 10/5 systems revisited: Their validity as relative head-surface-based positioning systems. NeuroImage 2007, 34, 1600–1611. [Google Scholar] [CrossRef] [PubMed]
  32. Jiang, Z.-J.; Zheng, L.-L. Inter- and intra-hemispheric EEG coherence in patients with mild cognitive impairment at rest and during working memory task. J. Zhejiang Univ. Sci. B 2006, 7, 357–364. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Kaya, M.; Binli, M.K.; Ozbay, E.; Hilmi Yanar, H.; Mishchenko, Y. A large electroencephalographic motor imagery dataset for electroencephalographic brain computer interfaces. Sci. Data 2018, 5, 180211. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Dias, N.S.; Mendes, P.M.; Correia, J.H. Feature Selection for Brain-Computer Interface. In Proceedings of the 4th European Conference of the International Federation for Medical and Biological Engineering, Antwerp, Belgium, 3–27 November 2008; pp. 318–321. [Google Scholar]
  35. Babiloni, C.; Carducci, F.; Cincotti, F.; Rossini, P.M.; Neuper, C.; Pfurtscheller, G.; Babiloni, F. Human Movement-Related Potentials vs Desynchronization of EEG Alpha Rhythm: A High-Resolution EEG Study. NeuroImage 1999, 10, 658–665. [Google Scholar] [CrossRef]
  36. Bhushana Rao, K.C.; Krishna, B.T. Comparative analysis of integer and non-integer order Savitzky–Golay digital filters. In Proceedings of the 2017 Third Asian Conference on Defence Technology (ACDT), Phuket, Thailand, 18–20 January 2017; pp. 26–31. [Google Scholar]
  37. Liu, J.G. Smoothing Filter-based Intensity Modulation: A Spectral Preserve Image Fusion Technique for Improving Spatial Details. Int. J. Remote Sens. 2018, 21, 3461–3472. [Google Scholar] [CrossRef]
  38. Einicke, G. Smoothing, Filtering and Prediction. Estimating The Past, Present and Future; IntechOpen: London, UK, 2012. [Google Scholar]
  39. Szczesna, A.; Blaszczyszyn, M. Quantitative analysis of arm movement smoothness. In Proceedings of the AIP Conference Proceedings—14th International Conference on Numerical Analysis and Applied Mathematics (ICNAAM 2016), Rhodes, Greece, 19–25 September 2016. [Google Scholar]
  40. Zielinski, T.P. Cyfrowe Przetwarzanie Sygnalow. Od Teorii do Zastosowan (In Polish—English title: Digital Signal Processing. From Theory to Applications; Wydawnictwa Komunikacji i Lacznosci: Warszawa, Poland, 2007. [Google Scholar]
  41. Baranowski, J.; Bauer, W.; Zagorowska, M.; Piatek, P. On Digital Realizations of Non-integer Order Filters. Circuits Syst. Signal Process. 2016, 136, 2083–2107. [Google Scholar] [CrossRef] [Green Version]
  42. Puzdrowska, P. Signal filtering method of the fast-varying diesel exhaust gas temperature. Combust. Engines 2018, 175, 50–52. [Google Scholar]
  43. Astola, J.; Kuosmanen, P. Fundamentals of Nonlinear Digital Filtering; CRC Press: Boca Raton, FL, USA, 2007. [Google Scholar]
  44. ‘Anomaly.io’. Moving Median is Robust to Anomalies. 2019. Available online: https://anomaly.io/moving-median-robust-anomaly/index.html (accessed on 27 December 2019).
  45. Liberty, J. Moving Median: A better indicator than Moving Average? 2019. Available online: http://www.automated-trading-system.com/moving-median-better-indicator-than-moving-average/ (accessed on 27 December 2019).
  46. Cho, H.; Ahn, M.; Ahn, S.; Kwon, M.; Jun, S.C. EEG datasets for motor imagery brain computer interface. GigaScience 2017, 6, 1–8. [Google Scholar] [CrossRef]
  47. Schalk, G.; McFarland, D.J.; Hinterberger, T.; Birbaumer, N.; Wolpaw, J.R. BCI2000: A General-Purpose Brain-Computer Interface (BCI) System. IEEE Trans. Biomed. Eng. 2004, 51, 1034–1043. [Google Scholar] [CrossRef]
  48. Wojcik, G.M.; Kotyra, S. The Station for Neurofeedback Phenomenon Research. In Recent Developments and Achievements in Biocybernetics and Biomedical Engineering. Advances in Intelligent Systems and Computing; Augustyniak, P., Tadeusiewicz, R., Eds.; Springer: Berlin, Germany, 2018; pp. 32–43. [Google Scholar]
  49. Gorzelanczyk, E.J. Functional Anatomy, Physiology and Clinical Aspects of Basal Ganglia. Neuroimaging for Clinicians—Combining Research and Practice; InTechOpen: London, UK, 2007. [Google Scholar]
  50. Crick, F.; Koch, C. Consciousness and Neuroscience. Cerebral Cortex 2019, in press. [Google Scholar]
  51. Amo, A.; De Santiago, L.; Lucianez, D.Z.; Alonso-Cortes, J.M.L.; Alonso-Alonso, M.; Barea, R.; Boquete, L. Induced gamma band activity from EEG as a possible index of training-related brain plasticity in motor tasks. PLoS ONE 2017, 12, e0186008. [Google Scholar] [CrossRef] [Green Version]
  52. Teipel, S.; Grothe, M.J.; Zhou, J.; Sepulcre, J.; Dyrba, M.; Sorg, C.; Babiloni, C. Measuring cortical connectivity in Alzheimer’s disease as a brain neural network pathology: Toward clinical applications. J. Int. Neuropsychol. Soc. 2016, 22, 138–163. [Google Scholar] [CrossRef] [PubMed]
  53. Kawala-Janik, A.; Bauer, W.; Al-Bakri, A.; Haddix, C.; Yuvaraj, R.; Cichon, K.; Podraza, W. Implementation of Low-Pass Fractional Filtering for the Purpose of Analysis of Electroencephalographic Signals. In Non-Integer Order Calculus and Its Applications. Lecture Notes in Electrical Engineering; Ostalczyk, P., Sankowski, D., Nowakowski, J., Eds.; Springer: Berlin, Germany, 2019; pp. 63–73. [Google Scholar]
  54. Oldham, K.B.; Spanier, J. The Fractional Calculus: Theory and Applications of Differentiation and Integration to Arbitrary Order; Academic Press: Cambridge, MA, USA, 1974. [Google Scholar]
  55. Podlubny, I. Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications. In Mathematics in Science and Engineering; Elsevier: Amsterdam, The Netherlands, 1999. [Google Scholar]
  56. Baranowski, J.; Piatek, P. Fractional Band-Pass Filters: Design, Implementation and Application to EEG Signal Processing. J. Circuits Syst. Comput. 2017, 26, 1750170. [Google Scholar] [CrossRef]
  57. Kawala-Janik, A.; Zolubak, M.; Bauer, W.; Nazimek, B.; Sobolewski, T.; Martinek, R.; Sowa, M.; Pelc, M. Implementation of Non-Integer Order Filtering for the Purpose of Disparities Detection in Beta Frequencies—A Pilot Study. In Proceedings of the 23rd International Conference on Methods and Models in Automation and Robotics (MMAR), Miedzyzdroje, Poland, 27–30 August 2018; pp. 607–612. [Google Scholar]
  58. Bania, P.; Baranowski, J. Laguerre Polynomial Approximation of Fractional Order Linear Systems. In Advances in the Theory and Applications of Non-integer Order Systems; Mitkowski, W., Kacprzyk, J., Baranowski, J., Eds.; Springer: Berlin, Germany, 2013; pp. 171–182. [Google Scholar]
  59. Anthony, R.J. A Policy-Definition Language and Prototype Implementation Library for Policy-based Autonomic Systems. In Proceedings of the IEEE International Conference on Autonomic Computing, Dublin, Ireland, 12–16 June 2006; pp. 65–276. [Google Scholar]
  60. Spuler, M.; Lopez-Larraz, E.; Ramos-Murguialday, A. On the design of EEG-based movement decoders for completely paralyzed stroke patients. J. Neuroeng. Rehabil. 2018, 15, 110. [Google Scholar] [CrossRef] [PubMed]
  61. Kawala-Sterniuk, A.; Zolubak, M.; Ozana, S.; Siui, D.; Macek-Kaminska, K.; Grochowicz, B.; Pelc, M. Implementation of Smoothing Filtering Methods for the Purpose of Improvement Inverted Pendulum’s Trajectory. Prz. Elektrotech. 2019, in press. [Google Scholar]
  62. Kawala-Sterniuk, A.; Slanina, Z.; Ozana, S. Implementation of Smoothing Filtering Methods for the Purpose of Trajectory Improvement of Single- and Triple-Inverted Pendulums. In Proceedings of the 6th International Conference on Advanced Engineering—Theory and Applications, Bogotá, Colombia, 6–8 November 2019. [Google Scholar]
  63. Koziorek, J.; Ozana, S.; Srovnal, V.; Docekal, T. Modeling and Simulations in Control Software Design. In Analytic Methods in Systems and Software Testing; Kenett, R.S., Ruggeri, F., Faltin, F.W., Eds.; Wiley: New York, NY, USA, 2018; pp. 287–326. [Google Scholar]
  64. Pelc, M. Context-aware Fuzzy Control Systems. Int. J. Software Engineer. Knowledge Eng. 2014, 24, 825–856. [Google Scholar] [CrossRef]
Figure 1. Location of the electrodes placed on scalp.
Figure 1. Location of the electrodes placed on scalp.
Sensors 20 00807 g001
Figure 2. Right hand, real movement, C3, C4, P3 and P4 channels.
Figure 2. Right hand, real movement, C3, C4, P3 and P4 channels.
Sensors 20 00807 g002
Figure 3. Left hand, real movement, C3, C4, P3 and P4 channels.
Figure 3. Left hand, real movement, C3, C4, P3 and P4 channels.
Sensors 20 00807 g003
Figure 4. Spectrogram—C3, right hand, real movement.
Figure 4. Spectrogram—C3, right hand, real movement.
Sensors 20 00807 g004
Figure 5. Spectrogram—C3, left hand, real movement.
Figure 5. Spectrogram—C3, left hand, real movement.
Sensors 20 00807 g005
Figure 6. Spectrogram—C4, right hand, real movement.
Figure 6. Spectrogram—C4, right hand, real movement.
Sensors 20 00807 g006
Figure 7. Spectrogram—C4, left hand, real movement.
Figure 7. Spectrogram—C4, left hand, real movement.
Sensors 20 00807 g007
Figure 8. Right hand, imagery movement, C3, C4, P3 and P4 channels.
Figure 8. Right hand, imagery movement, C3, C4, P3 and P4 channels.
Sensors 20 00807 g008
Figure 9. Left hand, imagery movement, C3, C4, P3 and P4 channels.
Figure 9. Left hand, imagery movement, C3, C4, P3 and P4 channels.
Sensors 20 00807 g009
Figure 10. Spectrogram—C3, right hand, imagery movement.
Figure 10. Spectrogram—C3, right hand, imagery movement.
Sensors 20 00807 g010
Figure 11. Spectrogram—C3, left hand, imagery movement.
Figure 11. Spectrogram—C3, left hand, imagery movement.
Sensors 20 00807 g011
Figure 12. Spectrogram—C4, right hand, imagery movement.
Figure 12. Spectrogram—C4, right hand, imagery movement.
Sensors 20 00807 g012
Figure 13. Spectrogram—C4, left hand, imagery movement.
Figure 13. Spectrogram—C4, left hand, imagery movement.
Sensors 20 00807 g013
Figure 14. PSD—Bode plots, C3, real movement, right (top) and left (bottom) hands.
Figure 14. PSD—Bode plots, C3, real movement, right (top) and left (bottom) hands.
Sensors 20 00807 g014
Figure 15. Power Spectral Density (PSD)—Bode plots, C4, real movement, right (top) and left (bottom) hands.
Figure 15. Power Spectral Density (PSD)—Bode plots, C4, real movement, right (top) and left (bottom) hands.
Sensors 20 00807 g015
Figure 16. PSD—Bode plots, C3, imagery movement, right (top) and left (bottom) hands.
Figure 16. PSD—Bode plots, C3, imagery movement, right (top) and left (bottom) hands.
Sensors 20 00807 g016
Figure 17. PSD—Bode plots, C4, imagery movement, right (top) and left (bottom) hands.
Figure 17. PSD—Bode plots, C4, imagery movement, right (top) and left (bottom) hands.
Sensors 20 00807 g017
Figure 18. Raw and Savitzky–Golay filtered electroencephalography (EEG) data—clearly visible ‘alpha’, imagery movement.
Figure 18. Raw and Savitzky–Golay filtered electroencephalography (EEG) data—clearly visible ‘alpha’, imagery movement.
Sensors 20 00807 g018

Share and Cite

MDPI and ACS Style

Kawala-Sterniuk, A.; Podpora, M.; Pelc, M.; Blaszczyszyn, M.; Gorzelanczyk, E.J.; Martinek, R.; Ozana, S. Comparison of Smoothing Filters in Analysis of EEG Data for the Medical Diagnostics Purposes. Sensors 2020, 20, 807. https://doi.org/10.3390/s20030807

AMA Style

Kawala-Sterniuk A, Podpora M, Pelc M, Blaszczyszyn M, Gorzelanczyk EJ, Martinek R, Ozana S. Comparison of Smoothing Filters in Analysis of EEG Data for the Medical Diagnostics Purposes. Sensors. 2020; 20(3):807. https://doi.org/10.3390/s20030807

Chicago/Turabian Style

Kawala-Sterniuk, Aleksandra, Michal Podpora, Mariusz Pelc, Monika Blaszczyszyn, Edward Jacek Gorzelanczyk, Radek Martinek, and Stepan Ozana. 2020. "Comparison of Smoothing Filters in Analysis of EEG Data for the Medical Diagnostics Purposes" Sensors 20, no. 3: 807. https://doi.org/10.3390/s20030807

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop