edu.ucla.stat.SOCR.games.wavelet
Class Daubechies

java.lang.Object
  extended by edu.ucla.stat.SOCR.games.wavelet.Daubechies
All Implemented Interfaces:
JSci.maths.wavelet.FWT

public final class Daubechies
extends java.lang.Object
implements JSci.maths.wavelet.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!

Author:
Daniel Lemire

Constructor Summary
Daubechies()
           
 
Method Summary
 void invTransform(double[] v)
           
 void invTransform(float[] v)
           
static void invTransform(float[] v, int last)
           
 int modn(int i)
           
 void transform(double[] v)
           
 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
 

Constructor Detail

Daubechies

public Daubechies()
Method Detail

transform

public void transform(double[] v)
Specified by:
transform in interface JSci.maths.wavelet.FWT

invTransform

public void invTransform(double[] v)
Specified by:
invTransform in interface JSci.maths.wavelet.FWT

transform

public static void transform(float[] v,
                             int last)

transform

public void transform(float[] v)

invTransform

public void invTransform(float[] v)

invTransform

public static void invTransform(float[] v,
                                int last)

modn

public int modn(int i)