Next Article in Journal
Robust Intra-Body Communication Using SHA1-CRC Inversion-Based Protection and Error Correction for Securing Electronic Authentication
Previous Article in Journal
Expansion-Induced Crack Propagation in Rocks Monitored by Using Piezoelectric Transducers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Letter

Empirical Mode Decomposition Based Multi-Modal Activity Recognition

School of Information Engineering, Guangdong University of Technology, Guangzhou 511006, China
*
Author to whom correspondence should be addressed.
Sensors 2020, 20(21), 6055; https://doi.org/10.3390/s20216055
Submission received: 10 October 2020 / Revised: 20 October 2020 / Accepted: 21 October 2020 / Published: 24 October 2020
(This article belongs to the Section Electronic Sensors)

Abstract

:
This paper aims to develop an activity recognition algorithm to allow parents to monitor their children at home after school. A common method used to analyze electroencephalograms is to use infinite impulse response filters to decompose the electroencephalograms into various brain wave components. However, nonlinear phase distortions will be introduced by these filters. To address this issue, this paper applies empirical mode decomposition to decompose the electroencephalograms into various intrinsic mode functions and categorize them into four groups. In addition, common features used to analyze electroencephalograms are energy and entropy. However, because there are only two features, the available information is limited. To address this issue, this paper extracts 11 different physical quantities from each group of intrinsic mode functions, and these are employed as the features. Finally, this paper uses the random forest to perform activity recognition. It is worth noting that the conventional approach for performing activity recognition is based on a single type of signal, which limits the recognition performance. In this paper, a multi-modal system based on electroencephalograms, image sequences, and motion signals is used for activity recognition. The numerical simulation results show that the percentage accuracies based on three types of signal are higher than those based on two types of signal or the individual signals. This demonstrates the advantages of using the multi-modal approach for activity recognition. In addition, our proposed empirical mode decomposition-based method outperforms the conventional filtering-based method. This demonstrates the advantages of using the nonlinear and adaptive time frequency approach for activity recognition.

1. Introduction

Activity recognition plays an important role in many research areas. For example, activity recognition via electroencephalograms helps in the understanding of the working principles of the human brain. Activity recognition via motion signals also helps physical therapists to evaluate the effectiveness of rehabilitation. Moreover, activity recognition via image sequences can be used in security surveillance [1].
Recently, reading recognition using electroencephalograms was proposed [2]. First, the electroencephalograms are filtered by a bandpass filter to suppress noise and to reduce the unwanted movements of the subjects. Then, the electroencephalograms are decomposed into the β, α, θ, and δ waves using the short-time discrete Fourier transform [3,4]. The sums of the absolute discrete Fourier transform coefficients form the feature vectors and the k-nearest neighbor algorithm with k = 3 is used as the classifier.
Moreover, music preference analysis is performed via the electroencephalograms [5]. In particular, the sixth-order Butterworth bandpass filter is employed to decompose the electroencephalograms into the δ, θ, α, β, and γ waves. The sum of the magnitudes of the samples in the time frequency plane and the energy of the Hilbert Huang spectrum are employed as the features. The support vector machine, the k-nearest neighbor algorithm, the quadratic discriminant analysis, and the Mahalanobis distance-based discriminant analysis are used as the classifiers.
In addition, exergaming recognition via motion signals and relaxation analysis using electroencephalograms was proposed [6]. First, a long short-term memory neural network is used to classify the motion signals into various exercises, and the signal strengths of the electroencephalograms are used to calculate the meditation levels of the subjects.
Activity recognition via image sequences was also proposed [7]. In particular, the extended chain graph is employed to parameterize the joint probability distribution of a model to perform the learning.
However, the existing methods [2,5] employ infinite impulse response filters, such as the Butterworth filter, to extract the β, α, θ, γ, and δ waves of the electroencephalograms to perform brain wave analysis. Nevertheless, these filters introduce nonlinear phase distortions to the extracted waves. Hence, the classification accuracies based on these extracted waves are low. Furthermore, the existing methods only employ the sum of the magnitudes and the energy of the samples in the time frequency plane as features [2,5]. This limited number of features also contributes to the low classification accuracies.
To address the above difficulties, this paper proposes the use of empirical mode decomposition to decompose electroencephalograms into various intrinsic mode functions. These intrinsic mode functions are categorized into four groups. In addition, 11 different physical quantities are extracted from each group of intrinsic mode functions and employed as the features. Moreover, because different types of signals carry different information for performing activity recognition, a multi-modal approach using the electroencephalograms, the image sequences, and the motion signals is used for activity recognition. The outline of this paper is as follows. Section 2 presents the details of the multi-modal activity recognition. The computer numerical simulation results are shown in Section 3. Finally, a conclusion is drawn in Section 4.

