Next Article in Journal
Sensor Networks for Aerospace Human-Machine Systems
Next Article in Special Issue
Preliminary Clinical Application of Textile Insole Sensor for Hemiparetic Gait Pattern Analysis
Previous Article in Journal
NLOS Identification and Mitigation Using Low-Cost UWB Devices
Previous Article in Special Issue
Reexamination of Accelerometer Calibration with Energy Expenditure as Criterion: VO2net Instead of MET for Age-Equivalent Physical Activity Intensity
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Appropriate Mother Wavelets for Continuous Gait Event Detection Based on Time-Frequency Analysis for Hemiplegic and Healthy Individuals

1
College of Medicine and Biological Information Engineering, Northeastern University, Shenyang 110819, China
2
CAS Key Lab of Human-Machine Intelligence-Synergy Systems of Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences (CAS), Shenzhen 518055, China
3
School of Automation, Nanjing University of Science and Technology, Nanjing 210094, China
4
Panyu Central Hospital, Guangzhou 511400, China
*
Authors to whom correspondence should be addressed.
Submission received: 20 May 2019 / Revised: 24 June 2019 / Accepted: 2 July 2019 / Published: 8 August 2019
(This article belongs to the Special Issue Sensors for Gait, Posture, and Health Monitoring)

Abstract

:
Gait event detection is a crucial step towards the effective assessment and rehabilitation of motor dysfunctions. Recently, the continuous wavelet transform (CWT) based methods have been increasingly proposed for gait event detection due to their robustness. However, few investigations on determining the appropriate mother wavelet with proper selection criteria have been performed, especially for hemiplegic patients. In this study, the performances of commonly used mother wavelets in detecting gait events were systematically investigated. The acceleration signals from the tibialis anterior muscle of both healthy and hemiplegic subjects were recorded during ground walking and the two core gait events of heel strike (HS) and toe off (TO) were detected from the signal recordings by a CWT algorithm with different mother wavelets. Our results showed that the overall performance of the CWT algorithm in detecting the two gait events was significantly different when using various mother wavelets. By using different wavelet selection criteria, we also found that the accuracy criteria based on time-error minimization and F1-score maximization could provide the appropriate mother wavelet for gait event detection. The findings from this study will provide an insight on the selection of an appropriate mother wavelet for gait event detection and facilitate the development of adequate rehabilitation aids.

1. Introduction

Gait disorders are usually associated with an ageing population as well as stroke survivors with hemiplegia, thus leading to both a reduced quality of life and an increased mortality rate. The detection of gait events or gait characteristics is essential to numerous applications including the development of control mechanisms in drop foot correction devices [1,2,3,4,5], human activity recognition for healthcare [6,7], motor recovery assessments for effective rehabilitation strategies [1,8], especially for patients with lower limb motor dysfunction following a severe stroke. Heel strike (HS) and toe off (TO) are regarded as two core gait events in a normal gait cycle, which provide information on the swing, stance, and stride gait parameters. Hence, it is essential to develop an effective algorithm for the accurate detection of HS and TO gait events.
With the rapid development of wearable electronic devices, inertial sensors such as accelerometers are fast becoming widely used in gait analysis due to their portable, low-power consumption, and low-cost characteristics. In this regard, various algorithms aiming at gait event detection based on acceleration signals have been proposed in the recent years. In previous studies [4,9,10,11], a number of proposed algorithms have attempted to detect gait events based on a peak detection approach that integrates a filtering technique to the acceleration signal based on a set of predefined thresholds in the time domain. However, prior knowledge of the optimal thresholds is relatively difficult to adapt to different subjects in a real-world environment. Also, some attempts have been made to utilize machine learning algorithms for gait event detection via classification models especially with labelled datasets [12]. Note that such machine learning based approaches are limited because their operational procedures are driven by black-box models. Thus, it is difficult for developers and clinicians to truly understand the mechanism of gait event detection that often hinders proper interpretation for practical applications [9,13,14]. By exploiting the limitations of the above described threshold-based approaches and machine learning based methods [1,8], continuous wavelet transform (CWT) based methods have been considered as an alternative solution. By simultaneously providing a signal’s information in the time and frequency domains through a series of decomposition and reconstruction operation, the wavelet transform method has been utilized as an effective tool in various fields, such as signal de-noising [15], speech/signal processing and evaluation [16,17,18], and health threatening illness diagnosis [19]. In the aspect of gait research, CWT based methods have been proven to offer a time-frequency representation with the capability to capture and analyze varying frequencies of acceleration signals, be adaptive to irregular acceleration patterns even in the presence of frequency variations, as well as to attenuate inherent noise and baseline drift [20]. Considering these advantages, wavelet transforms are being increasingly used and have been reported to have good results particularly for gait event detection [13,20,21,22,23,24,25,26,27,28].
Table 1 summarizes the recently proposed CWT-based methods for detecting gait events, in which different mother wavelets were used in those previous studies. Note that the selection of an appropriate mother wavelet has been stated as a central and open question in the application of wavelet transforms for gait signal analysis [29]. Thus, finding an appropriate mother wavelet for gait events detection could be a crucial step, which would benefit coefficient reconstruction and feature extraction from the signal in time and frequency domains. Meanwhile, in other research domains such as signal de-noising, several mother wavelet selection criteria have been investigated based on some qualitative or quantitative approaches [15,17,30,31,32,33]. Apart from the fact that the quantitative method has been strongly advocated, mother wavelet selection based on accuracy driven criteria has attracted a lot of research attention in the recent years due to its simplicity and reliability [30]. However, how to determine the appropriate mother wavelet in gait event detection was rarely reported in the previous studies, so the criteria for the mother wavelet selection is still lacking. Additionally, while most of the previous studies concentrated on the gait analysis of healthy subjects and Parkinson’s disease (PD) patients, as showed in Table 1, few studies have been conducted to detect the gait events for hemiplegic patients who often suffer from gait disorders.
Towards determining an appropriate mother wavelet on gait event detection for both healthy subjects and hemiplegic patients, this study firstly constructed a general CWT algorithm. Secondly, we investigated the performance of 32 commonly applied mother wavelets in the recognition of two important gait events (HS and TO) using the acceleration signals obtained from 16 participants (including healthy subjects and hemiplegic patients) during level ground walking. By comparing the performance of different mother wavelets based on both accuracy (time-error, F1-score) and quantitative criteria (cross-correlation coefficient, energy-to-Shannon entropy ratio), the appropriate mother wavelet would be obtained. In this paper, the remaining part is organized as follows. Section 2 describes the improved general CWT algorithm and the criteria for selecting the appropriate mother wavelet. Section 3 presents the experimental results for gait event detection amongst the different mother wavelets and the different wavelet selection criteria in both healthy subjects and hemiplegic patients. Section 4 presents the discussion, and finally Section 5 concludes the work.

2. Materials and Methods

2.1. Subjects Information and Experimental Procedure

A total of 16 subjects (13 healthy subjects and 3 hemiplegic patients) participated in this study for the analysis of their gait events. The 13 healthy subjects consisted of seven males and six females with an age range of 20 to 35 years, a height of 1.55 to 1.78 m, and a weight of 47 to 78 kg. The three post-stroke patients were composed of two males and one female with an age range of 44 to 59 years, a height of 1.63 to 1.71 m, and a weight of 54 to 78 kg. For the recruitment of healthy subjects, a preliminary assessment was conducted to ensure that they had no physical problems that might affect their gait patterns. For the recruitment of hemiplegic patients, the following four inclusion criteria were ensured: They had a unilateral hemiplegia after stroke, were able to walk at least 10 m independently without any help or assistive devices after motor rehabilitation treatment, were not diagnosed with other diseases that might affect their walking patterns, and were able to understand and cooperate with the experimental protocols. With these criteria, three patients who have been diagnosed with cerebral ischemic stroke were recruited from Guangzhou Panyu Central Hospital. Each patient’s lower extremity motor functional level was evaluated using the Brunnstrom stage assessment method, which was used to reflect post-stroke motor recovery stage in clinical settings [34]. The clinical and demographic details of the hemiplegic subjects are summarized in Table 2. All the subjects gave the written informed consent to participate in the study and also provided the permission for the publication and educational purposes of their data/photographs. The experimental protocol of the study was approved by the Ethics Committee for Human Research, Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences.
In the experiments, a wireless tri-axial accelerometer sensor (Delsys Inc., Natick, MA, USA) was attached to the tibialis anterior muscle of the right leg of each healthy subject and the paretic leg of each hemiplegic patient. As a reference for the ground true values of HS and TO, two force sensing resistor (FSR) sensors (Delsys Inc., Natick, MA, USA) were used to record the foot-switch signals of the right foot for comparison. To be precise, the two FSR sensors were placed under the toe and heel of each subject, respectively. The FSR and acceleration signals were concurrently recorded using a commercial data acquisition system (Delsys Inc., Natick, MA, USA) and transmitted wirelessly to a computer system for storage. To ensure high quality signal recordings, a bandage (Kindmax Inc., Irvine, CA, USA) was used to firmly fix the sensors to the leg so as to minimize their displacement and vibration during walking. A diagram showing the experimental setup is presented in Figure 1. During the experiments, each subject was instructed to walk continuously along a 10 m pathway on level ground at their preferred speed (regarded as the norm). The subjects repeatedly walked from one side of the pathway to another side, and then made a U-turn to walk back for around one minute. Both the FSR and acceleration signals were simultaneously sampled at a rate of 148.15 Hz and then the acquired signals were analyzed using an offline MATLAB R2018b programming tool.

2.2. CWT Based Gait Event Detection Algorithm

A cycle of human gait can be divided into a sequence of repeated events and phases. More specifically, one gait cycle consists of stance and swing phases. The HS and TO events mark the beginning of stance and swing phases, respectively. In this case, it is obvious that the occurrence frequency of the two gait events (HS and TO) is twice of one gait cycle. This time-frequency relationship between the gait event and the gait cycle through the CWT can be used to detect gait events [13]. Moreover, it should be noted that the human gait is chaotic in nature in the real-world environment [35]. Thus, continuous wavelet transform methods have been proven to be robust and stable in several previous studies in effectively detecting gait events in practical applications that may be subject to various disturbances [13,20,21,22,26,28]. Here we propose a general CWT algorithm for the detection of two gait events (HS and TO), which is a combination of the methods in the two previous studies by Minh H. Pham et al. [22] and Siddhartha Khandelwal et al. [13].
The operational procedure of the general CWT based gait event detection algorithm is presented in Figure 2. Here the components of the tri-axially recorded acceleration signals from the anterior-posterior (AP) axis during level ground walking were used for the analysis of gait events [22,36]. In order to improve the quality of the AP signal recordings, the algorithm began with a pre-processing of the AP acceleration signals that were composed of three sequential procedures. Firstly, a linear de-trending algorithm was adopted to reduce the effect of noise and interference on the AP signal baseline. Secondly, a low-pass filtering at 10 Hz with a second-order Butterworth filter was used to remove the high-frequency interferences from the AP signals. Finally, the AP signals were smoothed by integration using the inbuilt function in MATLAB called cumtrapz, where the approximation of the cumulative integral of each sampling points along the time intervals was calculated.
After the AP acceleration signal preprocessing, the time-frequency analysis was performed to track the inherent gait events as well as gait cycles. The CWT of a discrete time signal x n with equal time spacing δ t is defined as the inner product of x n with a scaled and translated mother wavelet ψ as expressed in Equation (1).
W n ( s )   =   n = 0 N 1 x n ψ * [ ( n n ) δ t s ]      
where W n ( s ) denotes the wavelet transform, s is the wavelet scaling factor, n is the localized time index, and the (*) indicates the complex conjugate. Detailed definitions of different mother wavelets ( ψ ) and the prescription of wavelet selection criteria are presented in Section 2.4. The range of scales for CWT analysis [1, s m a x ] was chosen using the frequency scale relationship of the chosen wavelet [26], which is presented in Equation (2).
s m a x   =   f c × F s f
where f c is the central frequency of the wavelet, F s is the data sampling frequency, and f is the gait frequency. Since the healthy subjects usually walk at an average speed of 1.5 m/s, a minimum gait frequency of 0.5 Hz was utilized in this study as the norm [26]. In the experiments, the hemiplegic subjects walked with an average speed of around 0.7–0.8 m/s. Thus, a minimum gait frequency of 0.25 Hz was assumed for the hemiplegic subjects.
Given a mother wavelet, the corresponding frequency scale can be calculated by Equation (2) for CWT analysis, and then the CWT coefficients can be obtained by Equation (1). As a typical example, Figure 3 graphically demonstrates the CWT plots of the acceleration signals during walking from one healthy subject (Figure 3a) and one hemiplegic subject (Figure 3b), where two mother wavelets (“db6” and “morl”) were adopted for comparison. It was obvious from Figure 3 that the frequency of gait events underlying the corresponding scales is approximately two times of gait cycles. To distinguish the gait event and the gait cycle, the scale-dependent energy density spectrum E s was computed based on the obtained CWT coefficients by using Equation (3).
E s   =   n = 0 N 1 | W n ( s ) | 2 ,           s [ 1 ,     s m a x ]          
where N is the total number of wavelet coefficients and | W n ( s ) | 2 is the 2-D wavelet energy density function that measures the total energy distribution of the signal associated with the s scale. The peaks in E s represent the dominant energy scales that contribute most to the signal’s energy in the spectral domain [13]. Typically, two distinct spectral energy peaks can be obtained from the above computed E s parameter and the corresponding peak scales have a ratio of two due to the frequency relationship between the gait event and the gait cycle. Since the candidate scales of gait events and gait cycles were found from the peaks of E s , the peaks were stored as the set of local maxima points {( s m ,   E s m ),   m [ 1 ,   M ] }; where s m is the scale corresponding to a peak value of E s m and M is the total number of peaks. Afterwards, the following three possible cases were checked to determine the scale of the associated gait cycle and gait event in the energy density spectrum.
Case I: If there was only a single peak ( M   =   1 ) in the energy density spectrum, then the dominant spectral scale was tracked as the cycle scale using s c y c l e = s 1 and the event scale was tracked using the s e v e n t   =   r o u n d ( s c y c l e / 2 ) relationship.
Case II: If there were two dominant peaks ( M   =   2 ) in the energy density spectrum, then the cycle scale was tracked using s c y c l e = s 2 and the event scale was tracked using the s e v e n t = s 1 ( s 1 < s 2 ) relationship.
Case III: If there were more than two peaks ( M     3 ) in the energy density spectrum, then the ratio of any two consecutive (neighboring) peaks denoted as δ   =   s m + 1 / s m ( s m < s m + 1 , m [ 1 , M ) ) was checked with the relaxed spectral relationship that δ     [ 1.6 ,   2.4 ] to attenuate interferences in the signal and manage the occurrence of low frequency [14]. Thus, the two latest peaks that satisfied the above condition were tracked as the dominant peaks using the s c y c l e = s m + 1 and s e v e n t = s m ( s m < s m + 1 ) relationships.
Based on the conditions specified in Cases I–III, the scales of gait event and gait cycle were determined with the associated CWT coefficients ( x e v e n t and x c y c l e ) as shown in Equations (4) and (5).
x e v e n t   W n   ( s e v e n t )
x c y c l e   W n   ( s c y c l e )
After de-trending both the above temporal signals ( x e v e n t and x c y c l e   ), the gait cycle bounds could be defined as the maximum points of x c y c l e , which marked the beginning of each gait cycle. Within every gait cycle, the HS event was defined as the first local minima of x e v e n t and TO event was defined as the second local maxima of the further differentiated x e v e n t . An illustration of the temporal representation of HS and TO gait event detection based on the proposed general CWT algorithm is illustrated in Figure 4.

