gives the stationary wavelet packet transform (SWPT) of an array of data.
gives the stationary wavelet packet transform using the wavelet wave.
gives the stationary wavelet packet transform using r levels of refinement.
Details and Options
- StationaryWaveletPacketTransform is a generalization of StationaryWaveletTransform where the full tree of wavelet coefficients is computed.
- StationaryWaveletPacketTransform gives a DiscreteWaveletData object.
- Properties of the DiscreteWaveletData dwd can be found using dwd["prop"], and a list of available properties can be found using dwd["Properties"].
- The resulting wavelet coefficients are arrays of the same depth and dimensions as the input data.
- The data can be any of the following:
list arbitrary-rank numerical array image arbitrary Image object audio an Audio or sampled Sound object
- The possible wavelets wave include:
BattleLemarieWavelet[…] Battle–Lemarié wavelets based on B-spline BiorthogonalSplineWavelet[…] B-spline-based wavelet CoifletWavelet[…] symmetric variant of Daubechies wavelets DaubechiesWavelet[…] the Daubechies wavelets HaarWavelet[…] classic Haar wavelet MeyerWavelet[…] wavelet defined in the frequency domain ReverseBiorthogonalSplineWavelet[…] B-spline-based wavelet (reverse dual and primal) ShannonWavelet[…] sinc function-based wavelet SymletWavelet[…] least asymmetric orthogonal wavelet
- The default wave is HaarWavelet.
- With higher settings for the refinement level r, larger scale features are resolved.
- The default refinement level r is given by , where is the minimum dimension of data.
- With refinement level Full, r is given by .
- The tree of wavelet coefficients at level consists of coarse coefficients and detail coefficients , with representing the input data.
- The forward transform is given by , , , and , where is the filter length for the corresponding wspec and is the length of input data.
- The inverse transform is given by .
- The are lowpass filter coefficients and are highpass filter coefficients that are defined for each wavelet family.
- The following options can be given:
Method Automatic method to use WorkingPrecision MachinePrecision precision to use in internal computations
- StationaryWaveletPacketTransform uses periodic padding of data.
- InverseWaveletTransform gives the inverse transform.
- By default, InverseWaveletTransform uses coefficients represented by dwd["BasisIndex"] for reconstruction. Use WaveletBestBasis to compute and set an optimal basis.
Examplesopen all close all
Basic Examples (3)
The resulting DiscreteWaveletData represents a full tree of wavelet coefficients:
Transform an Image object: