public class LineWavelet extends LiftingSchemeBaseWavelet
Line (with slope) wavelet
The wavelet Lifting Scheme "LineWavelet" wavelet approximates the data set using a LineWavelet with with slope (in contrast to the HaarWavelet wavelet where a LineWavelet has zero slope is used to approximate the data).
The predict stage of the LineWavelet wavelet "predicts" that an odd point will lie midway between its two neighboring even points. That is, that the odd point will lie on a LineWavelet between the two adjacent even points. The difference between this "prediction" and the actual odd value replaces the odd element.
The update stage calculates the average of the odd and even element pairs, although the method is indirect, since the predict phase has over written the odd value.
You may use this source code without limitation and without fee as long as you include:
This software was written and is copyrighted by Ian Kaplan, Bear Products International, www.bearcave.com, 2001.
This software is provided "as is", without any warrenty or claim as to its usefulness. Anyone who uses this source code uses it at their own risk. Nor is any support provided by Ian Kaplan and Bear Products International.
Please send any bug fixes or suggested source changes to:
iank@bearcave.com
Constructor and Description |
---|
LineWavelet() |
forwardTrans, inverseTrans