2.3. Verification of the CWT Based Gait Event Detection Algorithm

As a direct measure of pressure distribution under the foot during walking, the FSR method is commonly used as the gold standard for gait event detection in previous gait literatures [8]. Thus, the FSR method was utilized as the reference method to evaluate the performance of the proposed CWT based gait event detection method in our study. In the FSR method, the HS and TO events were detected by a set of threshold values. The threshold value for the detected HS event was calculated as 5% of the maximum heel FSR amplitude at the foot force increasing stage. Meanwhile, the threshold value for the detected TO event was calculated as 5% of the maximum toe FSR amplitude at the foot force decreasing stage. Detailed description is provided in previous literatures [26,37]. It should be noted that the heel and toe FSR signals of each subject were collected simultaneously with the walking acceleration signals through a pair of FSR sensors, which was described in the experimental procedure (see Section 2.1).
In this study, the time-error and F1-score were utilized as the metrics to assess the gait event detection performances, which were commonly adopted in the previous gait literatures [13,20,38]. It is worthy to note that the gait events detected with the FSR recordings were used as the reference events for each subject. And the gait events detected by using the proposed general CWT method based on the AP acceleration signals were designated as the estimated events. Time-error, a measure of the time agreement between the reference events and the estimated events, was utilized to assess the time accuracy among the correctly detected gait events when the proposed method was applied. The time-errors of the estimated HS and TO gait events, designated as T E H S and T E T O , respectively, were defined as the following Equations (6) and (7):
T E H S = | T H S _ C W T T H S _ F S R |
T E T O = | T T O _ C W T T T O _ F S R |
where T H S _ C W T and T T O _ C W T represent the time indexes of the estimated HS and TO gait events via the CWT-based algorithm, and T H S _ F S R and T T O _ F S R represent the time indexes of the reference HS and TO gait events via the FSR method, respectively.
In cases of possibly missed and wrongly detected gait events, the F1-score was adopted as a measure of the precision and recall of the gait event detection, which is calculated as follows:
F 1   =   2 P R P + R
where P denotes Precision and R denotes Recall, which are computed as Equations (9) and (10), respectively:
P   =   T P T P + F P
R   =   T P T P + F N
where T P denotes the true positives, F N denotes false negatives, and F P denotes false positives. Note that in the context of this study, T P actually represented the number of correctly estimated gait events, F N denoted the number of unidentified/missed gait events, and F P represented the number of wrongly estimated gait events.

2.4. Appropriate Mother Wavelet Selection

Considering the fact that mother wavelet selection plays an important role in the overall performance of CWT based algorithms, there is a need for an effective means of determining the appropriate mother wavelet especially in the context of gait event detection for hemiplegic patients. In order to determine an appropriate mother wavelet, we systematically investigated the performance of 32 commonly applied mother wavelets in detecting gait events using the measures of both accuracy and quantitative criteria. The targeted mother wavelet functions included ten Daubechies (db1–db10), five Coiflets (coif1–coif5), seven Symlets (sym2–sym8), eight Gaussian (gaus1–gaus8), one Morlet (morl), and one Meyer (meyr). Table 3 briefly summarizes the definitions and main properties of the investigated wavelet families in this study.
Generally, the basic properties of each mother wavelet, such as the orthogonality and symmetry, are considered in order to help select the appropriate mother wavelet in the first step. The orthogonality characteristics can ensure that the signal will not be decomposed into overlapping sub-frequency bands. Symmetry property can help avoid phase distortion, which is mainly concerned in the wavelet-based filtering operation because the mother wavelet can be served as a linear phase filter. As pointed out in [30], there is possibly more than one mother wavelet sharing similar fundamental properties. Thus, the selection of an appropriate mother wavelet cannot solely rely on the basic properties of the wavelets. Besides, the visual similarity generally applied in the optimal mother wavelet selection is also reported to be not always proper for all wavelet-based processing [30,31]. Additionally, the wavelet selection that is based on accuracy related to specific application is more recommended [30]. In this case, both accuracy (time-error, F1-score of the gait event detection) and quantitative (cross-correlation coefficient, energy-to-Shannon entropy ratio) criteria were investigated to search for an effective mother wavelet associated with HS and TO event detection for healthy and hemiplegic subjects. For the accuracy criteria, kindly note that the definition of time-error and F1-score can be referred in Section 2.3.
For the quantitative criteria, cross-correlation coefficient (Xcorr) and energy-to-Shannon entropy ratio (ESER) metrics were applied to evaluate the performances of the 32 mother wavelets in gait event detection in this study. Note that they were two commonly used quantitative wavelet selection criterion in various applications such as signal de-noising, signal processing/decoding, and vibration signal analysis [15,17,39]. In the cross-correlation measure, the cross-correlation coefficient ( X C o r r ) between the recorded acceleration signal ( X ) and a specific mother wavelet ( Y i ) was obtained and utilized to quantify the performance of the mother wavelet ( Y i ) in detecting the associated gait events [31,32]. It is noteworthy that the higher the absolute X C o r r ( X , Y i ) , the stronger the correlation will be and a value of 0 indicates that the two variables are linearly independent. The cross-correlation coefficient X C o r r ( X , Y i ) is computed using the formula in Equation (11).
X C o r r ( X , Y )   =   ( X X ¯ ) ( Y Y ¯ ) ( X X ¯ ) 2 ( Y Y ¯ ) 2
In the energy-to-Shannon entropy ratio ( E S E R ) measure, the goal is to obtain a mother wavelet that provides the maximum energy, and at the same time minimum Shannon entropy associated with the wavelet coefficients [39]. Thus, the energy-to-Shannon entropy ratio is computed using the formula in Equation (12).
E S E R ( s )   =   E ( s ) S e n t r o p y   ( s )
where the energy E ( s ) associated with s scale was computed using Equation (3) and the Shannon entropy S e n t r o p y   ( s ) was defined as the Equation (13).
S e n t r o p y   ( s )   =   i = 1 N p i · log 2 p i
where p i is the energy probability distribution of each wavelet coefficient and is computed using the formula in Equation (14). W n ( s ) represents the wavelet transform of the signal associated with the s scale, which was defined in Equation (1). E s represents the energy density spectrum which is computed based on the above mentioned CWT coefficients W n ( s ) and was defined in Equation (3). N is the total number of wavelet coefficients. Specifically, if p i = 0, then i = 1 N   p i = 1.
p i   =   | W n ( s ) | 2 E ( s )
In summary, the mother wavelet that provides the maximum F1-score, X C o r r , and E S E R as well as the minimum time-error is generally considered to be the most appropriate mother wavelet for gait event detection.

2.5. Statistical Analysis

Statistical tests were conducted using a SPSS 21 software package to further validate the findings of the study. Specifically, the most appropriate mother wavelets among the healthy and hemiplegic subjects were determined by evaluating the total time-error, F1-score, X C o r r , and E S E R of the HS and TO events between the proposed general CWT algorithm and the FSR method through one-way ANOVA. Afterwards, a post-hoc comparison was performed based on Duncan’s test, and the significance level was set to p < 0.05 for all the analysis.

3. Results

3.1. Appropriate Mother Wavelet Selection Based on Accuracy Criteria

The gait event detection results for the healthy and hemiplegic subjects using the two accuracy criteria, the time-error and F1-score measures for mother wavelet selection, are presented as follows. Figure 5 presents the averaged time-errors associated with HS and TO estimated gait events for the healthy and hemiplegic subjects across the 32 mother wavelets. Notably, the lower the time-error value is, the higher the time-agreement with the FSR reference is. It can be seen from Figure 5a that the “sym2”, “db7”, and “db6” mother wavelets achieved a relatively lower averaged time-error value of 0.06 ± 0.03 s, 0.09 ± 0.07 s, and 0.10 ± 0.03 s, respectively, for the total of the estimated HS and TO gait events over all the healthy subjects in comparison to the other mother wavelets. Meanwhile, “db6”, “sym5”, and “db5” achieved a lower averaged time-error value of 0.18 ± 0.05 s, 0.21 ± 0.07 s, and 0.26 ± 0.07 s for gait event detection over all the hemiplegic participants, respectively, as shown in Figure 5b. Note that using the “db6” mother wavelet, the averaged time-error values were lowest over the hemiplegic participants (Figure 5b) and were relatively lower over the healthy subjects (Figure 5a). These findings suggest that the “db6” is an appropriate mother wavelet in gait event detection for both healthy and hemiplegic subjects.
As a comparison, Figure 6 plots the Bland–Altman time agreements between the reference gait events and the estimated gait events, where the sample points were obtained from the time-error values of the healthy (Figure 6a) and hemiplegic subjects (Figure 6b) when using the appropriate mother wavelet “db6” and one previously used wavelet “gaus1” in another study [15], respectively. Note that the absolute value of time-errors is presented in Figure 5, whereas the true value of the time agreement is plotted in Figure 6. Here a negative time-error value corresponds to a time-delay in the estimated gait events with respect to the FSR reference gait events, and a positive value means a time-advance. We can see from Figure 6 that for the healthy subjects, the mother wavelet “db6” had a mean time-error of −0.06 s with a 95% confidence interval (CI) of [−0.12, −0.01] for HS gait event detection and −0.02 s [−0.19, 0.14] for TO gait event detection. While using the mother wavelet “gaus1”, the mean time-error of 0.16 s [−0.23, 0.55] was achieved for HS gait event detection and 0.12 s [−0.20, 0.44] for TO gait event detection. For the hemiplegic subjects, the “db6” mother wavelet achieved a mean time-error of −0.04 s [−0.11, 0.02] for HS gait event detection and 0.18 s [−0.01, 0.37] for TO gait event detection, whereas the “gaus1” mother wavelet achieved a mean time-error of −0.08 s [−1.30, 1.20] for HS gait event detection and −0.21 s [−1.40, 0.95] for TO gait event detection. Thus, the performances of “db6” were rather good in comparison to “gaus1” for both the healthy and the hemiplegic subjects.
Figure 7 shows the averaged HS and TO gait event detection results obtained by using the F1-score criterion across all the 32 mother wavelets. The vertical dotted line indicates the standard deviation. It can be observed from Figure 7 that four of all the mother wavelets, “sym5”, “db5”, “db6”, and “sym7” achieved relatively higher average F1-scores (1.00 ± 0.01, 0.99 ± 0.02, 0.99 ± 0.02, and 0.99 ± 0.02 across the healthy subjects (blue line), respectively). For the hemiplegic patients (red line), “db5”, “db6”, and “morl” mother wavelets achieved higher averaged F1-scores (0.98 ± 0.02, 0.98 ± 0.03, and 0.98 ± 0.02, respectively). Note that “db5” and “db6” mother wavelets are more stable with relatively high F1-scores for both the healthy and hemiplegic subjects, indicating that the two mother wavelets would be the appropriate mother wavelets for the accurate detection of gait events in comparison to the other mother wavelets regardless of the status of the subject.
Furthermore, when using the different mother wavelets, the ANOVA analysis of the time-errors (Figure 5) between the FSR reference events and the estimated gait events was significantly different (p < 0.001) for both healthy and hemiplegic subjects. This statistical result suggests that the time-error should be a proper criterion for selection of an appropriate mother wavelet in gait event detection for all the subjects. Meanwhile, the ANOVA analysis of the F1-scores (Figure 7) was significantly different for the hemiplegic subjects (p < 0.01) and was not significantly different for the healthy subjects (p > 0.05). This suggested that the F1-score could also be used as a criterion for the selection of an appropriate mother wavelet in gait event detection for hemiplegic subjects, but probably not for healthy subjects.

3.2. Appropriate Mother Wavelet Selection Based on Quantitative Criteria

Additionally, the detection of gait events was also performed using two quantitative criteria, the cross-correlation coefficient and the energy-to-Shannon entropy ratio measures, to obtain an appropriate mother wavelet. The analysis results of the mother wavelets based on the cross-correlation coefficient criterion for gait event detection are presented in Figure 8. It can be seen from Figure 8a that amongst the Daubechies family, “db2” and “sym2” achieved the highest average correlation coefficient of 0.34 between the acceleration and the underlying mother wavelet followed by “gaus1” in the Gaussian family with an average value of 0.33. In other words, the “db2”, “sym2”, and “gaus1” mother wavelets have high similarity with the anterior-posterior acceleration signals from which the participants’ gaits were detected. Meanwhile, we found that “db3”, “sym3”, and “gaus3” achieved the best correlation coefficients between the acceleration and the underlying mother wavelet function in their respective categories for the hemiplegic patients (Figure 8b).
The analysis results of mother wavelet characteristics based on the energy-to-Shannon entropy ratio criterion for gait event detection are presented in Figure 9. It can be observed that the average energy-to-Shannon entropy ratios for most of the investigated mother wavelets lies in the range of −0.15 to −0.13 with the “morl” mother wavelet achieving the highest ratio for healthy subjects (blue line). On the other hand, except for the “morl” mother wavelet that also provided the highest average energy-to-Shannon entropy ratio across the hemiplegic subjects (red line), the other mother wavelets had the average energy-to-Shannon entropy ratios that were in the range of −0.16 to −0.14. Although the “morl” mother wavelet function achieved a relatively higher mean energy-to-Shannon entropy ratio, however there was no significant difference between the “morl” and the other investigated mother wavelet functions based on ANOVA statistical analysis (p > 0.05).

4. Discussion