2. Multi-Modal Activity Recognition

The objective of this paper is to perform activity recognition via three types of signals. Here, seven common activities are classified. These are: (1) watching television; (2) playing with toys; (3) eating; (4) playing electronic games; (5) performing online exercises; (6) reading/writing; and (7) drawing. The signals employed for activity recognition are electroencephalograms, image sequences, and motion signals.

2.1. Feature Extraction

2.1.1. Features Extracted from the Electroencephalograms

The empirical mode decomposition assumes that a signal can be represented as the sum of a finite number of intrinsic mode functions. The intrinsic mode functions are obtained using the following procedures:
Step 1:
Initialization: let r 0 ( t ) = x ( t ) , i = 1 and a threshold value equal to 0.3.
Step 2:
Let the ith intrinsic mode function be c i ( t ) . This can be obtained as follows:
(a)
Initialization: let d 0 ( t ) = r i 1 ( t ) , i = 1 and j = 1 .
(b)
Find all the maxima and minima of d j 1 ( t ) .
(c)
Denote the upper envelope and the lower envelope of d j 1 ( t ) as e + ( t ) and e ( t ) , respectively. Obtain e + ( t ) and e ( t ) by interpolating the cubic spline function at the maxima and the minima of d j 1 ( t ) , respectively.
(d)
Let the mean of the upper envelope and the lower envelope of d j 1 ( t ) be m ( t ) .
(e)
Define d j ( t ) = d j 1 ( t ) m ( t ) .
(f)
Compute S D = | m ( t ) | 2 | d j 1 ( t ) | 2 . If SD is not greater than the given threshold, then set c i ( t ) = d j ( t ) . Otherwise, increment the value of j and go back to Step (b).
Step 3:
Set r i ( t ) = r i 1 ( t ) c i ( t ) . If r i ( t ) satisfies the properties of the intrinsic mode function or it is a monotonic function, then the decomposition is completed.
The details of the empirical mode decomposition can be found in [8,9,10]. Because a signal with more extrema will contain more high-frequency components, the intrinsic mode functions with the lower indices will be localized in the higher frequency bands. Hence, the empirical mode decomposition is a kind of time frequency analysis. Because of these desirable properties, this paper applies empirical mode decomposition to decompose the electroencephalograms into various intrinsic mode functions.
However, because the total number of intrinsic mode functions is determined automatically by the above algorithm, it is difficult to obtain the fixed length feature vectors to perform activity recognition. To tackle this difficulty, the intrinsic mode functions are grouped together. Because there are four to eight intrinsic mode functions for most of the electroencephalograms, the intrinsic mode functions are categorized into four groups. Let I 1 , I 2 , I 3 , and I 4 be the sets of the first, second, third, and fourth groups of intrinsic mode functions, respectively.
If there are only four intrinsic mode functions obtained in the empirical mode decomposition, then each set of intrinsic mode functions contains one intrinsic mode function. That is, c 1 ( t ) I 1 , c 2 ( t ) I 2 , c 3 ( t ) I 3 and c 4 ( t ) I 4 .
If there are only five intrinsic mode functions obtained in the empirical mode decomposition, then the third and fourth intrinsic mode functions are combined together as one group. That is, c 1 ( t ) I 1 , c 2 ( t ) I 2 , c 3 ( t ) + c 4 ( t ) I 3 and c 5 ( t ) I 4 . If there are only six intrinsic mode functions obtained in the empirical mode decomposition, then the second and third intrinsic mode functions are combined together as one group, and the fourth and fifth intrinsic mode functions are combined together as another group. That is, c 1 ( t ) I 1 , c 2 ( t ) + c 3 ( t ) I 2 , c 4 ( t ) + c 5 ( t ) I 3 and c 6 ( t ) I 4 . If there are only seven intrinsic mode functions obtained in the empirical mode decomposition, then the first and second intrinsic mode functions are combined together as one group, the third and fourth intrinsic mode functions are combined together as another group, and the fifth and sixth intrinsic mode functions are combined together as another group. That is, c 1 ( t ) + c 2 ( t ) I 1 , c 3 ( t ) + c 4 ( t ) I 2 , c 5 ( t ) + c 6 ( t ) I 3 and c 7 ( t ) I 4 . If there are eight intrinsic mode functions obtained in the empirical mode decomposition, then the first and second intrinsic mode functions are combined together as one group, the third and fourth intrinsic mode functions are combined together as another group, the fifth and sixth intrinsic mode functions are combined together as another group, and the seventh and eighth intrinsic mode functions are combined together as another group. That is, c 1 ( t ) + c 2 ( t ) I 1 , c 3 ( t ) + c 4 ( t ) I 2 , c 5 ( t ) + c 6 ( t ) I 3 and c 7 ( t ) + c 8 ( t ) I 4 .
Because the magnitudes of various brain waves for performing different activities are different, the magnitudes and the energies of various brain waves are usually employed as the features for activity recognition. Similar but more physical quantities are employed as the features in this paper. In particular, the entropy, mean, interquartile range, mean absolute deviation, range, variance, skewness, kurtosis, L2 norm, L1 norm, and L norm of each group of intrinsic mode functions are computed and employed as the features [11,12]. Here, there are four groups of intrinsic mode functions for each electroencephalogram and there are 11 features extracted from each group of intrinsic mode functions. Hence, the lengths of each feature vector is 44.

