Home > Articles > Hardware

Digital Filter Banks and the Wavelet Transform

The wavelet transform can be simply achieved by using a tree of digital filter banks, with no need of computing mother wavelets. Hence, filter banks have been playing a central role in the area of wavelet analysis. This excerpt introduces the basics of filter banks.
This chapter is from the book

In Chapter 5 we investigated the relationship between the wavelet transform and digital filter banks. It turns out that the wavelet transform can be simply achieved by a tree of digital filter banks, with no need of computing mother wavelets.1 Hence, the filter banks have been playing a central role in the area of wavelet analysis. In this chapter we will introduce the basics of filter banks.

The theory of filter banks was developed a long time ago, before modern wavelet analysis became popular. The reader can find many excellent textbooks in this area, such as Crochiere and Rabiner [12], Strang and Nguyen [47], and Vaidyanathan [48]. What will be introduced in this chapter are the fundamental concepts and designs of some of the most popular filter banks. They cover the majority of commonly used biorthogonal as well as orthogonal wavelets, except for the coiflets.

The Daubechies wavelets achieve the maximum number of wavelet zero moments, whereas the coiflets are a combination of wavelet zero moments and scaling function zero moments. The digital filters used to compute the coiflet wavelet transform cannot be generated by the structures discussed in this chapter. The design of digital filters for the coiflet wavelet transform needs some special skills and a certain level of mathematical preparation, which are beyond the scope of this book. The reader can find related information in the literature: [6], [13], [270], [247], [288], and [400].

Undoubtedly, experiments with new types of filter banks are proceeding, even as this book is being read. Nevertheless, this chapter provides an adequate tutorial for applied engineers and scientists who want to use wavelet analysis. It also can serve as an introduction for students who are new to the topic. While this chapter assumes some knowledge of the z-transform and digital filters, such knowledge is not essential. The basic principles of filter banks presented here are well developed and easily understood, so that even those with limited experience in wavelet analysis can quickly master this technique.

6.1 Two-Channel Perfect Reconstruction Filter Banks

In Section 5.3 we discussed the relationship between the scaling function, the mother wavelet, and filter banks. Once the lowpass and highpass filters have been determined, we can compute the scaling function and the mother wavelet through the refinement equations (5.40) and (5.65), respectively. Moreover, Section 5.4 further proves that under certain conditions the outputs of the highpass filters are good approximations of the wavelet series. Consequently, the selection of desired scaling functions and mother wavelets reduces to the design of lowpass and highpass filters of two-channel perfect reconstruction (PR) filter banks. The wavelet transform can simply be realized by a tree of two-channel PR filter banks. In this section we will briefly introduce the two-channel PR filter banks.

Figure 6-1 sketches a typical two-channel filter bank system,2 where the z-transform is defined as

(6.1)

Clearly, ω = 0 is equivalent to z = 1, and ω = p is equivalent to z = 1. Hence, H(0) and H(þ) in the frequency domain correspond to H(1) and H(1) in the z-domain. In this book, we use N for the filter order. The length of the filter in Eq. (6.1) is equal to N + 1.

Figure 6-1 Two-channel filter bank. H0(z) and H1(z) form an analysis filter bank, whereas G0(z) and G1(z) form a synthesis filter bank. Note that H(z) and G(z) can be interchanged.

As shown in Figure 6-1, the signal X(z) is first filtered by a filter bank consisting of H0(z) and H1(z). The outputs of H0(z) and H1(z) are downsampled by 2 to obtain Y0(z) and Y1(z). After some processing, the modified signals are upsampled and filtered by another filter bank consisting of G0(z) and G1(z). The downsampling operators are decimetors and the upsampling operators are expanders. If no processing takes place between the two filter banks (in other words, Y0(z) and Y1(z) are not altered), the sum of the outputs of G0(z) and G1(z) is identical to the original signal X(z), except for a time delay. Such a system is commonly referred to as a two-channel perfect reconstruction filter bank. H0(z) and H1(z) form an analysis filter bank, whereas G0(z) and G1(z) form a synthesis filter bank. Note that H(z) and G(z) can be interchanged. For instance, we can use G0(z) and G1(z) for analysis and H0(z) and H1(z) for synthesis. In this book, H0(z) and G0(z) denote lowpass filters, while H1(z) and G1(z) are highpass filters. The subscripts 0 and 1 represent lowpass and highpass filters, respectively.

Note that for a discrete-time function x[n], the z-transform of its interpolated version is X(zM). This is because if

(6.2)

then