Although several CWT-based algorithms have been proposed for gait event detection, the validation of such algorithms especially on hemiplegic patients and the investigation into an appropriate mother wavelet selection has rarely been conducted to date. Thus, there is a need to embark on the current study. This study systematically investigated different wavelet selection criteria across the 32 commonly applied mother wavelets towards obtaining the appropriate mother wavelet required for consistently accurate gait event detection especially for hemiplegic patients. The mother wavelets were individually incorporated into a proposed general CWT algorithm for the recognition of HS and TO gait events, and the algorithm was validated with datasets from hemiplegic patients as well as healthy subjects.
It should be noted that the proposed general CWT algorithm showed a good performance for HS and TO gait event detection in terms of consistently achieving high accuracy and low time-error particularly when the appropriate mother wavelet was applied to both healthy and hemiplegic subjects. The gait event detection results for the healthy subjects were observed to be comparatively stable and consistent with that reported in previous studies which utilized only a specific single mother wavelet [13,22,26]. Interestingly, we also found that the validation results of the estimated gait events for the hemiplegic subjects were observed to be consistent with the results obtained for healthy subjects. One possible reason is due to the use of time-frequency analysis and the domain knowledge about gait events and gait cycles. Since functional gait after stroke is usually affected by spasticity, muscle weakness, and balance disorder [40], hemiplegic gait is often characterized by reduced speed, cadence, stride length and joint angular excursions, and asymmetry in temporal and spatial domains [41]. In addition, limb circumduction is clearly observed on the hemiplegic subjects during walking due to the increased lateral displacement of the foot during the swing in the paretic limb [41], and these factors may increase the complexity of recognizing the gait patterns of hemiplegic patients. However, with the proposed CWT algorithm that incorporates time-frequency information, the gait events of both hemiplegic and healthy subjects can be adequately identified as shown in Figure 3. Therefore, the CWT based algorithm that integrates the optimal wavelet function shows its robustness in HS and TO event detection, which indicates its superiority with no need to readjust the thresholds in comparison with some purely data-driven approaches that are often dependent on threshold and parameter tuning. Hence, this again proves the potential of applying an appropriate mother wavelet to the proposed general CWT algorithm for gait event detection in real-life applications.
When considering the selection of the appropriate mother wavelet, the criteria based on some accuracy and quantitative measures were investigated. For the accuracy-based criteria, time-error and F1-score measures were applied to evaluate the performance of a range of mother wavelets employed by the proposed CWT algorithm to detect the HS and TO gait events. From the analysis results, we found that the “db6” mother wavelet achieved relatively higher F1-scores and yielded the lowest average time-error values for both healthy and hemiplegic subjects. The possible reason is that the “db6” mother wavelet provide the most precise scale for CWT based gait event detection in comparison to the other 31 analyzed mother wavelets. With respect to the quantitative-based criteria, the cross-correlation coefficient (Xcorr) and energy-to-Shannon entropy ratio (ESER) were investigated to check whether the above two metrics could be considered as effective wavelet selection criteria for the appropriate mother wavelet in detecting gait events. Since the CWT are essentially based on finding the correlation between the analyzed signal (the acceleration signal) and the shifted/scaled mother wavelet, it is obvious that an initial criterion for appropriate wavelet selection could be the cross-correlation (Xcorr) that reflects the similarity. However, we found that the results of cross-correlation (Xcorr) analysis were not consistent with the actual performances of HS and TO gait event detection in both healthy subjects and hemiplegic patients. This may be due to the fact that cross-correlation (Xcorr) is only appropriate for those wavelet-based processing methods based on the resemblance between signals and mother functions [31], but not for our models which extract and distinguish the feature points based on the frequency relationship of the signal itself. After investigating the correlation between the wavelet and the analyzed signal (Xcorr), we also wanted to check if there were significant differences that exist in the wavelet coefficients themselves by using different mother wavelets for CWT. Which is to say, the energy concentration and entropy that reflects information lost were integrated to check whether the energy-to-Shannon entropy ratio (ESER) could be considered as one of the effective wavelet selection criteria. As pointed out in the previous study [42], maximization of time/frequency energy concentration, minimization of the bias, and the unique relationship that exists between scale and frequency contribute to desirable continuous analytic wavelets. However, we also found that the results of the ESER analysis across different mother wavelets had no significant difference, which might not be appropriate for the wavelet selection in our study. In other words, the results of the ESER analysis revealed that the energy concentration and entropy distribution were almost the same across different mother wavelets in the aspect of gait event detection. Therefore, the accuracy-based criteria including time-error and F1-score is suggested as effective wavelet selection criteria in the context of gait event analysis.
Despite the interesting findings observed in this study, there are still some limitations that should be addressed in the future work. For instance, the proposed general CWT algorithm was validated using the dataset from post-stroke hemiplegic patients who were said to be in stages V and IV according to the Brunnstrom assessment scale, excluding patients with severe stroke (perhaps in stages II and III on the Brunnstrom assessment scale). Therefore, there is need to conduct further studies with this population since they have the most drop foot issues, and their gait patterns maybe somewhat different from those in stages V and IV considered in the current study. Besides that, different sensor placement configuration as well as different walking terrains would normally influence gait patterns in real-life applications. In the future, we would further investigate the performances of different mother wavelets in the presence of both factors, and perhaps make adjustment, if necessary, to the mother wavelet selection criteria examined in this study.

5. Conclusions

While CWT based gait analysis methods have been widely adopted in previous studies, their performances in gait event detection when using different mother wavelets have rarely been studied, especially in hemiplegic patients. In this study, different mother wavelets and wavelet selection criteria were systematically investigated by using acceleration signals recorded from both hemiplegic and healthy subjects. The experimental results demonstrated that an overall significant difference in performance of the CWT algorithm was observed when using different mother wavelet functions for detecting HS and TO gait events, which suggested the need for this study. Additionally, we found that the accuracy criteria based on time-error minimization and F1-score maximization led to the realization of an appropriate mother wavelet named as “db6” which achieved the highest detection accuracy with lowest detection time-error for both hemiplegic and healthy subjects. The outcomes of this study may provide an insight on mother wavelet selection criteria for gait event analysis especially in hemiplegic patients, and may ultimately facilitate the practical development of rehabilitation devices or strategies for them.

Author Contributions

Conceptualization, H.Z., N.J., Z.H., and G.L.; investigation, N.J., H.Z., K.G., L.X., and G.L.; methodology, N.J. and H.Z.; software, N.J.; validation, N.J.; patients’ recruitment, K.G. and Z.H.; data collection, N.J., K.G, and Z.H.; data analysis, N.J., H.Z., O.W.S., and Z.H.; data interpretation, K.G. and G.L.; writing—original draft preparation, N.J.; writing—review and editing, G.L., L.X., N.J., and O.W.S.; supervision, G.L. and L.X.; funding acquisition, G.L. and Z.H.

Funding

