Available online at www.sciencedirect.com
*%4 ScienceDirect
Progress in Natural Science 18 (2008) 1293-1298
Progress in Natural Science
www.elsevier.com/locate/pnsc
Method for signal decomposition and denoising based on nonuniform cosine-modulated filter banks
Xuemei Xie *, Li Li, Guangming Shi, Bin Peng
School of Electronic Engineering, Xidian University, Xi'an, Box 134, Shaanxi 710071, China Received 22 October 2007; received in revised form 7 May 2008; accepted 23 May 2008
Abstract
In this paper, a novel method for signal decomposition and denoising is proposed based on a nonuniform filter bank (NUFB), which is derived from a uniform filter bank. With this method, the signal is firstly decomposed into M subbands using a uniform filter bank. Then according to their energy distribution, the corresponding consecutive filters are merged to compose the nonuniform filters. With the resulting NUFB, the signal can be readily matched and flexibly decomposed according to its power spectrum distribution. As another advantage, this method can be used to detect and remove the narrow-band noise from the corrupted signal. To verify the proposed method, a simulation of extracting the main information of an audio signal and removing its glitch is given.
© 2008 National Natural Science Foundation of China and Chinese Academy of Sciences. Published by Elsevier Limited and Science in China Press. All rights reserved.
Keywords: Signal decomposition; Denoising; Nonuniform filter bank; Narrow-band noise
1. Introduction
Signal decomposition and denoising are two essential aspects in the fields of audio signal and image processing. The work on signal decomposition by using uniform filter banks (FBs) is well published. However, in some applications, such as audio coding and subband adaptive filtering, nonuniform frequency spacing that matches the critical bands is much more appreciated. Hence, some attentions have been paid to the methods for the decomposition with nonuniform filter banks (NUFBs) [1-5]. In Ref. [5], Xie proposed an approach by using a recombination NUFB, where certain channels of a uniform FB are combined by sets of synthesis filters of uniform FBs with a smaller number of channels according to the power spectrum distribution of the signal. However, the proposed system has a long delay due to the two-stage architecture. For denoising,
* Corresponding author. Tel./fax: +86 29 88204453. E-mail address: xmxie@mail.xidian.edu.cn (X. Xie).
Tazebay [6] proposed a method for removing narrow-band noise in the spread spectrum system, in which tree structure with 2- or 3-channel uniform FBs being employed is used to detect and remove the noise adaptively. The work is further improved in Ref. [7] by using low-delay FBs in the tree structure. Although it is possible to reduce the system delay to a certain degree, the reduction is limited due to multistage operation. In addition, the implementation complexity of the system is still high. While the wavelet-based [8,9] and wavelet-packet based [10] denoising methods are widely used to remove the white gaussian noise, they are not suitable for the reduction of the narrow-band noise. In terms of the joint application of decomposition and denoising, Mitrovski proposed a method based on quadrature mirror filters to pre-process nuclear medicine images [11]. Due to the fact that the FBs used are only of two bands, the decomposition is not flexible.
In this study, a simple and effective method for signal decomposition and denoising is proposed. The decomposition is carried out nonuniformly according to the power spectrum distribution of the signal and the noise to be
1002-0071/$ - see front matter © 2008 National Natural Science Foundation of China and Chinese Academy of Sciences. Published by Elsevier Limited
and Science in China Press. All rights reserved.
doi:10.1016/j.pnsc.2008.05.008
removed is of narrow-band. The proposed method is based on an NUFB which is obtained by merging the corresponding filters of a uniform cosine-modulated filter bank (CMFB) under certain requirements for the energy distribution of the signal. This method performs efficiently when the power spectrum of the signal is distributed concentrat-edly. Moreover, if the signal is corrupted by a narrow-band noise in the region where there is no main information, the noise can be removed easily by the NUFB. In our work, by employing the Parks-McClellan algorithm which is optimal in the design of filters in the minimax sense, the high quality of uniform FBs for the nonuniform merging can be obtained with low design effort. Simulation for audio signal is given to verify that the proposed method is capable of achieving good results in extracting the main information of the signal and removing the narrow-band noise, with detailed analyses of the method from the viewpoint of time and computation complexity. Finally, the denoising result obtained by the wavelet-packet-based denoising method is given to show that these conventional methods are not good at suppressing the narrow-band noise.
2. Design of nonuniform cosine-modulated filter banks
In this section, we focus on the design of the optimal prototype filter for uniform CMFBs. Then, a brief review of the merging method for NUFB is given.
From the above analysis, we can conclude that the significant aliasing distortion between adjacent channels has been canceled by nature. Thus, for an NPR filter bank, only the amplitude distortion should be considered.
As shown in Eq. (2), if the stopband attenuation of Hu(z) is sufficiently high, |T(ejX)| will be as nearly flat as the magnitude response of the individual H^(z) in the passband. And if the sum of the squared magnitude responses of the adjacent two analysis filters is close to unity in their transition band, |T(ejX)| will be approximately flat. In the CMFB, to meet the requirements described above, it is sufficient to impose the following constraint on the prototype filter P0(z)
| Po(0|2+|Po(e(x-®)|2 = 1; 0 < x < MM (3)
Moreover, the requirement in the transition band would be met if we force the response of P0(z) in its transition band to follow a cosine function.
The Parks-McClellan algorithm is employed in our design of optimal prototype filters because of its simplicity and good performance. Thus, the magnitude response is completely specified and used as the design target. In addition, the stopband attenuation of the resulting filter bank is significantly higher than those obtained by the traditional methods.
2.2. Merging method for nonuniform cosine-modulated filter banks
2.1. Design of optimal prototype filters
In the uniform CMFB, the analysis and synthesis filters H (z) and Fu(z) are all generated by cosine-modulating a prototype filter P0 (z). Their corresponding impulse responses are given by
hu(n) = 2P0(n)
cos( mP (l + 0.5). n - f + (—1)1 p
f>) = 2p0 (n)
p ,, ~ -n I N\ ^„wp
M(1 + n - 2)-(-1)' 4
0 6 n 6 N, 0 6 1 6 M- 1
where N is the order of P0 (z). If the prototype filter is of linear phase (p0 (n) = p0(N — n)), f7(n) is the time reversed version of hy(n). Thus, as shown in Ref. [12], the transfer function T(ejx) can be expressed as
m— 1
xN _ \ ' Jiru/^xN
MT (ejx) = Y, Hy(ejx). Fy(ejx)
= e—jlxNJ2 I Hy(ejx)|
in the frequency domain. It is obvious that T(ejx) is of linear phase and the system is free from phase distortion.
In this section, we present a design method for NUFBs with integer sampling factors. As the nonuniform FB shown in Fig. 1(a), the decimation factors nk are not equal. Hk(z) and Fk(z), k = 0, 1, ..., K—1, are the analysis and synthesis filters, respectively. To simplify the analysis, we assumed that only the sampling factor of one branch in
a, \ X (n)
Hl+l (z)
Hm-Az)
Hn(z) - + »0 - t «0 F0(z)
HM T - — + ». F, (z)
Hk{z) r + nk - t nk Fki?)
uk-i (?) 1 Fk- , (2)
M — FM_, (z)
Fig. 1. (a) K-channel NUFB, (b) NUFB with the decimator of the ith channel different from others.
the NUFB, say, the ith branch, is different from the others, as shown in Fig. 1(b). We can obtain the nonuniform analysis and synthesis filters from the uniform ones of the CMFB under the following relationship [13]
H (z)=HU(z), Fk (z)=FU (z),
for 0 6 k 6 i - 1,0 6 i 6 M - 1
A—1 i pi-1
Hi(z) = £HU+j(z),Fi(z) = - Fui+j(z) (4)
j=0 Pi j=0
Hk (z) = HU+p_-1 (z), Fk (z) = FU+p_-1 (z),
for i + 1 6 k 6 K - 1
where pt = M/n, and M is the least common multiple (lcm) of «0, «1, •••, UK-1.
With the merging method, the properties of the uniform CMFBs are mostly preserved in the resulting NUFB. In this paper, we use uniform CMFBs with optimal prototype filter to design the NUFB; thus, the high quality of the NUFB can be obtained with low design effort.
2.3. Design example of the NUFB
9.193 x 10 6, respectively. And the stopband attenuation is 93 dB.
Under the same design specifications such as filter length and stopband cutoff frequency, the amplitude distortion given in Ref. [13] is 1.094 x 10~3, which is almost the same as that in our work. However, the aliasing distortion is 7.943 x 10~4, which is larger than that obtained by our proposed method, and the stopband attenuation by using our approach is nearly 31 dB higher than that in Ref. [13] (93 dB versus 62 dB). More importantly, the analysis and synthesis filters in our design are capable of achieving the comparable performance without nonlinear optimization.
3. Method for signal decomposition and denoising based on NUFBs
In this section, we give a simple approach to signal decomposition and denoising based on NUFBs. It is suitable for the case that the power spectrum of the signal is distributed concentratedly.
In this section, a design example of a 3-channel NUFB with sampling factors 4, 4, 2 is given, where n0 = n1 = 4, n2 = 2 and M =4, p, = M/n, = 2(i = 2). The structure of this system is shown in Fig. 2(a). Firstly, we design the optimal prototype filter ^0(n) with the length of 64. Secondly, the 4-channel uniform CMFB is obtained by modulating the optimal filter. Finally, the analysis and synthesis filters of the NUFB are obtained based on this CMFB using Eq. (4). The magnitude responses of analysis filters are shown in Fig. 2(b). The maximum values of the amplitude and aliasing distortion are 2.155 x 10-3 and
Fig. 2. NUFB with sampling factors {4,4,2}. (a) Structure of the system; (b) magnitude responses of the analysis filters.
3.1. Idea of nonuniform signal decomposition and denoising
3.1.1. Nonuniform signal decomposition
For the design of the NUFB as described in Section 2, an M-channel uniform CMFB should be designed first. The choice of the number M depends on the required decomposition precision. With the analysis filters of the resulting CMFB, the signal can be decomposed into M subbands uniformly. Obviously, if we predefine N thresholds, those uniform bands can be classified into N +1 levels. Those predefined thresholds are set according to the decomposition requirement and magnitude response of the input signal, instead of the computation method proposed by Donoho [8].
To simplify the illustration, we take the decomposition with one threshold as an example. For each uniform band, if its magnitude is smaller than the threshold, it will be referred to as a low energy band; otherwise, it is a high energy band. With the threshold, the signal is decomposed into two levels: low energy level and high energy level, where the low (high) energy level consists of low (high) energy bands. For easy description, the energy characteristics of the uniform bands are denoted by
1 High energy subband, 0 Low energy subband.
Obviously, since the energy of the signal considered is distributed concentratedly, the elements '1' and '0' are also distributed concentratedly. Here, we take M =12 as an example. If the energy characteristics of the twelve uniform subbands are [001 1 11 1 10000], we merge the uniform analysis filters to form the nonuniform ones using Eq. (4),
Uniform h; hi h\ ■■■ hun hi ■■■ h"n [OJ) 1 1 1 1 1 1, 0 0 0 0]
Nonuniform h0 ht h2
Thus, a 3-channel NUFB is obtained. With the analysis filters of the obtained NUFB, the input signal can be flexibly decomposed into high energy level and low energy level in the frequency domain.
3.1.2. Application to denoising
If the input signal is corrupted by a narrow-band noise in its low energy bands, the noise can be removed based on the idea of decomposition. The corrupted signal xc(t) can be expressed as
Xc(t)=Xo (t)+n(t) (5)
where xo(t) is an original signal and n (t) a narrow-band noise.
As described above, an M-channel uniform CMFB should be designed first. The difference is that the choice of M depends on the bandwidth of the narrow-band noise and the design complexity of FBs. In order to remove the noise while retaining the characteristics of the original signal as much as possible, the bandwidth of each uniform filter should be equal to or less than that of the narrow-band noise. The larger the M is, the more efficient the denoising method is. However, the design complexity of FBs increases with the increasing number M.
Let the corrupted signal xc(t) pass through the uniform CMFB. Since the narrow-band noise n (t) appears in the low energy bands of the signal, there must be one or two '1's distinguishing the noise from other low energy bands denoted by '0's. For example, if the energy characteristics of the uniform subbands are [001111110010], the noise n (t) must be located in the 10th subband of the uniform CMFB. Therefore, we take the following operation to obtain the required NUFB
Uniform: h"0 h? hu2 ••• hun h; h; h?0 hun [0_0 1 11111, 0_0 1 0]
Nonuniform h0 hl h2 h3 h4
Each subband signal obtained by the nonuniform analysis filters can be processed in different ways. For the noise detected, one simple but effective method is to delete the 3rd subband containing noise in the reconstruction of the signal. The reconstructed signal is with little information loss.
Since the subbands which contain the noise are discarded in the reconstruction procedure, the PR of the signal is not possible. Hence, an NPR NUFB is used here instead of a PR system.
3.2. Simulation
In this section, an example is given to illustrate the capability of the proposed method to extract the main
information of the signal and remove the narrow-band noise, followed by the analysis of the time and computation complexity. Furthermore, we give the denoising result by the wavelet-packet-based denoising method, which shows that this kind of method is not suitable for removing the narrow band noise.
The audio signal "chirp" in Matlab is taken to demonstrate the idea of signal decomposition and denoising. The magnitude response of the signal ''chirp" is shown in Fig. 3(a). It can be seen that the power spectrum is distributed concentratedly and the threshold can be chosen as 5. Fig. 3(b) plots the corrupted signal with a narrow-band noise.
As mentioned above, the bandwidth of each uniform filter is equal to or less than that of the noise. In this example, the bandwidth of the noise is 2p/12. Therefore, we choose the number of channel M as 24. Note that the length of the filter is chosen according to the desired performance and the system delay. Here, we choose the length of 141 as an example. By using the method of the uniform CMFB as described in Section 2.1, we get the uniform NPR CMFB. With the predefined threshold, the noise and the main components (high energy bands) are distinguished from each other. Fig. 3(c) shows the frequency responses of the analysis filters of the 24-channel uniform filter bank, where the subbands for noise and the main component are indicated. With the corresponding uniform filters, we get the desired NUFB by the merging method as mentioned in Section 2.2. The frequency responses of the nonuniform filters are shown in Fig. 3(d). The structure of the NUFB is illustrated in Fig. 4, which shows that (i) the four nonuniform filters are generated by merging uniform filters H0-H3, H4 and H5, H6-H11, H12 and H13; (ii) the decimation factors of the four channels are 6, 12, 4, 2 (say 24/4, 24/2, 24/6 and 24/12); (iii) the input signal can be decomposed nonuni-formly into the subbands with different levels of energy and they can be further processed in different ways. Here, as an example, we remove the subband with noise signal in the processing. Fig. 3(e) shows the frequency spectrum of the reconstructed signal without the noise subband. From Fig. 3(a), (b) and (e), which show the original, the corrupted and the reconstructed signals, respectively, we can easily see that the output signal is recovered by using our proposed method. And, it is obvious that the proposed method can extract the main information of the signal effectively.
For the corrupted signal with signal to noise ratio (SNR) of 19.18 dB, the reconstructed signal obtained by the NUFB as shown in Fig. 4 achieves an SNR of 34.08 dB, which is improved by 14.90 dB. The simulation shows that the proposed method can decompose the signal with high flexibility and remove the narrow-band noise easily. Next, the time complexity and computation complexity are analyzed.
Both FFT and convolution are the basic operations for our method. As is known, the time complexity of FFT is n log n, where n is the number of points in FFT; and the
Fig. 3. Magnitude responses of (a) the original signal x0(n), (b) the corrupted signal xc(n); (c) the analysis filters of the uniform CMFB; (d) the analysis filters of the resulting NUFB; (e) the reconstructed signal.
Fig. 4. System structure of the method in the example (M = 24, PL: process for low energy level; PH: process for high energy level).
complexity of convolution is about LsL, where Ls and L are the lengths of signal and filter, respectively. Thus, for our method as described in Section 3.1, the total time complexity is O(n log n + LLsMu + L2Mn), where Mu and Mn are the numbers of channels for the uniform FB and NUFB, respectively.
The computation complexity is measured by the numbers of the required additions per unit time (APUs) and multiplications per unit time (MPUs). In this study, the
NUFB shown in Fig. 1(a) is implemented by using polyphase decomposition, as mentioned in Refs. [7] and [12]. The numbers of APUs and MPUs can be calculated as APUs K=o (L — 1)/nt and MPUs :Z£oL/n*, where L is the length of the filter. In this study, the length of the filter is 141 and the down-sampling factors nk are 6, 4 and 2 (the second channel with down-sampling factor 12 as shown in Fig. 4 is deleted). Therefore, for NUFB shown in Fig. 4, the computation complexity is APUs « MPUs « 132.
For comparison, we will analyze whether the popular wavelet-based and wavelet-packet-based denoising methods can be used to solve the problem of denoising the narrow-band noise. Actually, denoising methods based on wavelet show exciting results for the denoising of a signal buried in white Gaussian noise through a threshold. The choices of threshold of these methods are mainly based on the consideration of the variance of wavelet coefficients in decomposition level one [8]
T = asj2 log N (r = median(| d |)/0.6578) (6)
where N is the length of the signal, r is the variance of the white gaussian noise and d is the vector containing wavelet coefficients in level one. This is because the major energy of Gaussian noise concentrates on wavelet space at level one, and that of the clean signal is assumed to centralize on scale space. However, the assumption of clean signal centralizing on scale space is not always right. As an example, the 'chirp' signal is usually of high frequency. In other words, it will concentrate on wavelet space in energy. And the narrow-band noise that we deal with may not concentrate on the wavelet space at level one in energy which is very different from the Gaussian noise. Therefore, the rule of threshold selection above is not suitable for our case that the signal is corrupted by narrowband noise. The wavelet-packet-based denoising method has the similar problem as the wavelet-based denoising method. Taking the optimal Daubechies (db16) wavelet packet with 5 decomposition levels as an example, we get the reconstructed signal with an SNR of 5.63 dB, which is even lower than that of the corrupted signal 19.18 dB. Therefore, the wavelet-based and wavelet-packet-based denoising methods are not suitable for denoising of a signal corrupted by narrow-band noise.
4. Conclusion
In this paper, a novel method has been proposed to decompose signal and remove the narrow-band noise, which is based on the NUFB obtained by merging the corresponding channels of the uniform CMFB having an optimal prototype filter. From the simulation and the corresponding analysis, we conclude that this method can decompose signal with high flexibility and to effectively remove the narrow-band noise which cannot be well removed by the wavelet-based and wavelet-packet-based denoising methods.
Acknowledgements
This work was supported by National Natural Science Foundation of China (Grant Nos. 60672125 and 60776795), Program for New Century Excellent Talents in University (NCET-07-0656).
References
[1] Cox RV. The design of uniformly and nonuniformly spaced pseudoquadrature mirror filters. IEEE Trans Acoust Speech 1986;24(5):1090-6.
[2] Nayebi K, Barnwell III TP, Smith MJT. Nonuniform filter banks: a reconstruction and design theory. IEEE Trans Signal Process 1993;41(3):1114—27.
[3] Princen J. The design of nonuniform modulated filterbanks. IEEE Trans Signal Process 1995;43(11):2550-60.
[4] Wada S. Design of nonuniform division multirate FIR filter banks. IEEE Trans Circuits-II 1995;42(2):115-21.
[5] Xie XM, Chan SC, Yuk TI. Design of perfect-reconstruction nonuniform recombination filter banks with flexible rational sampling factors. IEEE Trans Circuits-I 2005;52(9):1965-81.
[6] Tazebay MV, Akansu AN. Adaptive subband transforms in time-frequency excisers for DSSS communications systems. IEEE Trans Signal Process 1995;43(11):2776-82.
[7] Xie XM, Shi GM. Low-delay tree-structured filter banks as adaptive frequency exciser for suppressing narrow-band interference. Chin J Electr 2006;15(3):500-3.
[8] Donoho DL. De-noising by soft-thresholding. IEEE Trans Inform Theory 1995;41(3):613-27.
[9] Donoho DL, Johnstone IM, Kerkacharian G. Wavelet shrinkage: asymptopia. J R Stat Soc 1995;57(2):301-69.
[10] Jiang P, Huang Q, Kong Y, et al. Research on a denoising method based on wavelet packet shrinkage for pulp thickness signals. Proceedings of the First International Multi-Symposiums on Computer and Computational Sciences 2006;1:220-5.
[11] Mitrovski CD, Kostov MB. NM images filtering using NPR QMF filters dependent on the images spectrum. Telecommunications in Modern Satellite, Cable and Broadcasting Services 2005;1:119-22.
[12] Vaidyanathan PP. Multirate systems and filter banks. Englewood Cliffs, NJ: Prentice-Hall, 1993; 353(70): 122-5.
[13] Li JL, Nguyen TQ, Tantaratana S. A simple design method for near-perfect-reconstruction nonuniform filter banks. IEEE Trans Signal Process 1997;45(8):2105-9.