(6.3)

Similarly, the reader can verify that for a discrete-time function x[n], the z-transform of its doubly decimated version is

(6.4)

By applying the relations (6.3) and (6.4), we can derive the output of the lower channel in Figure 6-1 as

(6.5)

and the output of the upper channel as

(6.6)

Hence, the output will be

(6.7)

where one term involves X(z) and the other involves X(–z). For perfect reconstruction, the term with X(–z), traditionally called the alias term, must be zero. To achieve this, we need

(6.8)

which reminds us of Eq. (5.62). As a matter of fact, condition (5.62) can be considered as a special case of condition (6.8). While condition (6.8) leads to biorthogonal filter banks, (5.62) is the necessary condition for orthogonal filter banks.

To accomplish Eq. (6.8), we can let

(6.9)

which implies that γ0[n] can be obtained by alternating the sign of γ1[n]:

(6.10)

Similarly,

(6.11)

Therefore, γ1[n] and h1[n] are the highpass filters if γ0[n] and h0[n] are the lowpass filters. Once H0(z) and H1(z) [or G0(z) and G1(z)] are determined, we can find the remaining filters with Eq. (6.9).

For perfect reconstruction, we also need the first term in Eq. (6.7), called the distortion term, to be a constant or a pure time delay. For example,

(6.12)

where l denotes a time delay.3 If we satisfy both (6.8) and (6.12), the output of the two-channel filter bank in Figure 6-1 is a delayed version of the input signal

(6.13)

Let's rewrite (6.9) as

(6.14)

Substituting Eq. (6.14) into Eq. (6.12) yields

(6.15)

where P0(z) denotes the product of two lowpass filters, H0(z) and G0(z)

(6.16)

Eq. (6.15) indicates that all odd terms of the product of two lowpass filters, H0(z) and G0(z), must be zero, except for order l. But the even order terms are arbitrary. The delay parameter l must be odd, which is usually the center of the filter P0(z). We can summarize these observations by the following formula:

(6.17)

Consequently, the design of two-channel PR filter banks reduces to two steps:

  1. Design a filter P0(z) that satisfies Eq. (6.17).

  2. Factorize P0(z) into H0(z) and G0(z). Then, use Eq. (6.14) to compute H1(z) and G1(z).

Obviously, there are many ways to design P0(z). And there are many ways to factor it. The choice of four filters given by Eq. (6.9) is also not unique. Experiments are going on even as this book is being written, and undoubtedly they will still be on even as the book is being read. As an introduction to the wavelet transform, however, we will limit our presentation to those cases that are most popular in practical applications. The reader can find a more comprehensive treatment of filter banks in Strang and Nguyen [47] and Vaidyanathan [48].

One of the most well-known selections of the product filter P0(z) is defined by

(6.18)

The polynomial Q(z) of degree 2k – 2 is chosen so that Eq. (6.15) is satisfied. In this case, the order of P0(z) in (6.18) is always an even number. Moreover, it is a type I filter, i.e.,

(6.19)

which implies that the number of coefficients p0[n] is odd, N + 1. Based on Eq. (6.17), there are 2k – 1 odd powers in P0(z), and 2k – 1 coefficients to choose in Q(z). Thus, Q(z) is unique.

The special factor is also known as the binomial filter. The binomial itself, without Q(z), represents a spline filter. Q(z) is needed to give perfect reconstruction. It can be proved that 2k is the maximum number of zeros that P0(z) can have while preserving perfect reconstruction. Hence, P0(z) defined by Eq. (6.18) is traditionally named as the maxflat filter.

Example 6.1 A maxflat filter with k = 2 is

(6.20)

Since the order of Q(z) is 2k - 2 = 2, based on condition (6.17) we can compute

(6.21)

and

(6.22)

Hence, the two roots from Q(z) are at

(6.23)

While is inside unit the circle, its reciprocal is outside the unit circle. There are several possibilities for factoring P0(z) in (6.21). For example,

  1. H0(z) = (1 + z-1)2 and G0(z) = (1 + z-1)2(c - z-1)(1/c - z-1). In this case, H0(z) has two zeros at z = –1 (that is, ω = þ), which is a typical quadratic spline, as shown in Figure 6-2.

    Figure 6-2 Quadratic spline wavelets for case (a)

  2. H0(z) = (1 + z-1)3 and G0(z) = (1 + z-1)(c - z-1)(1/c - z-1). In this case, H0(z) has three zeros at z = –1 (that is, ω = þ), which is a typical cubic spline. As shown in Figure 6-3, in this case, the analysis mother wavelet is much smoother than that corresponding to the quadratic spline in Figure 6-2. But the synthesis mother wavelet is less desirable. In both cases (a) and (b), all filters are linear phase. The resulting wavelets are both biorthogonal.

    Figure 6-3 Cubic spline wavelets for case (b). Note that the cubic spline analysis mother wavelet is much smoother than that corresponding to the quadratic spline in Figure 6-2. But the corresponding synthesis mother wavelet is less desirable.

  3. H0(z) = (1 + z-1)2(c - z-1) and G0(z) = (1 + z-1)2(1/c - z-1). This is the second order Daubechies mother wavelet, as shown in Figure 6-4. Unlike the spline wavelets, filters for the Daubechies mother wavelets are orthogonal. However, they do not have linear phase.

    Figure 6-4 Daubechies 2 wavelets for case (c). The Daubechies filters are orthogonal and have the same length. The analysis and synthesis filters have similar behavior.

Example 6.1 demonstrates how to compute the product filter P0(z) and how to factor it. The common considerations of designing the lowpass FIR filters H0(z) and G0(z) include linear phase, minimum phase, and orthogonality. In many applications, such as image processing, linear phase is one of the most fundamental properties. In the time domain, linear phase implies that the coefficients of the causal filters are symmetric or antisymmetric around the central coefficient, i.e.,

(6.24)

In the z-transform domain, if zk is a zero, then so is 1/zk, zk*, and 1/z*k (assume that h[n] is real-valued). In other words, the zeros of a linear phase FIR filter H(z) occur in reciprocal conjugate pairs. Spline filters in cases (a) and (b) of Example 6.1 are all linear phase filters.

For FIR filters, minimum phase implies that all zeros lie inside the unit circle, i.e.,

(6.25)

The minimum phase filter possesses minimum phase-lag, but minimum phase has historically been the established terminology. Conversely, we name an FIR filter as a maximum phase filter if all its zeros lie outside the unit circle. For the Daubechies wavelets in Eqs. (6.26) and (6.27), while one has minimum phase, the other must have maximum phase. Obviously, no filter can have linear phase and minimum phase simultaneously.

Case (c), in fact, represents one of the most important classes in the wavelet family, the Daubechies wavelets. For the kth order Daubechies wavelets (which are commonly named Daubechies k wavelet or simply dbk),

(6.26)

and

(6.27)

It has been proved that for a given length of orthogonal filters (or given time support), the Daubechies wavelets filters achieve the maximum number of zeros at z = –1 (that is, ω = þ). Since the zeros of the lowpass filter H0(z) or G0(z) at z = –1 are related to the zero moments of the wavelet ψ(t) for a given time support, the Daubechies filters in Eqs. (6.26) and (6.27) possess the maximum number of vanishing moments.

For k = 1, the Daubechies wavelet is identical to the Haar wavelet. As the order k in (6.18) increases, the Daubechies wavelets become more and more smooth and also have more number of oscillations. On the other hand, as the order k increases, their time support becomes wider (see Figure 6-5).

Figure 6-5 As the order increases, the Daubechies wavelets appear more and more smooth and also have more oscillations. On the other hand, as the order increases, the time support becomes wider.

Figure 6-6 illustrates another set of popular scaling functions and wavelets that are employed for the FBI (Federal Bureau of Investigation) fingerprint compression. In this case,

(6.28)

Figure 6-6 Scaling functions and wavelets used for the FBI fingerprint compression

Figure 6-7 depicts the zero distribution of the corresponding lowpass filters, H0(z) and G0(z). Both of them have four zeros at þ. Since the pairs of reciprocals, zi and its reciprocal 1/zi (as well as zi* and its reciprocal 1/zi*), are assigned to the same filter, the resulting filters have linear phase.

Figure 6-7 Zero distribution of the pair of lowpass filters used for the FBI fingerprint compression. While the symbol "x" represents zeros of the analysis lowpass filter, the symbol "o" indicates zeros of the synthesis lowpass filter. The analysis and synthesis filters both have four zeros at p (that is, z = -1), respectively. Since the reciprocal pairs are assigned to the same filter, the resulting filters have linear phase.

As mentioned earlier, the derivations in this section are mainly based on the biorthogonal case (see Figure 6-1). The orthogonal transform, in fact, is a special case of its biorthogonal counterpart. In the next section we will investigate conditions, in terms of the product filter P0(z) and lowpass filters H0(z) or G0(z), for orthogonal wavelets.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020