The work was supported in part by the National Natural Science Foundation of China under Grant (#U1613222, #61773110), Shenzhen Science and Technology Plan Project (#JCYJ20160331174854880, #JCYJ20160331185848286), Science and Technology Program of Guangzhou (#201803010093), and Fundamental Research Funds for the Central Universities Grant (#N181906001).

Acknowledgments

The authors would thank the staffs at the CAS Key Lab of Human-Machine Intelligence-Synergy Systems of Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences (CAS), and Guangzhou Panyu Central Hospital for their support in data acquisition.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cui, C.; Bian, G.B.; Hou, Z.G.; Zhao, J.; Su, G.; Zhou, H.; Peng, L.; Wang, W. Simultaneous Recognition and Assessment of Post-Stroke Hemiparetic Gait by Fusing Kinematic, Kinetic, and Electrophysiological Data. IEEE Trans. Neural Syst. Rehabil. Eng. 2018, 24, 856–864. [Google Scholar] [CrossRef] [PubMed]
  2. Lyons, G.M.; Sinkjaer, T.; Burridge, J.H.; Wilcox, D.J. A review of portable FES-based neural orthoses for the correction of drop foot. IEEE Trans. Neural Syst. Rehabil. Eng. 2002, 10, 260–279. [Google Scholar] [CrossRef] [PubMed]
  3. Kotiadis, D.; Hermens, H.J.; Veltink, P.H. Inertial Gait Phase Detection for control of a drop foot stimulator Inertial sensing for gait phase detection. Med. Eng. Phys. 2010, 32, 287–297. [Google Scholar] [CrossRef] [PubMed]
  4. Rueterbories, J.; Spaich, E.G.; Andersen, O.K. Gait event detection for use in FES rehabilitation by radial and tangential foot accelerations. Med. Eng. Phys. 2014, 36, 502–508. [Google Scholar] [CrossRef] [PubMed]
  5. Skelly, M.M.; Chizeck, H.J. Real-time gait event detection for paraplegic FES walking. IEEE Trans. Neural Syst. Rehabil. Eng. 2002, 9, 59–68. [Google Scholar] [CrossRef] [PubMed]
  6. Damasevicius, R.; Vasiljevas, M.; Salkevicius, J.; Wozniak, M. Human Activity Recognition in AAL Environments Using Random Projections. Comput. Math. Methods Med. 2016, 4073584. [Google Scholar] [CrossRef]
  7. Mannini, A.; Sabatini, A.M. Machine Learning Methods for Classifying Human Physical Activity from on-Body Accelerometers. Sensors 2010, 10, 1154–1175. [Google Scholar] [CrossRef]
  8. Lopezmeyer, P.; Fulk, G.D.; Sazonov, E.S. Automatic Detection of Temporal Gait Parameters in Poststroke Individuals. IEEE Trans. Inf. Technol. Biomed. 2011, 15, 594–601. [Google Scholar] [CrossRef] [Green Version]
  9. Sant’Anna, A.; Wickström, N. A symbol-based approach to gait analysis from acceleration signals: Identification and detection of gait events and a new measure of gait symmetry. IEEE Trans. Inf. Technol. Biomed. 2010, 14, 1180–1187. [Google Scholar] [CrossRef]
  10. Bejarano, N.C.; Ambrosini, E.; Pedrocchi, A.; Ferrigno, G.; Monticone, M.; Ferrante, S. A Novel Adaptive, Real-Time Algorithm to Detect Gait Events from Wearable Sensors. IEEE Trans. Neural Syst. Rehabil. Eng. 2015, 23, 413–422. [Google Scholar] [CrossRef]
  11. Encarna, M.A.M.; Idsart, K.; Erik, A.; Stefan, W.; Martijn, N.; Van, L.R.C.; Van, D.J.H. A novel accelerometry-based algorithm for the detection of step durations over short episodes of gait in healthy elderly. J. Neuroeng. Rehabil. 2016, 13, 38. [Google Scholar] [CrossRef]
  12. Williamson, R.; Andrews, B.J. Gait event detection for FES using accelerometers and supervised machine learning. IEEE Trans. Rehabil. Eng. 2000, 8, 312–319. [Google Scholar] [CrossRef]
  13. Khandelwal, S.; Wickstrom, N. Gait Event Detection in Real-World Environment for Long-Term Applications: Incorporating Domain Knowledge into Time-Frequency Analysis. IEEE Trans. Neural Syst. Rehabil. Eng. 2016, 24, 1363–1372. [Google Scholar] [CrossRef]
  14. Lai, D.T.; Begg, R.K.; Palaniswami, M. Computational intelligence in gait research: A perspective on current applications and future challenges. IEEE Trans. Inf. Technol. Biomed. 2009, 13, 687–702. [Google Scholar] [CrossRef]
  15. Singh, B.N.; Tiwari, A.K. Optimal selection of wavelet basis function applied to ECG signal denoising. Digit. Signal Process. 2006, 16, 275–287. [Google Scholar] [CrossRef]
  16. Shadevsky, A.; Petrovsky, A. Bio-inspired voice activity detector based on the human speech properties in the modulation domain. In Information Processing and Security Systems; Saeed, K., Pejas, J., Eds.; Springer Science Business Media, Inc.: New York, NY, USA, 2005; pp. 43–54. [Google Scholar]
  17. Al-Qazzaz, N.K.; Ali, S.H.B.M.; Ahmad, S.A.; Islam, M.S.; Escudero, J. Selection of Mother Wavelet Functions for Multi-Channel EEG Signal Analysis during a Working Memory Task. Sensors 2015, 15, 29015–29035. [Google Scholar] [CrossRef]
  18. Salyers, J.B.; Dong, Y.; Gai, Y. Continuous Wavelet Transform for Decoding Finger Movements from Single-Channel EEG. IEEE Trans. Biomed. Eng. 2018. [Google Scholar] [CrossRef]
  19. Beritelli, F.; Capizzi, G.; Sciuto, G.L.; Napoli, C.; Wozniak, M. A novel training method to preserve generalization of RBPNN classifiers applied to ECG signals diagnosis. Neural Netw. 2018, 108, 331–338. [Google Scholar] [CrossRef]
  20. Mccamley, J.; Donati, M.; Grimpampi, E.; Mazzà, C. An enhanced estimate of initial contact and final contact instants of time using lower trunk inertial sensor data. Gait Posture 2012, 36, 316–318. [Google Scholar] [CrossRef]
  21. Khandelwal, S.; Wickström, N. Novel methodology for estimating Initial Contact events from accelerometers positioned at different body locations. Gait Posture 2018, 59, 278–285. [Google Scholar] [CrossRef]
  22. Pham, M.H.; Elshehabi, M.; Haertner, L.; Del, D.S.; Srulijes, K.; Heger, T.; Synofzik, M.; Hobert, M.A.; Faber, G.S.; Hansen, C. Validation of a Step Detection Algorithm during Straight Walking and Turning in Patients with Parkinson’s Disease and Older Adults Using an Inertial Measurement Unit at the Lower Back. Front. Neurol. 2017, 8, 457. [Google Scholar] [CrossRef]
  23. Glowinski, S.; Blazejewski, A.; Krzyzynski, T. Human Gait Feature Detection Using Inertial Sensors Wavelets. Wearable Robot. Chall. Trends 2017, 16, 397–401. [Google Scholar] [CrossRef]
  24. Aung, M.S.; Thies, S.B.; Kenney, L.P.; Howard, D.; Selles, R.W.; Findlow, A.H.; Goulermas, J.Y. Automated detection of instantaneous gait events using time frequency analysis and manifold embedding. IEEE Trans. Neural Syst. Rehabil. Eng. 2013, 21, 908–916. [Google Scholar] [CrossRef]
  25. Forsman, P.M.; Toppila, E.M.; Haeggstrom, E.O. Wavelet analysis to detect gait events. In Proceedings of the 31st Annual International Conference of the IEEE Engineering in Medicine and Biology Society: Engineering the Future of Biomedicine (EMBC), Minneapolis, MN, USA, 2–6 September 2009; pp. 424–427. [Google Scholar]
  26. Zhou, H.; Ji, N.; Samuel, O.W.; Cao, Y.; Zhao, Z.; Chen, S.; Li, G. Towards Real-Time Detection of Gait Events on Different Terrains Using Time-Frequency Analysis and Peak Heuristics Algorithm. Sensors 2016, 16, 1634. [Google Scholar] [CrossRef]
  27. Saba, R.; Lockhart, T.E. Towards Real-Time Detection of Freezing of Gait Using Wavelet Transform on Wireless Accelerometer Data. Sensors 2016, 16, 475. [Google Scholar] [CrossRef]
  28. Khandelwal, S.; Wickström, N. Evaluation of the performance of accelerometer-based gait event detection algorithms in different real-world scenarios using the MAREA gait database. Gait Posture 2016, 51, 84–90. [Google Scholar] [CrossRef]
  29. Chau, T. A review of analytical techniques for gait data. Part 2: Neural network and wavelet methods. Gait Posture 2001, 13, 102–120. [Google Scholar] [CrossRef]
  30. Ngui, W.K.; Leong, M.S.; Hee, L.M.; Abdelrhman, A.M. Wavelet Analysis: Mother Wavelet Selection Methods. Appl. Mech. Mater. 2013, 393, 953–958. [Google Scholar] [CrossRef]
  31. Rafiee, J.; Rafiee, M.A.; Prause, N.; Schoen, M.P. Wavelet basis functions in biomedical signal processing. Expert Syst. Appl. 2011, 38, 6190–6201. [Google Scholar] [CrossRef]
  32. Mojsilović, A.; Popović, M.V.; Rackov, D.M. On the selection of an optimal wavelet basis for texture characterization. IEEE Trans. Image Process. 2000, 9, 2043–2050. [Google Scholar] [Green Version]
  33. Soubra, R.; Diab, M.O.; Moslem, B. A mother wavelet selection study for vertical ground reaction force signals. In Proceedings of the 2nd International Conference on Bio-Engineering for Smart Technologies, Paris, France, 30 August–1 September 2017; pp. 1–5. [Google Scholar]
  34. Cho, K.H.; Lee, J.Y.; Lee, K.J.; Kang, E.K. Factors Related to Gait Function in Post-stroke Patients. J. Phys. Ther. Sci. 2014, 26, 1941–1944. [Google Scholar] [CrossRef] [Green Version]
  35. Orellana, J.N.; Sixto, A.S.; Torres, B.; Cachadina, E.S.; Martin, P.F.; Rosa, F.J. Multiscale time irreversibility: Is it useful in the analysis of human gait? Biomed. Signal Process. Control 2018, 39, 431–434. [Google Scholar] [CrossRef]
  36. González, R.C.; López, A.M.; Rodriguez-Uría, J.; Alvarez, D.; Alvarez, J.C. Real-time gait event detection for normal subjects from lower trunk accelerations. Gait Posture 2010, 31, 322–325. [Google Scholar] [CrossRef]
  37. Catalfamo, P.; Moser, D.; Ghoussayni, S.; Ewins, D. Detection of gait events using an F-Scan in-shoe pressure measurement system. Gait Posture 2008, 28, 420–426. [Google Scholar] [CrossRef]
  38. Sprager, S.; Juric, M.B. Robust Stride Segmentation of Inertial Signals Based on Local Cyclicity Estimation. Sensors 2018, 18, 1091. [Google Scholar] [CrossRef]
  39. Yan, R. Base Wavelet Selection Criteria for Non-Stationary Vibration Analysis in Bearing Health Diagnosis. Ph.D. Thesis, University of Massachusetts Amherst, Amherst, MA, USA, May 2007. [Google Scholar]
  40. Sota, K.; Uchiyama, Y.; Ochi, M.; Matsumoto, S.; Hachisuka, K.; Domen, K. Examination of factors related to the effect of improving gait speed with functional electrical stimulation intervention for patients with stroke. PM&R 2018, 10, 798–805. [Google Scholar] [CrossRef]
  41. Chen, G.; Patten, C.; Kothari, D.H.; Zajac, F.E. Gait differences between individuals with post-stroke hemiparesis and non-disabled controls at matched speeds. Gait Posture 2005, 22, 51–56. [Google Scholar] [CrossRef]
  42. Lilly, J.M.; Olhede, S.C. Higher-Order Properties of Analytic Wavelets. IEEE Trans. Signal Process. 2009, 57, 146–160. [Google Scholar] [CrossRef]
Figure 1. Experimental setup for force sensitive resistor (FSR) and accelerometer sensors placement in preparation for gait data acquisition. (a) A pair of FSR sensors were placed under the big toe and heel of the insole; (b) the placement of the insole into the shoe; (c) the placement of the accelerometer on the tibialis anterior muscle under the knee joint of right leg; (d) a bandage was used to firmly fix the sensors.
Figure 1. Experimental setup for force sensitive resistor (FSR) and accelerometer sensors placement in preparation for gait data acquisition. (a) A pair of FSR sensors were placed under the big toe and heel of the insole; (b) the placement of the insole into the shoe; (c) the placement of the accelerometer on the tibialis anterior muscle under the knee joint of right leg; (d) a bandage was used to firmly fix the sensors.
Sensors 19 03462 g001
Figure 2. Conceptualization of the proposed general CWT algorithm with three main phases: (1) Pre-processing of the acceleration signals; (2) Tracking the gait events and gait cycles through time-frequency analysis; (3) Distinguishing HS and TO gait events.
Figure 2. Conceptualization of the proposed general CWT algorithm with three main phases: (1) Pre-processing of the acceleration signals; (2) Tracking the gait events and gait cycles through time-frequency analysis; (3) Distinguishing HS and TO gait events.
Sensors 19 03462 g002
Figure 3. Continuous wavelet transform (CWT) plots of the acceleration signals during walking from one healthy subject (a) and one hemiplegic subject (b), where two mother wavelets (“db6” and “morl”) were adopted for comparison. The underlying scale relationship between the gait events (HS and TO) and gait cycles are illustrated.
Figure 3. Continuous wavelet transform (CWT) plots of the acceleration signals during walking from one healthy subject (a) and one hemiplegic subject (b), where two mother wavelets (“db6” and “morl”) were adopted for comparison. The underlying scale relationship between the gait events (HS and TO) and gait cycles are illustrated.
Sensors 19 03462 g003
Figure 4. Temporal representation of HS and TO gait event detection based on the proposed general CWT algorithm. The first local minima of x e v e n t corresponded to the estimated HS event (orange circle). The second local maxima of the further differentiated x e v e n t corresponded to the estimated TO event (purple circle). Each gait cycle bound was defined as the maximum points of x c y c l e . Vertical dashed lines indicated the time-errors between the estimated event and the reference event from the FSR method.
Figure 4. Temporal representation of HS and TO gait event detection based on the proposed general CWT algorithm. The first local minima of x e v e n t corresponded to the estimated HS event (orange circle). The second local maxima of the further differentiated x e v e n t corresponded to the estimated TO event (purple circle). Each gait cycle bound was defined as the maximum points of x c y c l e . Vertical dashed lines indicated the time-errors between the estimated event and the reference event from the FSR method.
Sensors 19 03462 g004
Figure 5. Averaged time-error values of the estimated HS and TO gait events over all the healthy subjects (a) and all the hemiplegic subjects (b) when using 32 commonly applied mother wavelets. The vertical dashed lines indicate the standard deviation.
Figure 5. Averaged time-error values of the estimated HS and TO gait events over all the healthy subjects (a) and all the hemiplegic subjects (b) when using 32 commonly applied mother wavelets. The vertical dashed lines indicate the standard deviation.
Sensors 19 03462 g005
Figure 6. Bland–Altman plots of time agreement between the proposed modified CWT algorithm and the FSR method for HS and TO gait event detection in the healthy group (a) and the hemiplegic group (b). The time agreement results of selecting the optimal wavelet “db6” are shown on the left side whereas results of the commonly used wavelet “gaus1” with rather poor performance are shown on the right side. Positive times correspond to delays in the gait event detection of the proposed modified CWT algorithm with respect to the reference FSR method. The horizontal axis represents the average time measures for detecting gait events by both methods, and the vertical axis is the time error between the two methods. The dashed line from top to down respectively represent the 95% CI upper limit, the mean, 95% CI lower limit of the time difference (in seconds).
Figure 6. Bland–Altman plots of time agreement between the proposed modified CWT algorithm and the FSR method for HS and TO gait event detection in the healthy group (a) and the hemiplegic group (b). The time agreement results of selecting the optimal wavelet “db6” are shown on the left side whereas results of the commonly used wavelet “gaus1” with rather poor performance are shown on the right side. Positive times correspond to delays in the gait event detection of the proposed modified CWT algorithm with respect to the reference FSR method. The horizontal axis represents the average time measures for detecting gait events by both methods, and the vertical axis is the time error between the two methods. The dashed line from top to down respectively represent the 95% CI upper limit, the mean, 95% CI lower limit of the time difference (in seconds).
Sensors 19 03462 g006
Figure 7. Averaged F1-scores of HS and TO gait event detection over all the healthy subjects (blue line) and over all the hemiplegic subjects (red line) across different mother wavelets. The vertical dashed lines indicate the standard deviation.
Figure 7. Averaged F1-scores of HS and TO gait event detection over all the healthy subjects (blue line) and over all the hemiplegic subjects (red line) across different mother wavelets. The vertical dashed lines indicate the standard deviation.
Sensors 19 03462 g007
Figure 8. Averaged cross-correlation coefficients between the anterior–posterior knee acceleration signal and specific mother wavelet function for healthy subjects (a) and hemiplegic subjects (b). Vertical dotted line indicates the standard deviation.
Figure 8. Averaged cross-correlation coefficients between the anterior–posterior knee acceleration signal and specific mother wavelet function for healthy subjects (a) and hemiplegic subjects (b). Vertical dotted line indicates the standard deviation.
Sensors 19 03462 g008
Figure 9. Averaged energy-to-Shannon entropy ratios of CWT coefficients for healthy subjects (blue line) and hemiplegic subjects (red line) across different mother wavelets (p > 0.05). Vertical dotted line indicates the standard deviation.
Figure 9. Averaged energy-to-Shannon entropy ratios of CWT coefficients for healthy subjects (blue line) and hemiplegic subjects (red line) across different mother wavelets (p > 0.05). Vertical dotted line indicates the standard deviation.
Sensors 19 03462 g009
Table 1. A brief summary of some previous studies for gait event detection based on wavelet transforms.
Table 1. A brief summary of some previous studies for gait event detection based on wavelet transforms.
Ref.SubjectSensor PositionSensor TypeWaveletDetected Gait Parameters
[13]Healthy subjectsLeft and right anklesTri-axial accelerometerMorlet (morl)HS and TO events
[20]Healthy subjectsWaistTri-axial accelerometerGaussian (gaus1)HS and TO events
[21]Healthy subjectsAnkle, thigh, waist, chest, upper arm and wristTri-axial accelerometerMorlet (morl)HS and TO events
[22]Parkinson’s disease (PD) patientsLower backTri-axial accelerometerGaussian (gaus1)HS and TO events
[24]Healthy subjectsFoot, ankle, shank and waistTri-axial accelerometerDaubechies (db2)HS and TO events
[26]Healthy subjectsTibialis anterior muscle of the lower legTri-axial accelerometerMorlet (morl)HS and TO events
[27]Parkinson’s disease (PD) patientsShank, thigh and lower backTri-axial accelerometerDaubechies (db4)Freezing of gait
Table 2. Clinical and demographic details of the hemiplegic subjects.
Table 2. Clinical and demographic details of the hemiplegic subjects.
No.AgeHeight (cm)Weight (kg)State of IllnessBrunnstrom Stage (Lower Limb)DiagnosisSymptom
1591637812 monthsVCerebral Ischemic StrokeLeft limb hemiplegia
244171546 monthsIVCerebral Ischemic StrokeRight limb hemiplegia
353167617 monthsIVCerebral Ischemic StrokeRight limb hemiplegia
Table 3. Brief summary of the definitions and main properties of the studied wavelet families.
Table 3. Brief summary of the definitions and main properties of the studied wavelet families.
Wavelet FamilyOrder NOrthogonalitySymmetryExplicit Expression
Haardb 1OrthogonalSymmetric ψ H a a r ( t ) = { 1 0 t < 1 / 2 1 1 / 2 t < 1 0 o t h e r w i s e
Daubechiesdb 2–10OrthogonalAsymmetricNo
Coifletscoif 1–5OrthogonalNear symmetricNo
Symletssym 2–8OrthogonalNear symmetricNo
Gaussiangaus 1–8NoSymmetric ψ G a u s s i a n ( t ) = 1 2 π t e t 2 2
MorletmorlNoSymmetric ψ M o r l e t ( t ) = 1 π 4 e i 2 π f c t e t 2 2
MeyermeyrNoSymmetric ψ M e y e r ( f ) = { 2 π e i π f sin [ π 2 v ( 3 | f | 1 ) ] 1 3 | f | 2 3 2 π e i π f cos [ π 2 v ( 3 2 | f | 1 ) ] 2 3 | f | 4 3 0 | f | 1 3 , 4 3
N is the order of the mother wavelet. ψ is the mother wavelet function if the wavelet has the explicit expression. f c is the wavelet central frequency, t denotes the time, and f denotes the frequency.

Share and Cite

MDPI and ACS Style

Ji, N.; Zhou, H.; Guo, K.; Samuel, O.W.; Huang, Z.; Xu, L.; Li, G. Appropriate Mother Wavelets for Continuous Gait Event Detection Based on Time-Frequency Analysis for Hemiplegic and Healthy Individuals. Sensors 2019, 19, 3462. https://0-doi-org.brum.beds.ac.uk/10.3390/s19163462

AMA Style

Ji N, Zhou H, Guo K, Samuel OW, Huang Z, Xu L, Li G. Appropriate Mother Wavelets for Continuous Gait Event Detection Based on Time-Frequency Analysis for Hemiplegic and Healthy Individuals. Sensors. 2019; 19(16):3462. https://0-doi-org.brum.beds.ac.uk/10.3390/s19163462

Chicago/Turabian Style

Ji, Ning, Hui Zhou, Kaifeng Guo, Oluwarotimi Williams Samuel, Zhen Huang, Lisheng Xu, and Guanglin Li. 2019. "Appropriate Mother Wavelets for Continuous Gait Event Detection Based on Time-Frequency Analysis for Hemiplegic and Healthy Individuals" Sensors 19, no. 16: 3462. https://0-doi-org.brum.beds.ac.uk/10.3390/s19163462

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