JSci.maths.wavelet.daubechies2
Class FastDaubechies2
java.lang.Object
JSci.maths.wavelet.FWT
JSci.maths.wavelet.daubechies2.FastDaubechies2
public final class FastDaubechies2
- extends FWT
This is a very fast implementation of the
Fast Wavelet Transform. It uses in-place computations
for less memory usage. Data length should be
a power of 2 a be at least of length 4.
Handles boundaries by assuming periodicity.
Ideal for image processing or processing large
amount of data. Uses floats for more performance.
Safety is minimal, so be careful!
Field Summary |
(package private) static float[] |
scale
|
(package private) static float[] |
wavelet
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scale
static final float[] scale
wavelet
static final float[] wavelet
FastDaubechies2
public FastDaubechies2()
transform
public static void transform(float[] v,
int last)
transform
public void transform(float[] v)
- Specified by:
transform
in class FWT
invTransform
public void invTransform(float[] v)
- Specified by:
invTransform
in class FWT
invTransform
public static void invTransform(float[] v,
int last)