JSci.maths.wavelet.daubechies2
Class FastDaubechies2

java.lang.Object
  extended by JSci.maths.wavelet.FWT
      extended by 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
           
 
Constructor Summary
FastDaubechies2()
           
 
Method Summary
 void invTransform(float[] v)
           
static void invTransform(float[] v, int last)
           
 void transform(float[] v)
           
static void transform(float[] v, int last)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scale

static final float[] scale

wavelet

static final float[] wavelet
Constructor Detail

FastDaubechies2

public FastDaubechies2()
Method Detail

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)