2.1.2. Features Extracted from the Image Sequences

Because different activities involve different objects, the objects are segmented from each image. Due to the movements of the subjects, the camera rotates and translates. As a result, the sizes of the same object in two consecutive images are different. To address this difficulty, because the discrete cosine transform can be used to resize the objects, the discrete cosine transform is first applied to the objects. Next, the matrices of the discrete cosine transform coefficients of the objects in two consecutive images are compared [13]. Then, the zeros are placed into the matrix of the discrete cosine transform coefficients corresponding to the smaller size of objects such that the size of the zero-filled matrix of the discrete cosine transform coefficients is the same as that of the matrix of the discrete cosine transform coefficients without zeros [14]. The zero-filled matrix or the matrix without zeros of the discrete cosine transform coefficients of the object in the i th image is denoted D i .
It is worth noting that the rates of change of the objects in the image for different activities are different. For example, the rates of change of the objects in the image of the computer screen for playing electronic games are faster than those for performing the online exercises. This implies that the changes of the positions of the objects between two consecutive images can be employed as the features for activity recognition. Let the minimum x-coordinate, the maximum x-coordinate, the minimum y-coordinate, and the maximum y-coordinate of the object in the i th image be x min , i , x max , i , y min , i , and y max , i , respectively. The middle point of the x-coordinate and the middle point of the y-coordinate of the object in the i th image are defined as x mean , i and y mean , i , respectively. In particular, x mean , i = x max , i + x min , i 2 and y mean , i = y max , i + y min , i 2 . Here, x min , i + 1 x min , i , x max , i + 1 x max , i , y min , i + 1 y min , i , y max , i + 1 y max , i , | x mean , i + 1 | | x mean , i | , | y mean , i + 1 | | y mean , i | , and ( | x mean , i + 1 | | x mean , i | ) 2 + ( | y mean , i + 1 | | y mean , i | ) 2 are employed as the features. In addition to using the features in the spatial domain, this paper also extracts the features based on the differences of the discrete cosine transform coefficients of the objects between two consecutive images. In particular, the mean, median, variance, skewness, and kurtosis of all of the coefficients in D i + 1 D i are also employed as the features. Obviously, the length of the feature vectors is 12.

2.1.3. Features Extracted from the Motion Signals

It is worth noting that the positions and the angles of the camera are different for different activities. For example, the head is pointing forward during watching television, whereas it is pointing downward for reading/writing and drawing. Furthermore, the movements of the head are different for different activities. For example, the head moves more for eating. Hence, the mean and variance of the x-direction, the y-direction, and the z-direction of the motion signals are employed as the features [15,16]. Obviously, the length of the feature vectors is 6.

2.1.4. Fusion of All the Features Together

The features extracted from each electroencephalogram, each image, and each motion signal are combined to form a feature vector. Here, the length of the feature vectors is 62.

2.2. Classification

A random forest is an extended variant of bagging. It consists of a collection of a large number of individual decision trees. However, it differs from bagging in the sense that each node variable is generated only from a handful of the randomly selected variables. Therefore, not only is the sample random, but the generation of each node variable (feature) is also random. Each tree in the random forest gives a class prediction and the class that votes the most becomes the prediction of the model [17]. The procedures for performing the random forest are summarized as follows and shown in Figure 1:
Step 1:
If there are N samples, then these N samples are selected in a random sequence. Here, each sample is selected randomly at each time. That is, the algorithm selects another sample randomly after the previous sample is selected. These selected N samples form the decision nodes and are used to train a decision tree.
Step 2:
Suppose that each sample has M attributes; m attributes are selected randomly such that m << M is satisfied. Then, some strategies such as the information gain are adopted to evaluate these m attributes. Each node of the decision tree needs to split. One attribute is selected as the split attribute of the node.
Step 3:
During the formation of the decision tree, each node is split according to Step 2 until it can no longer be split.
Step 4:
Repeat Step 1 to Step 3 to establish a large number of decision trees. Thus, a random forest is formed.
From the above, it can be seen that different strategies, such as the information gain, can be adopted in the random forest. Hence, if an appropriate strategy is selected, then a high classification accuracy can be achieved. Moreover, due to the introduction of two sources of randomness, i.e., from the samples and from the features, the random forest does not easily suffer from the problem of overfitting. Furthermore, using the tree structure can help the model to address the issue of nonlinear data [18,19]. In addition, in the training process, the interaction among the features can be exploited and the importance of the features can be ranked accordingly.
Because of the above advantages, this paper adopts the random forest to extract the features and perform the classification. In particular, the random forest selects five of these 62 features and classifies the feature vectors into seven activities. Here, 30% of the overall data are employed for training and the remaining 70% are employed for testing. The total number of data points in the training and testing sets is summarized in Table 1. For simplicity, no cross-validation is performed.

