Open Access is an initiative that aims to make scientific research freely available to all. To date our community has made over 100 million downloads. It’s based on principles of collaboration, unobstructed discovery, and, most importantly, scientific progression. As PhD students, we found it difficult to access the research we needed, so we decided to create a new Open Access publisher that levels the playing field for scientists across the world. How? By making research easy to access, and puts the academic needs of the researchers before the business interests of publishers.
We are a community of more than 103,000 authors and editors from 3,291 institutions spanning 160 countries, including Nobel Prize winners and some of the world’s most-cited researchers. Publishing on IntechOpen allows authors to earn citations and find new collaborators, meaning more people see your work not only from your own field of study, but from other related fields too.
To purchase hard copies of this book, please contact the representative in India:
CBS Publishers & Distributors Pvt. Ltd.
www.cbspd.com
|
customercare@cbspd.com
VTT Technical Research Centre of FinlandDepartment of Applied Physics, University of Eastern Finland, Kuopio, Finland
Hannu Olkkonen
VTT Technical Research Centre of FinlandDepartment of Applied Physics, University of Eastern Finland, Kuopio, Finland
*Address all correspondence to:
1. Introduction
The discrete wavelet transform (DWT) algorithms have a firm position in multi-scale processing of biomedical signals, such as EMG and EEG. The DWT algorithms were initially based on the compactly supported conjugate quadrature filters (CQFs) (Smith & Barnwell, 1986; Daubechies, 1988). However, a drawback in CQFs is due to the nonlinear phase effects such as spatial dislocations in multi-scale analysis. This is avoided in biorthogonal discrete wavelet transform (BDWT) algorithms, where the scaling and wavelet filters are symmetric and linear phase. The biorthogonal filters are usually constructed by a ladder-type network called lifting scheme (Sweldens, 1988; ITU-T, 2000). Efficient lifting BDWT structures have been developed for microprocessor and VLSI environment (Olkkonen et al. 2005; Olkkonen & Olkkonen, 2008). Only integer register shifts and summations are needed for implementation of the analysis and synthesis filters.
A severe obstacle in multi-scale DWT analysis is the dependence of the total energy of the wavelet coefficients in different scales on the fractional shifts of the analysed signal. If we have a discrete-time signal x[n]and the corresponding time shifted signalx[n−τ], whereτ∈[0,1], there occurs a notable difference in the energy of the wavelet coefficients as a function of the time shift. Kingsbury (2001) proposed a nearly shift invariant method, where the real and imaginary parts of the complex wavelet coefficients are approximately a Hilbert transform pair. The energy (absolute value) of the wavelet coefficients equals the envelope, which provides smoothness and approximate shift-invariance. Selesnick (2002) observed that using two parallel CQF banks, which are constructed so that the impulse responses of the scaling filters have half-sample delayed versions of each other: h[n] andh[n−0.5], the corresponding wavelet bases are a Hilbert transform pair. Selesnick (2002) proposed a spectral factorization method based on the half delay all-pass Thiran filters for design of the scaling filters. However, the scaling filters do not owe coefficient symmetry and the nonlinearity interferes with the spatial timing in different scales and prevents accurate statistical correlations.
In this book chapter we review the shift invariant DWT algorithms for multi-scale analysis of biomedical signals. We describe a dual-tree DWT, where two parallel CQF wavelet sequences form a Hilbert pair, which warrants the shift invariance. Next we review the construction of the shift invariant BDWT, which is based on the novel design of the Hilbert transform filter. Finally, we describe the FFT based computation of the analytic signal and the implementation of the shift invariant quadrature mirror filter (QMF) bank.
In the following we describe a shift invariant DWT algorithm based on two parallel real- valued CQF banks. The conventional CQF DWT bank consists of the H0(z) and H1(z) analysis filters and G0(z) and G1(z) synthesis filters for N odd (Fig. 1)
where P(z)is a polynomial in z−1. The scaling filter H0(z)has the Kth order zero at ω=π. The wavelet filter H1(z)has the Kth order zero at ω=0, correspondingly. The filters are related via the perfect reconstruction (PR) condition
[H0(z)H1(x)H0(−z)H1(−z)][G0(z)G1(z)]=[2z−N0]E2
Figure 1.
The analysis and synthesis parts of the real-valued CQF DWT bank.
Let us denote the frequency response of the z-transform filter as
H(z)=∑nhnz−n⇒H(ω)=∑nhne−jωnE3
Then we obtain the relations
H(−z)⇒H(ω−π)H(−z−1)⇒H∗(ω−π)E4
where * denotes complex conjugation. The tree structured implementation of the two parallel real-valued CQF filter banks is described in Fig. 2. In M-stage CQF tree the frequency response of the wavelet sequence is
WM(ω)=H1(ω2)∏k=2MH0(ω2k)E5
Figure 2.
The implementation of two parallel real-valued CQF banks, which yields the wavelet sequences w1[n],w2[n]…and w¯1[n],w¯2[n]…
Next we construct a phase shifted parallel CQF filter bank consisting of the scaling filter H¯0(z)and the wavelet filter H¯1(z)(Fig. 2). Let us suppose that the scaling filters in parallel CQF trees are related as
H¯0(ω)=e−jϕ(ω)H0(ω)E6
where ϕ(ω)is a 2πperiodic phase function. Correspondingly, the CQF filters are related as
the scaling filters (6) are half-sample delayed versions of each other. By inserting (11) in (10) we have
θ=ω2−π2−ω∑k=2M12k+1=−π2+ω2M+1E12
The wavelet sequences (5,9) yielded by the CQF bank (1) and the phase shifted CQF bank (6,8) can be interpreted as real and imaginary parts of the complex wavelet sequence
WMC(ω)=WM(ω)+jW¯M(ω)E13
The requirement for the shift-invariance comes from
W¯M(ω)=ℋ{ψM(ω)}E14
where ℋ denotes the Hilbert transform. The frequency response of the Hilbert transform operator is defined asℋ(ω)=−jsgn(ω), where sgn(ω)=1forω≥0 and sgn(ω)=0forω0. In this work we apply the Hilbert transform operator in the form
ℋ(ω)=e−jπ/2sgn(ω)E15
The result (12) indicates that if the scaling filters are the half-sample delayed versions of each other, the resulting wavelet sequences are not precisely Hilbert transform pairs. There occurs a phase error term ω/2M+1, which depends both in frequency and the stage M of the wavelet sequence. However, the error term can transferred in front of the CQF tree by using the equivalence described in Fig. 3. Then the error term reduces to ω/2 and the phase error term can be simply eliminated by prefiltering the analyzed signal by the half-sample delay operator, which has the frequency responseD(ω)=e−jω/2. The total phase function is then
θ(ω)=∠D(ω)−π/2+ω/2=−π/2, which implies that the M-stage CQF wavelet sequence and the phase error corrected sequence are a Hilbert transform pair.
Figure 3.
The two equivalents for moving the phase function in front of the phase shifted CQF tree.
The two parallel BDWT trees can be considered to form a complex wavelet sequence by defining the Hilbert transform operator
ℋa(z)=1+jℋ(z)E16
By filtering the real-valued signal x[n]by the Hilbert transform operator results in an analytic signal
xa[n]=x[n]+jℋ{x[n]}E17
whose magnitude response is zero at negative side of the frequency spectrum
Xa(ω)={2X(ω)0≤ωπ0−π≤ω0E18
Let us consider the complex wavelet sequence at the first stage (Fig. 6).The wavelet sequence is obtained by decimation of the high-pass filtered analytic signal
W1(ω)=[Xa(ω)H1(ω)]↓2=Wa(ω)↓2=12Xa(ω2)H1(ω2)E19
The frequency spectrum of the undecimated wavelet sequence Wa(ω)contains frequency components only in the range 0≤ωπ, but the frequency spectrum of the decimated analytic signal has the frequency band 0≤ω2π. Hence, the decimation does not produce overlapping and leakage (aliasing) to the negative frequency range.
A key feature of the dual-tree wavelet transform is the shift invariance of the decimated analytic wavelet coefficients. The frequency spectrum of the decimated wavelet sequence of the fractionally delayed signal x[n−τ] is 0.5e−jωτ/2Wa(ω/2). The energy of the decimated wavelet coefficients is0.5|W(ω/2)|, which does not depend on the fractional delay.
where the scaling filter H0(z)has the Lth order zero at ω=π. The wavelet filter H1(z)has the Mth order zero at ω=0, correspondingly. Q(z)andR(z) are polynomials in z−1. The low-pass and high-pass reconstruction filters G0(z) and G1(z)are defined as in the CQF bank. For two-channel BDWT filter bank the PR relation is
Lemma 1: If the scaling filter H0(z), the wavelet filter H1(z)and the reconstruction filters G0(z) and G1(z)in BDWT filter bank (20) have a perfect reconstruction property (21), the following modified BDWT filter bank obeys the PR relation
where F(z)is any polynomial inz−1. Proof is yielded by direct insertion (22) to PR condition (21).
In the following we apply Lemma 1 for constructing the shift invariant BDWT filter bank. We describe a novel method for constructing the Hilbert transform filter ℋ(z)based on the half-sample delay filter D(z)=z−0.5. The classical approach for design of the half-sample delay filter D(z)is based on the Thiran all-pass interpolator
where the ckcoefficients are optimized so that the frequency response follows approximately D(ω)=e−jω/2.Correspondingly, the quadrature mirror filter D(−z)has the frequency response
The modified BDWT filter bank (27) can be realized by the Hilbert transform filterℋ(z), which works as a prefilter for the analysed signal (Fig. 4). The Hilbert transform filter ℋ(−z)works as a postfilter in the reconstruction stage, respectively.
Figure 4.
The realization of the Hilbert transform filter.
An integer-valued Hilbert transform filter can be constructed by the B-spline transform (see details Olkkonen & Olkkonen, 2011b). The frequency response of the Hilbert transform filter shows a maximally flat magnitude spectrum. The phase spectrum corresponds to an ideal Hilbert transformer (15).
The Hilbert transform filter in Fig. 4 can be replaced by the Hilbert transform operator (16), which yields an analytic signal. This avoids the need for two parallel filter banks. In the following we describe a FFT based method for computation of the analytic signal and the implementation of the shift invariant quadrature mirror filter (QMF) bank.
The fast Fourier transform of the signal x[n], n = 0, 1, 2, …,N-1 is of the form
FFTN{x[n]}=Yk=∑n=0N−1x[n]WNnkk=0,...,N−1E28
where WN=e−2πj/N. The FFT coefficients Yk (k=N/2,…,N-1) represent the values in the negative frequency band (−π≤ω0). By zeroing those coefficients, the inverse fast Fourier transform (IFFT) yields an analytic signal. A more accurate result is obtained by weighting the FFT coefficients by a window
wk={2k=1,2,...,N/2−10k=N/2+1,...,N−11k=0andN/2E29
The analytic signal is then computed using the inverse FFT transform
xa[n]=1N∑k=0N−1wkYkWN−nk=IFFTN{wkYk}E30
The weighting sequence in (29) can be eliminated by writing
For zero mean signalmean{x[n]}=0, which yields mean{x[2n+1]}=−mean{x[2n]}. If the even points of the analytic signal are known, the FFT coefficients are solved from (32)
Yk=FFTN/2{xa[2n]−mean{x[2n]}}k=0,...,N/2−1E34
The odd points of the analytic signal are then computed from (33). We call this as the reconstruction property of the zero mean analytic signal. In the following we present a novel shift invariant QMF bank, which utilizes the reconstruction property of the analytic signal.
In QMF bank the scaling and wavelet filters obey the relationH1(z)=H0(−z), i.e. their frequency response is symmetric with respect to ω=π/2. In this work we define the scaling and wavelet filters as half band QMFs
H0(z)=12+z−1A(z2)H1(z)=12−z−1A(z2)E35
The shift invariant tree structured QMF DWT is described in Fig. 5. The FFT based Hilbert transform operatorℋa(z) produces an analytic signal, which is fed to the scaling H0(z) and wavelet H1(z) filters and decimated. If the original zero mean signal is x[n], the decimated scaling and wavelet coefficients s[n] and w[n] are obtained from
i.e. the summation of the decimated signals produces the even pointsxa[2n] of the analytic signal. The odd pointsxa[2n+1] of the analytic signal are then reconstructed from the even points xa[2n] via our results (32)-(34). The original signal is obtained fromx[n]=real(xa[n]).
Selesnick (2002) noted that a half-sample time-shift between the scaling filters in parallel CQF banks yields a nearly shift invariant DWT, where the wavelet bases form a Hilbert transform pair. However, the multi-scale analyses of neuroelectric signals have revealed that the first stages of wavelet sequences are quite poorly shift invariant. We reanalysed the condition and observed a phase-error term ω/2M+1(12) compared with the ideal phase response θ(ω)=−π/2. The phase error attains s highest value at high frequency range and small stage M of the wavelet sequence. Fortunately the phase error term can be cancelled by adding a half-delay prefilter in front of the CQF chain. For this purpose the half-delay filter constructed by the B-spline transform (Olkkonen & Olkkonen, 2011b) is well suited. In addition, there exists many other design methods for half-delay filters (see e.g. Laakso et al. 1996; Johansson & Lowenborg, 2002; Pei & Tseng, 2003; Pei & Wang, 2004; Tseng, 2006).
In this book chapter we described a novel shift invariant dual-tree BDWT (27) based on Lemma 1 (22) and the Hilbert transform filter (25). In many respects the shift invariant BDWT bank outperforms the previous nearly shift invariant DWT approaches. The Hilbert transform filter assisted BDWT yields precisely shift invariant wavelet sequences, which permits the statistical analyses between scales in multi-scale analyses of biomedical signals such as EMG and EEG.
The Hilbert transform filter in Fig. 4 can be replaced by the Hilbert transform operator (16), which yields an analytic signal. This avoids the need for two parallel filter banks. In this work we described a FFT based method for computation of the analytic signal and the implementation of the shift invariant QMF bank. As a clear advantage of the half-band QMF structure is that the frequency responses of the scaling and wavelet filters are mirror symmetric with respect to ω=π/2. Hence, they split the energy of the signal precisely to the low-pass and high-pass fractions. The energy preservation property is of utmost importance in automated statistical signal processing of the multi-scale signals. In tree structured multi-scale analysis the linear phase of the QMFs is advantageous since the timing information of the wavelet coefficients in different scales is preserved. Without an exact timing of the subscale signals the statistical comparison of the wavelet coefficients in different scales is not relevant and may lead to misleading results. For example in EEG signal the neuroelectric discharge contains fast repetitive transients with related timing and overlapping waveforms. In multi-scale analysis different components can be separated due to their different timing and scale related intensification.
3.JohanssonH.LowenborgP.2002Reconstruction of nonuniformy sampled bandlimited signals by means of digital fractional delay filters, IEEE Trans. Signal Process., 501127572767
4.KingsburyN. G.2001Complex wavelets for shift invariant analysis and filtering of signals. J. Appl. Comput. Harmonic Analysis.10
5.LaaksoT.ValimakiV.KarjalainenM.LaineU. K.1996Splitting the unit delay. Toolsfor fractional delay filter design, IEEE Signal Processing Magazine, 3080
6.OlkkonenH.PesolaP.OlkkonenJ. T.2005Efficient lifting wavelet transform for micro-processor and VLSI applications. IEEE Signal Process. Lett.122
7.OlkkonenH.PesolaP.OlkkonenJ. T.ZhouH.2006Hilbert transform assisted complex wavelet transform for neuroelectric signal analysis. J. Neuroscience Meth.151
8.OlkkonenH.OlkkonenJ. T.2007aHalf-delay B-spline filter for construction of shift-invariant wavelet transform. IEEE Trans. Circuits and Systems II.547
9.OlkkonenH.OlkkonenJ. T.PesolaP.2007bFFT-based computation of shift invariant analytic wavelet transform. IEEE Signal Process. Lett.143
10.OlkkonenH.OlkkonenJ. T.2008Simplified biorthogonal discrete wavelet transform for VLSI architecture design. Signal, Image and Video Process.2
11.OlkkonenH.OlkkonenJ. T.2010Shift-invariant B-spline wavelet transform for multi-scale analysis of neuroelectric signals. IET Signal Process. 46
12.OlkkonenJ. T.OlkkonenH.2011aShift invariant biorthogonal discrete wavelet transform for EEG signal analysis. Book chapter in: Discrete Wavelet Transforms- Theory and Applications, Edited by Juuso T. Olkkonen, Intech, 169178
13.OlkkonenJ. T.OlkkonenH.2011bComplex Hilbert transform filter. J. Signal and Information Process. 2
14.PeiT. S. C.TsengC. C.2003An efficient design of a variable fractional delay filter using a first-order differentiator, IEEE Signal Processing Letters, 1010307310
15.PeiS. C.&andWang. P. H.2004Closed-form design of all-pass fractional delay, IEEE Signal Processing Letters, 1110788791
16.SelesnickI. W.2002The design of approximate Hilbert transform pairs of wavelet bases. IEEE Trans. Signal Process.505
17.SmithM. J. T.BarnwellT. P.1986Exaxt reconstruction for tree-structured subband coders. IEEE Trans. Acoust. Speech Signal Process.34
18.SweldensW.1988The lifting scheme: A construction of second generation wavelets. SIAM J. Math. Anal.29
19.TsengC. C. .2006Digital integrator design using Simpson rule and fractional delay filter, IEEE Proc. Vision, Image and Signal Process., 15317985