Professional Documents
Culture Documents
(2)
where ( ) . g is the sigmoid function that produces the
higher order statistics needed to de-correlate the sources.
Thus, an iterative algorithm is used until the un-mixing filter
weights converge, resulting in estimates of the original
sources.
B. Multi-resolution Wavelet Anslysis
In order to observe the multi-resolution properties of the
acceleration signals across both time and frequency, the
wavelet transform was used [18]. The DWT (Discrete
Wavelet transform) was selected as it can provide a compact
representation of a signal in time and frequency that can be
computed efficiently (in ( ) O n time). The DWT is defined
by the following equation:
/ 2
( , ) ( )2 (2 )
j j
j k
W j k x k n k
=
(3)
where ( ) t is a time function with finite energy and fast
decay ( j represents scale, and k time). DWT analysis can
be performed using a fast, pyramidal algorithm related to
multi-rate filter-banks. This is achieved by filtering of the
signal using a high-pass filter ( [ ] h n ) to obtain the signal
details, and a low pass filter ( [ ] g n ) to obtain the
approximation coefficients. This is followed by sub-
sampling, and the sub-sampled signal is passed through both
filters again to obtain the DWT coefficients at several
scales. For our experiment, the DWT coefficients were
calculated for 3-D acceleration data (as shown in Fig. 2)
using the 4 coefficient Daubechies wavelet family.
Figure 2. The multi-resolution DWT of an acceleration signal.
Wavelet coefficients were calculated across 4 scales
using a moving window. Each window at timestamp i and
scale j was summarized by using the mean
( , ) i j
M and
standard deviation
( , ) i j
S of the wavelet coefficients. Thus 3
accelerometer signals result in a feature space of
dimension 3 J , where J is the total number of scales
considered.
C. Margin-based Feature Selection
Due to the fact that a large feature space was generated
from the DWT, supervised feature selection was used in
order to select the most useful features. In this work, the
Iterative Search Margin Based algorithm (Simba) proposed
by Gilad-Bachrach et al. [19] was used. A margin is a
geometric measure for evaluating the confidence of a
classifier when making a decision. An evaluation function
was used to assign a score to a set of features according to
the margin they introduce. Let w be a weight vector over
the feature set P , the margin of a point x can be written as:
( )
1/2
2 2
1
( ) ( )
2
w
p w w
w i i
i
x nearmiss x x nearhit x
z w z
' '
1 1
1 1 =
1 1
1 1
1 1
! !
1 1 1
1 1
= 1 1
1 1
( )
1 1
+ +
(4)
where the margin is expressed as the difference between the
weighted distance of a point to the nearest hit and nearest
miss points. These distances denote the nearest point to x
with the same and different labels, respectively. The Simba
algorithm finds the weight vector that maximizes an
evaluation function over the whole dataset and then uses a
threshold to get the optimal feature set. Gradient ascent is
used for maximisation. The computational complexity of
Simba is ( ) TNm where T is the number of iterations, N
the number of features and m the size of the sample S .
V. RESULTS
A. Lower Limb Impairment Results
Each accelerometer signal was filtered using the DWT,
and the features
( , ) i j
M and
( , ) i j
S were calculated per moving
window (of size 2 sec). Although three classes of data were
collected for the 10 subjects, namely normal walking,
walking with mild lower limb involvement (tubigrip) and
walking with moderate lower limb impairment (knee brace),
the mild lower limb impairment class merged with the
normal walking class. The main reason for that was that the
leg-tubing did not alter the subjects gait when walking, and
most walked normally when wearing it. As a result, these
two groups were combined and compared to the moderate
lower limb impairment group.
The analysis was done for all 10 subjects separately to
observe the differences between normal and irregular
walking per subject. Fig. 3 shows the results of using 5-fold
cross validation with the KNN classifier (k fixed to 5) per
subject (numbered from 1 to 10). Each bar in the bar-graph
shows the percentage of correct classification. The colour
coding from blue to red is used to represent the number of
features selected (from 1 to all, respectively). The graphs
show that doing a source separation (ICA) on the
accelerometer signals before the wavelet analysis stage
leads to a large improvement in the results reaching 15% in
some cases. The maximum results are achieved for 11
features (averaged over all participants) for the data without
ICA, and for 15 features for the data with ICA. Thus,
feature selection can provide better results by filtering
redundant and irrelevant features. Different values of k (for
the KNN algorithm) were tested and (k=5) was chosen as
the value that gave optimal results.
(a)
(b)
Figure 3. Lower limb impairment results (a) and (b) show the results of
using a KNN 5-fold cross validation on 10 subjects. The colours show the
number of features selected varying from 1 (blue) to all features (red). (b)
shows the results after using ICA for source separation before the wavelet
feature extraction step.
To investigate the performance of the method in
separating impaired from normal data over all subjects, we
combined all their data together and plotted classification
rates with and without ICA with respect to changing the
number of features, as shown in Fig. 4. The use of ICA
increases classification rates, and maximum values are
obtained for 10 features selected. The values of k in the
KNN algorithm was used as k=10 as it showed the best
results for the combined subject group.
B. Truncal Impairment Results
Fig. 5 shows the results on truncal impaired data. The
same method and parameters explained in the previous
section were applied to this dataset. 18 out of 22 subjects
were used for analysis as parts of the data were missing for
4 subjects. Results shown are 5-fold cross validation
classification using k=10 in the KNN algorithm. Fig. 5 (a)
shows the results for walking on a treadmill at a fixed speed,
which is not the case for Fig. 5 (b), where subjects were free
to walk at their own pace in a corridor. Results show a drop
but still show good rates of separating impaired from non-
impaired walking. Similarly, impairment features in walking
up and down stairs are picked up in Fig. 5 (d) and (e),
showing an improvement (of more than 30%) with the use
of ICA before feature selection.
Figure 4. The impact of ICA on correct data classification rates for
impaired lower limb mobility, shown for an increasing number of features.
C. Patient-Impairment Data Results
For patient impairment data, the three classes available
were: normal walking, walking with injury and walking
during recovery. The features selected as the most
discriminant were the mean of the DWT of the second scale
( ,2) i
M and the standard deviation of the DWT of the first
scale
( ,1) i
S (Fig. 6). The injured class shows more scattering
as motion is likely to include more sway, and less similar
steps. The transition between injured to normal walking is
also shown.
VI. CONCLUSIONS
In this paper, we investigated a framework for multi-
resolution gait analysis based an ear worn activity
recognition sensor (e-AR). Instead of defining pre-fixed
parameters that can distinguish injured from normal
walking, an automatic feature selection method was
proposed using the Discrete Wavelet Transform for feature
Figure 5. The impact of ICA on correct data classification rates for truncal impairment. (a) shows results for treadmill walking, (b) for normal walking in a
corridor, (c) for walking up stairs and (d) for walking down stairs.
extraction, and the Iterative Search Margin Based algorithm
for feature selection. The results on data collected from 2
datasets of impaired gait show a good separation between
classes, especially with the use of ICA to perform source
separation on the wavelet features before the feature
selection stage. The method also performs well when
different subjects with varying walking patterns and speeds
are combined together. The observation of data from a
patient with a leg injury shows a good separation between
classes. It also shows that the features obtained can be
observed to indicate recovery.
A further extension of this work could include the study
of the relationship between the time-frequency features
extracted and those used traditionally by gait-analysis labs
(such as initial and terminal contacts), as well as validating
results with vision based techniques. It would also be
interesting to investigate the use of wearable sensors for
observing the progress of some diseases that affect walking
patterns, such as Parkinsons disease.
Figure 6. Scatter plot showing the mean of the DWT of the second scale
and the standard deviation of the DWT of the first scale. Each dot
represents a window in the original signal.
ACKNOWLEDGMENT
This work was carried out in conjunction with SAPHE
(Smart and Aware Pervasive Healthcare Environment)
supported by the UK Technology Strategy Board (TSB) and
WASP (Wirelessly Accessible sensor populations), funded
by the European Commission under Framework 6. We
would also like to thank all subjects who took part in this
study.
REFERENCES
[1] G.F. Harris and J.J. Wertsch, Procedures for Gait Analysis.
Arch Physical Medicine and Biology, 1994. 75(2): p. 216-
225.
[2] D. Hogg, Model based vision: A program to see a walking
person. Image Vis. Comput., 1983. 1(1): p. 5-20.
[3] M. Isard and A. Blake, Condensation-Conditional density
propagation for visual tracking, Int. J. Comput. Vis., 1998.
29(1): p. 5-28.
[4] S.L. Dockstader, M.J. Berg, and A.M. Tekalp, Stochastic
kinematic modeling and feature extraction for gait analysis.
Image Processing, IEEE Transactions on, 2003. 12(8): p. 962-
976.
[5] B. Dariush, Human motion analysis for biomechanics and
biomedicine. Machine Vision and Applications, 2003. 14(4):
p. 202-205.
[6] J.K. Aggrawal, and Q. Cai, Human motion Analysis: A
review. Comput. Vis. Image Understanding, 1999. 73(3): p.
428-440.
[7] K. Aminian, et al., Temporal feature estimation during
walking using miniature accelerometers: an analysis of gait
improvement after hip arthroplasty. Med Biol Eng Comput,
1999. 37(6): p. 686-91.
[8] K.L. Coleman et al., Step Activity Monitor: Long Term
Continuous Recording of Ambulatory Functions. J. Rehab.
Res. Develop., 1999. 36(1): p. 8-18.
[9] R.W. Selles et al., Automated estimation of initial and
terminal contact timing using accelerometers; development
and validation in transtibial amputees and controls. Neural
Systems and Rehabilitation Engineering, 2005. 13(1): p. 81-
88.
[10] T. Yoshida, et al. Gait Analysis for Detecting a leg accident
with an accelerometer. in 1st Distributed Diagnosis and Home
Healthcare (D2H2) Conference,. 2006. Virginia, USA,.
[11] J. Kavanagh, R.S. Barrett, and S. Morrison, The role of the
neck and trunk in facilitating head stability during walking.
Exp Brain Res, 2006. 172(4): p. 454-63.
[12] J. Kavanagh, S. Morrison, and R.S. Barrett, Coordination of
head and trunk accelerations during walking. Eur J Appl
Physiol, 2005. 94(4): p. 468-75.
[13] R. Cromwell and R. Wellmon, Sagittal plane head
stabilization during level walking and ambulation on stairs.
Physiother Res Int, 2001. 6(3): p. 179-92.
[14] E. Hirasaki et al., Analysis of head and body movements of
elderly people during locomotion. Acta Otolaryngol Suppl,
1993. 501: p. 25-30.
[15] H.B. Menz, S.R. Lord, and R.C. Fitzpatrick, Acceleration
patterns of the head and pelvis when walking on level and
irregular surfaces. Gait Posture, 2003. 18(1): p. 35-46.
[16] B. Lo, L. Atallah, O. Aziz, M. ElHelw, A. Darzi, G-Z. Yang
Real-time pervasive monitoring for postoperative care. Proc.
of BSN07, IFMBE, vol. 1, 2007; 122127.
[17] A.J. Bell and T.J. Sejnowski, An information maximisation
approach to blind separation and blind deconvolution. Neural
Computation, 1995. 7: p. 1004-1034.
[18] S. Mallat, A Wavelet Tour of Signal Processing, ed. A. Press.
1999.
[19] R. Gilad-Bachrach, A. Navot, and N. Tishby, Margin based
feature selection-theory and algorithms. in proceeding of the
21st International Conference on Machine Learning
(ICML04), New York. ACM Press, 2004.