2.3. Computational Complexity Analysis

It is important to investigate the required computational complexity of the algorithm. It is worth noting that the random forest is the module that requires the heaviest computational power. Let N be the total number of samples, M the total number of features, and D be the depth of the trees. When the classification and the regression tree (CART) grows, the values in all of the features of all samples are taken as the candidates for performing the splitting. The evaluation index, such as the information gain, gain ratio, or Gini coefficient, is calculated. Therefore, the required computational power for each layer of the random forest is O ( N × M ) . Because there are D layers in the tree, the required computational power for the random forest is O ( N × M × D ) . Furthermore, the spatial complexity of the random forest is O ( N + M × S p l i t × T r e e N u m ) , where Split is the average number of segmentation points for each feature and TreeNum is the total number of trees in the random forest. In the numerical simulation results, N values are chosen as 1336, 112, 1044, 1422, and 400 for volunteers 1 to 5, respectively, M is chosen as 62, and TreeNum is chosen as 100. In addition, Split is set to its default value of 10 7 and D is automatically determined. The processing time of the proposed method is about 2.094193 s.

3. Computer Numerical Simulation Results

Here, the full set of measurements was provided by five volunteers including two girls and three boys. The electroencephalograms were acquired by a single channel device and sampled at 512 Hz. Motion data was sampled at 31 Hz and the red green blue (RGB) images were taken at 0.1 Hz. The data acquisition for each volunteer took between 6 and 10 min, with most data acquisitions taking 10 min. A set of motion signals was taken randomly from both the training and the testing sets, and these signals were conducted by the first volunteer performing various activities. These motion signals are shown in Figure 2. It can be seen that the motion signals in the training set are consistent with those of the testing set.
Conventional electroencephalogram-based activity recognition applies various filters to the electroencephalograms to obtain various waves. In particular, the electroencephalograms are localized in the frequency band between 0.5 and 49 Hz. The frequency band of the δ wave is between 0.5 and 4 Hz, that of the θ wave is between 4 and 8 Hz, that of the α wave is between 8 and 12 Hz, that of the sensory motor rhythm (SMR) wave is between 12 and 14.99 Hz, that of the mid-β wave is between 15 and 19.99 Hz, that of the high-β wave is between 20 and 30 Hz, that of the low-β wave is between 12 and 19 Hz, that of the whole-β wave is between 12 and 30 Hz, and that of the γ wave is between 30 and 49 Hz. To extract these waves from the electroencephalograms, the fast Fourier transform approach is employed. That is, the fast Fourier transform coefficients of the electroencephalograms are computed and the coefficients outside the corresponding frequency bands are set to zero. Then, the inverse fast Fourier transform is computed to obtain the corresponding waves. It can be seen from the above that this approach does not introduce nonlinear phase distortion.
To investigate the effectiveness of applying the empirical mode decomposition to the electroencephalograms for activity recognition, Figure 3 plots the magnitude responses of the decomposed components of the electroencephalograms via both empirical mode decomposition and conventional filtering when the first and second volunteers perform various activities. Then, the physical quantities discussed in Section 2.1 are calculated for each wave and these physical quantities are employed as the features for performing the classification. To evaluate the performance of our proposed empirical mode decomposition-based method, it is compared to the above conventional filtering-based method. Here, the same set of physical quantities is computed for the comparison. It can be seen from the figure that the empirical mode decomposition can yield intrinsic mode functions with very narrow bandwidths. Hence, the features extracted from the intrinsic mode functions are more specific. As a result, the empirical mode decomposition approach can yield higher average classification accuracy.
To investigate the effects of various signals on the activity recognition, Figure 4 plots some of the features extracted from the motion signals when various volunteers perform various activities. Similarly, Figure 5 plots some of the features extracted from the image sequences when various volunteers perform various activities. Figure 6 plots some of the features extracted from the electroencephalograms when the first and second volunteers perform various activities. It can be seen from these figures that the features of various signals corresponding to different activities are localized in different regions in the feature space. This implies that the features of these signals are effective.
The percentage accuracy and the macro F1 score are used as the metrics to evaluate the performance of various methods. This is because these are the common criteria used in the classification problems. Table 2, Table 3, Table 4, Table 5 and Table 6 show the percentage accuracies and the macro F1 scores obtained by both our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from five different volunteers, respectively. It can be seen from the tables that the percentage accuracies based on three types of signal are higher than those using two types of signal. Furthermore, the percentage accuracies based on two types of signal are higher than those using the corresponding individual signals. Although this is not the case for all of the macro F1 scores, this is true for most of the cases. This demonstrates the advantages of using the multi-modal approach for activity recognition.
Moreover, using three types of signal, our proposed empirical mode decomposition-based method outperforms the conventional filtering-based method for the last four volunteers. Although this is not the case for the first volunteer, the difference is very small and can be ignored. To understand why there is an exception for the first volunteer, it can be seen from Figure 6 that the overlaps of the features among various activities in the feature space based on the empirical mode decomposition approach are larger than those based on the conventional filtering approach for the first volunteer. However, this is not the case for the second volunteer. This accounts for the exception. Overall, the obtained results demonstrate the advantages of using the nonlinear and adaptive time frequency approach for activity recognition.

