Skip to Content
Discrete Wavelet Transformations, 2nd Edition
book

Discrete Wavelet Transformations, 2nd Edition

by Patrick J. Van Fleet
April 2019
Intermediate to advanced
624 pages
16h 54m
English
Wiley
Content preview from Discrete Wavelet Transformations, 2nd Edition

CHAPTER 4THE HAAR WAVELET TRANSFORMATION

Consider the 512 × 512 image plotted in Figure 4.1(a). In its raw format, it is stored at 8 bpp for a total of 5122 · 8 = 2,097,152 bits. Based on what we learned in Section 3.3, we should be able to reduce the space needed to store the image if we create Huffman codes for the intensities in the image. We compute the Huffman codes for the intensities in the image and find that the new bits per pixel for the encoded data is … 7.585 bpp or a savings of only 5.18%.

Image described by caption and surrounding text.

Figure 4.1  An image and the distribution of its intensities.

What went wrong? The main reason for performing Huffman coding is to reduce the size of storage space. However, Huffman coding works best if relatively few intensities comprise the majority of the image. A look at Figure 4.1(b) shows that the distribution of the intensities of A is quite spread out. Thus Huffman coding will not provide a substantial savings in terms of storage space.

Suppose we construct an invertible transformation T such that T(A) has the distribution of intensities show in Figure 4.2. Such a transformation exists and in this case, the Huffman‐encoded version of T(A) is 2.77 bpp. We could save the Huffman‐encoded version of T(A) and if we want to recover A, we simple decode the Huffman codes for T(A) and then apply T−1.

Figure 4.2  The distribution of intensities of the transformed data T(A).

We have stipulated ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Discrete Wavelet Transformations: An Elementary Approach with Applications

Discrete Wavelet Transformations: An Elementary Approach with Applications

Patrick J. Van Fleet
Wavelets: Theory and Applications

Wavelets: Theory and Applications

A. K. Louis, D. Maass, A. Rieder

Publisher Resources

ISBN: 9781118979273Purchase book