public class Daubechies4Wavelet extends LiftingSchemeBaseWavelet
Constructor and Description |
---|
Daubechies4Wavelet() |
Modifier and Type | Method and Description |
---|---|
void |
forwardTrans(float[] vec)
Simple wavelet Lifting Scheme forward transform
|
void |
inverseTrans(float[] vec)
Default two step Lifting Scheme inverse wavelet transform
|
public void forwardTrans(float[] vec)
LiftingSchemeBaseWavelet
Simple wavelet Lifting Scheme forward transform
forwardTrans is passed an array of doubles. The array size must be a power of two. Lifting Scheme wavelet transforms are calculated in-place and the result is returned in the argument array.
The result of forwardTrans is a set of wavelet coefficients ordered by increasing frequency and an approximate average of the input data set in vec[0]. The coefficient bands follow this element in powers of two (e.g., 1, 2, 4, 8...).
forwardTrans
in class LiftingSchemeBaseWavelet
vec
- the vectorpublic void inverseTrans(float[] vec)
Default two step Lifting Scheme inverse wavelet transform
inverseTrans is passed the result of an ordered wavelet transform, consisting of an average and a set of wavelet coefficients. The inverse transform is calculated in-place and the result is returned in the argument array.
inverseTrans
in class LiftingSchemeBaseWavelet
vec
- the vector