4. Conclusions

This paper applies empirical mode decomposition to electroencephalograms to obtain the intrinsic mode functions localized in various frequency bands. The intrinsic mode functions are categorized into four groups. Then, 11 physical quantities are computed for each group of the intrinsic mode functions and used as features. Finally, the random forest is employed to perform multi-modal activity recognition. Numerical simulation results show that the percentage accuracies for activity recognition range between 78.21% and 96.90%. This demonstrates that the activities can be successfully recognized by our proposed algorithm. Furthermore, it can be seen that the percentage accuracies based on three types of signal are higher than those using two types of signal or individual signals. This demonstrates the success of using the multi-modal approach for activity recognition. Moreover, the numerical simulation results also show that the empirical mode decomposition-based method outperforms the conventional filtering-based method. This demonstrates the effectiveness of using the nonlinear adaptive approach to decompose the signal into various components for performing activity recognition.

Author Contributions

Conceptualization, L.H., B.W.-K.L., X.Z., K.Z. and G.L.; methodology, L.H., B.W.-K.L., X.Z., K.Z. and G.L.; methodology; software, L.H., B.W.-K.L., X.Z., K.Z. and G.L.; methodology; validation, L.H., B.W.-K.L., X.Z., K.Z. and G.L.; methodology; formal analysis, L.H., B.W.-K.L., X.Z., K.Z. and G.L.; methodology; investigation, L.H., B.W.-K.L., X.Z., K.Z. and G.L.; methodology; resources, B.W.-K.L.; data curation, B.W.-K.L.; writing—original draft preparation, L.H. and B.W.-K.L.; writing—review and editing, L.H. and B.W.-K.L.; visualization, L.H. and K.Z.; supervision, B.W.-K.L.; project administration, B.W.-K.L.; funding acquisition, B.W.-K.L. All authors have read and agreed to the published version of the manuscript.

Funding

This paper was supported partly by the National Nature Science Foundation of China, grant numbers U1701266, 61372173 and 61671163, the Team Project of the Education Ministry of the Guangdong Province, grant number 2017KCXTD011, the Guangdong Higher Education Engineering Technology Research Center for Big Data on Manufacturing Knowledge Patent, grant number 501130144, and the Guangdong Province Intellectual Property Key Laboratory Project, grant number 2018B030322016.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Ni, Q.; Fan, Z.; Zhang, L.; Nugent, C.D.; Cleland, I.; Zhang, Y.; Zhou, N. Leveraging wearable sensors for human daily activity recognition with stacked denoising autoencoders. Sensors 2020, 20, 5114. [Google Scholar] [CrossRef] [PubMed]
  2. Kunze, K.; Shiga, Y.; Ishimaru, S.; Kise, K. Reading activity recognition using an off-the-shelf EEG—Detecting reading activities and distinguishing genres of documents. In Proceedings of the 12th International Conference on Document Analysis and Recognition, Washington, DC, USA, 25–28 August 2013; pp. 96–100. [Google Scholar]
  3. Zhou, X.; Ling, B.W.K.; Li, C.; Zhao, K. Epileptic seizure detection via logarithmic normalized functional values of singular values. Biomed. Signal Process. Control 2020, 62, 102086. [Google Scholar] [CrossRef]
  4. Lin, Y.; Ling, B.W.K.; Xu, N.; Lam, R.W.K.; Ho, C.Y.F. Effectiveness analysis of bio-electronic stimulation therapy to Parkinson’s diseases via joint singular spectrum analysis and discrete fourier transform approach. Biomed. Signal Process. Control 2020, 62, 102131. [Google Scholar] [CrossRef]
  5. Hadjidimitriou, S.K.; Hadjileontiadis, L.J. Toward an EEG-Based Recognition of Music Liking Using Time-Frequency Analysis. IEEE Trans. Biomed. Eng. 2012, 59, 3498–3510. [Google Scholar] [CrossRef] [PubMed]
  6. Johnson, J.; Williams, E.; Swindon, M.; Ricketts, K.; Mottahed, B.; Rashad, S.; Integlia, R. A wearable mobile exergaming system for activity recognition and relaxation awareness. In Proceedings of the International Systems Conference, Orlando, FL, USA, 8–11 April 2019. [Google Scholar]
  7. Zhang, L.; Zeng, Z.; Ji, Q. Probabilistic image modeling with an extended chain graph for human activity recognition and image segmentation. IEEE Trans. Image Process. 2011, 20, 2401–2413. [Google Scholar] [CrossRef] [PubMed]
  8. Zhou, Y.; Ling, B.W.K.; Mo, X.; Guo, Y.; Tian, Z. Empirical Mode Decomposition-Based Hierarchical Multiresolution Analysis for Suppressing Noise. IEEE Trans. Instrum. Meas. 2019, 69, 1833–1845. [Google Scholar] [CrossRef]
  9. Rakshit, M.; Das, S. An efficient ECG denoising methodology using empirical mode decomposition and adaptive switching mean filter. Biomed. Signal Process. Control 2018, 40, 140–148. [Google Scholar] [CrossRef]
  10. Tang, Y.W.; Tai, C.C.; Su, C.C.; Chen, C.Y.; Chen, J.F. A correlated empirical mode decomposition method for partial discharge signal denoising. Meas. Sci. Technol. 2010, 21, 085106. [Google Scholar] [CrossRef]
  11. Srinivasan, V.; Eswaran, C.; Sriraam, N. Approximate entropy-based epileptic EEG detection using artificial neural networks. IEEE Trans. Inf. Technol. Biomed. 2007, 11, 288–295. [Google Scholar] [CrossRef] [PubMed]
  12. Yazdanpanah, H.; Diniz, P.S.R.; Lima, M.V.S. Feature Adaptive Filtering: Exploiting Hidden Sparsity. IEEE Trans. Circuits Syst. I Regul. Pap. 2020, 67, 2358–2371. [Google Scholar] [CrossRef]
  13. Kim, H.Y.; Meyer, E.R.; Egawa, R. Frequency Domain Filtering for Down Conversion of a DCT Encoded Picture. U.S. Patent 6,175,592, 16 January 2001. [Google Scholar]
  14. Jing, X.Y.; Zhang, D. A face and palmprint recognition approach based on discriminant DCT feature extraction. IEEE Trans. Syst. Man Cybern. Part B (Cybern.) 2004, 34, 2405–2415. [Google Scholar] [CrossRef] [Green Version]
  15. Niu, F.; Abdel-Mottaleb, M. View-invariant human activity recognition based on shape and motion features. In Proceedings of the IEEE Sixth International Symposium on Multimedia Software Engineering, Miami, FL, USA, 13–15 December 2004; pp. 546–556. [Google Scholar]
  16. Ishimaru, S.; Kunze, K.; Kise, K.; Weppner, J.; Dengel, A.; Lukowicz, P.; Bulling, A. In the blink of an eye: Combining head motion and eye blink frequency for activity recognition with google glass. In Proceedings of the 5th Augmented Human International Conference, Kobe Convention Center, Kobe, Japan, 7–9 March 2014; pp. 1–4. [Google Scholar]
  17. Liaw, A.; Wiener, M. Classification and regression by randomForest. R News 2002, 2, 18–22. [Google Scholar]
  18. Archer, K.J.; Kimes, R.V. Empirical characterization of random forest variable importance measures. Comput. Stat. Data Anal. 2008, 52, 2249–2260. [Google Scholar] [CrossRef]
  19. Ahmadi, M.N.; Pavey, T.G.; Trost, S.G. Machine learning models for classifying physical activity in free-living preschool children. Sensors 2020, 20, 4364. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Flowchart showing the procedures of the random forest.
Figure 1. Flowchart showing the procedures of the random forest.
Sensors 20 06055 g001
Figure 2. (a) The motion signal in the x-direction from the training set. (b) The motion signal in the x-direction from the testing set. (c) The motion signal in the y-direction from the training set. (d) The motion signal in the y-direction from the testing set. (e) The motion signal in the z-direction from the training set. (f) The motion signal in the z-direction from the testing set.
Figure 2. (a) The motion signal in the x-direction from the training set. (b) The motion signal in the x-direction from the testing set. (c) The motion signal in the y-direction from the training set. (d) The motion signal in the y-direction from the testing set. (e) The motion signal in the z-direction from the training set. (f) The motion signal in the z-direction from the testing set.
Sensors 20 06055 g002aSensors 20 06055 g002b
Figure 3. (a) The magnitude responses of the intrinsic mode functions of the electroencephalograms when the first volunteer performs various activities. (b) and (c) The magnitude responses of the filtered electroencephalograms when the first volunteer performs various activities. (d) The magnitude responses of the intrinsic mode functions of the electroencephalograms when the second volunteer performs various activities. (e) and (f) The magnitude responses of the filtered electroencephalograms when the second volunteer performs various activities.
Figure 3. (a) The magnitude responses of the intrinsic mode functions of the electroencephalograms when the first volunteer performs various activities. (b) and (c) The magnitude responses of the filtered electroencephalograms when the first volunteer performs various activities. (d) The magnitude responses of the intrinsic mode functions of the electroencephalograms when the second volunteer performs various activities. (e) and (f) The magnitude responses of the filtered electroencephalograms when the second volunteer performs various activities.
Sensors 20 06055 g003
Figure 4. (a) Some of the features extracted from the motion signals when the first volunteer performs various activities. (b) Some of the features extracted from the motion signals when the second volunteer performs various activities. (c) Some of the features extracted from the motion signals when the third volunteer performs various activities. (d) Some of the features extracted from the motion signals when the fourth volunteer performs various activities. (e) Some of the features extracted from the motion signals when the fifth volunteer performs various activities.
Figure 4. (a) Some of the features extracted from the motion signals when the first volunteer performs various activities. (b) Some of the features extracted from the motion signals when the second volunteer performs various activities. (c) Some of the features extracted from the motion signals when the third volunteer performs various activities. (d) Some of the features extracted from the motion signals when the fourth volunteer performs various activities. (e) Some of the features extracted from the motion signals when the fifth volunteer performs various activities.
Sensors 20 06055 g004
Figure 5. (a) Some of the features extracted from the image sequences when the first volunteer performs various activities. (b) Some of the features extracted from the image sequences when the second volunteer performs various activities. (c) Some of the features extracted from the image sequences when the third volunteer performs various activities. (d) Some of the features extracted from the image sequences when the fourth volunteer performs various activities. (e) Some of the features extracted from the image sequences when the fifth volunteer performs various activities.
Figure 5. (a) Some of the features extracted from the image sequences when the first volunteer performs various activities. (b) Some of the features extracted from the image sequences when the second volunteer performs various activities. (c) Some of the features extracted from the image sequences when the third volunteer performs various activities. (d) Some of the features extracted from the image sequences when the fourth volunteer performs various activities. (e) Some of the features extracted from the image sequences when the fifth volunteer performs various activities.
Sensors 20 06055 g005aSensors 20 06055 g005b
Figure 6. (a) Some of the features extracted from the electroencephalograms via the empirical mode decomposition approach when the first volunteer performs various activities. (b) Some of the features extracted from the electroencephalograms via the conventional filtering approach when the first volunteer performs various activities. (c) Some of the features extracted from the electroencephalograms via the empirical mode decomposition approach when the second volunteer performs various activities. (d) Some of the features extracted from the electroencephalograms via the conventional filtering approach when the second volunteer performs various activities.
Figure 6. (a) Some of the features extracted from the electroencephalograms via the empirical mode decomposition approach when the first volunteer performs various activities. (b) Some of the features extracted from the electroencephalograms via the conventional filtering approach when the first volunteer performs various activities. (c) Some of the features extracted from the electroencephalograms via the empirical mode decomposition approach when the second volunteer performs various activities. (d) Some of the features extracted from the electroencephalograms via the conventional filtering approach when the second volunteer performs various activities.
Sensors 20 06055 g006
Table 1. The total number of data points in the training and testing sets.
Table 1. The total number of data points in the training and testing sets.
Volunteer Identity Number12345
Total number of data points in both the training set and the test set1336112210441422400
Total number of data points in the training set400336313426120
Total number of data points in the test set936786731996280
Table 2. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the first volunteer.
Table 2. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the first volunteer.
The Percentage Accuracies and the Macro F1 Scores Obtained by Our Proposed Empirical Mode Decomposition-Based MethodThe Percentage Accuracies and the Macro F1 Scores Obtained by the Conventional Filtering-Based Method
Percentage AccuraciesMacro F1 ScoresPercentage AccuraciesMacro F1 Scores
The results based on the motion signals, the electroencephalograms, and the image sequences0.96900.89230.97330.8708
The results based on the motion signals and the image sequences0.94660.89160.94660.8916
The results based on the electroencephalograms and the image sequences0.94230.81720.96580.7858
The results based on the motion signals and the electroencephalograms0.89210.78200.89530.8289
The results based on the image sequences0.85900.81000.85900.8100
The results based on the electroencephalograms0.28740.40810.46050.4765
The results based on the motion signals0.87710.81710.87710.8171
Table 3. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the second volunteer.
Table 3. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the second volunteer.
The Percentage Accuracies and the Macro F1 Scores Obtained by Our Proposed Empirical Mode Decomposition-Based MethodThe Percentage Accuracies and the Macro F1 Scores Obtained by the Conventional Filtering-Based Method
Percentage AccuraciesMacro F1 ScoresPercentage AccuraciesMacro F1 Scores
The results based on the motion signals, the electroencephalograms, and the image sequences0.93260.83430.92370.8337
The results based on the motion signals and the image sequences0.91860.82890.91860.8289
The results based on the electroencephalograms and the image sequences0.87790.77980.86770.7313
The results based on the motion signals and the electroencephalograms0.83840.78960.83970.7626
The results based on the image sequences0.84100.78130.84100.7613
The results based on the electroencephalograms0.45930.41770.53940.4859
The results based on the motion signals0.80790.76380.80790.7438
Table 4. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the third volunteer.
Table 4. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the third volunteer.
The Percentage Accuracies and the Macro F1 Scores Obtained by Our Proposed Empirical Mode Decomposition-Based MethodThe Percentage Accuracies and the Macro F1 Scores Obtained by the Conventional Filtering-Based Method
Percentage AccuraciesMacro F1 ScoresPercentage AccuraciesMacro F1 Scores
The results based on the motion signals, the electroencephalograms, and the image sequences0.93840.84920.89600.8406
The results based on the motion signals and the image sequences0.87820.83400.87820.8340
The results based on the electroencephalograms and the image sequences0.88920.73490.87820.7586
The results based on the motion signals and the electroencephalograms0.73730.72140.74420.7309
The results based on the image sequences0.85360.74560.85360.7456
The results based on the electroencephalograms0.39120.39650.36660.4489
The results based on the motion signals0.69770.67090.69770.6709
Table 5. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the fourth volunteer.
Table 5. The percentage accuracies and the macro F1 scores obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the fourth volunteer.
The Percentage Accuracies and the Macro F1 Scores Obtained by Our Proposed Empirical Mode Decomposition-Based MethodThe Percentage Accuracies and the Macro F1 Scores Obtained by the Conventional Filtering-Based Method
Percentage AccuraciesMacro F1 ScoresPercentage AccuraciesMacro F1 Scores
The results based on the motion signals, the electroencephalograms, and the image sequences0.84940.85320.84640.7864
The results based on the motion signals and the image sequences0.83940.80850.83940.8085
The results based on the electroencephalograms and the image sequences0.80920.64630.82830.6232
The results based on the motion signals and the electroencephalograms0.70280.65920.66870.6822
The results based on the image sequences0.78920.62130.78920.6213
The results based on the electroencephalograms0.39360.38330.33530.3660
The results based on the motion signals0.62950.58480.62950.5848
Table 6. The percentage accuracies obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the fifth volunteer.
Table 6. The percentage accuracies obtained by our proposed empirical mode decomposition-based method and the conventional filtering-based method using the signals acquired from the fifth volunteer.
The Percentage Accuracies and the Macro F1 Scores Obtained by Our Proposed Empirical Mode Decomposition-Based MethodThe Percentage Accuracies and the Macro F1 Scores Obtained by the Conventional Filtering-Based Method
Percentage AccuraciesMacro F1 ScoresPercentage AccuraciesMacro F1 Scores
The results based on the motion signals, the electroencephalograms, and the image sequences0.78210.69610.77500.6317
The results based on the motion signals and the image sequences0.74640.69040.74640.6904
The results based on the electroencephalograms and the image sequences0.76430.63210.69640.5865
The results based on the motion signals and the electroencephalograms0.51070.50660.47860.4839
The results based on the image sequences0.67860.66560.67860.6656
The results based on the electroencephalograms0.18570.22920.31070.2523
The results based on the motion signals0.44290.46930.44290.4693
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Hu, L.; Zhao, K.; Zhou, X.; Ling, B.W.-K.; Liao, G. Empirical Mode Decomposition Based Multi-Modal Activity Recognition. Sensors 2020, 20, 6055. https://doi.org/10.3390/s20216055

AMA Style

Hu L, Zhao K, Zhou X, Ling BW-K, Liao G. Empirical Mode Decomposition Based Multi-Modal Activity Recognition. Sensors. 2020; 20(21):6055. https://doi.org/10.3390/s20216055

Chicago/Turabian Style

Hu, Lingyue, Kailong Zhao, Xueling Zhou, Bingo Wing-Kuen Ling, and Guozhao Liao. 2020. "Empirical Mode Decomposition Based Multi-Modal Activity Recognition" Sensors 20, no. 21: 6055. https://doi.org/10.3390/s20216055

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