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

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

public final class FastDaubechies2
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
FastDaubechies2()
           
 
Method Summary
 void invTransform(double[] v)
           
 void invTransform(float[] v)
           
static void invTransform(float[] v, int last)
           
 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

FastDaubechies2

public FastDaubechies2()
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)