public class MyWavelet extends Lift
Lift.Direction| Constructor and Description |
|---|
MyWavelet() |
| Modifier and Type | Method and Description |
|---|---|
void |
forwardTrans(double[] vec)
Simple wavelet Lifting Scheme forward transform
|
void |
inverseTrans(double[] vec)
Default two step Lifting Scheme inverse wavelet transform
|
protected void |
normalize(double[] S,
int N,
Lift.Direction direction) |
protected void |
predict(double[] S,
int N,
Lift.Direction direction)
Predict step, to be defined by the subclass
|
protected void |
update(double[] S,
int N,
Lift.Direction direction)
Update step, to be defined by the subclass
|
protected void |
updateOne(double[] S,
int N,
Lift.Direction direction) |
public void forwardTrans(double[] vec)
LiftSimple 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 Liftvec - input vectorpublic void inverseTrans(double[] 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 Liftvec - input vectorprotected void normalize(double[] S,
int N,
Lift.Direction direction)
protected void predict(double[] S,
int N,
Lift.Direction direction)
Liftprotected void update(double[] S,
int N,
Lift.Direction direction)
Liftprotected void updateOne(double[] S,
int N,
Lift.Direction direction)
Copyright © 2020 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.