This package contains a function that performs P-Stage Wavelet compression on an input grayscale or color image and then displays
1) the original image
2) its wavelet transform
3) the compressed wavelet transform
4) the reconstructed image
as subplots in a figure so that the user can compare the fidelity of the compressed and original images.
The function allows the user to adjust the image compression from 0% to 100% to observe the effects of image compression on a wavelet-transformed image. It also allows the user to vary the P-value of the wavelet transform to observe the compressibility increases as the wavelet transform is iterated multiple times.
Supported wavelet types are:
1) Haar wavelets
2) Shannon wavelets
3) Daubechies 'D6' wavelets
This function also implements a number of different computational techniques for performing the P-Stage Wavelet transform:
1) Matrix multiplication (recursive)
2) Fast convolution (recursive)
3) Nonrecursive formulation
The user is encouraged to compare the speed, numerical stability, and compression fidelity of these different techniques.