org.jscience.mathematics.wavelet.cdf2_4
Class MultiSpline2_4

java.lang.Object
  extended by org.jscience.mathematics.wavelet.cdf2_4.MultiSpline2_4
All Implemented Interfaces:
Filter

public final class MultiSpline2_4
extends java.lang.Object
implements Filter

Cohen-Daubechies-Feauveau with N=2 and Ntilde=4 adapted to the interval by Deslauriers-Dubuc-Lemire


Constructor Summary
MultiSpline2_4()
          Creates a new MultiSpline2_4 object.
 
Method Summary
static LinearSpline hat(int n0, int k)
           
 double[] highpass(double[] v)
          Highpass filters are normalized in order to get L2 orthonormality of the resulting wavelets (when it applies).
 double[] highpass(double[] v, double[] param)
          Highpass filters are normalized in order to get L2 orthonormality of the resulting wavelets (when it applies).
 double[] lowpass(double[] donnee)
          lowpass filter
 double[] lowpass(double[] v, double[] param)
          lowpass filter
 int previousDimension(int k)
          This method return the number of "scaling" functions at the previous scale given a number of scaling functions.
static LinearSpline scaling(int n0, int k)
           
static LinearSpline wavelet(int n0, int k)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiSpline2_4

public MultiSpline2_4()
Creates a new MultiSpline2_4 object.

Method Detail

previousDimension

public int previousDimension(int k)
This method return the number of "scaling" functions at the previous scale given a number of scaling functions. The answer is always smaller than the provided value (about half since this is a dyadic implementation). This relates to the same idea as the "Filter type". It is used by the interface "Filter".

Specified by:
previousDimension in interface Filter
Parameters:
k - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
IllegalScalingException - DOCUMENT ME!

lowpass

public double[] lowpass(double[] v,
                        double[] param)
Description copied from interface: Filter
lowpass filter

Specified by:
lowpass in interface Filter
Parameters:
v - DOCUMENT ME!
param - DOCUMENT ME!
Returns:
DOCUMENT ME!

highpass

public double[] highpass(double[] v,
                         double[] param)
Description copied from interface: Filter
Highpass filters are normalized in order to get L2 orthonormality of the resulting wavelets (when it applies). See the class DiscreteHilbertSpace for an implementation of the L2 integration.

Specified by:
highpass in interface Filter
Parameters:
v - DOCUMENT ME!
param - DOCUMENT ME!
Returns:
DOCUMENT ME!

lowpass

public double[] lowpass(double[] donnee)
Description copied from interface: Filter
lowpass filter

Specified by:
lowpass in interface Filter
Parameters:
donnee - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
IllegalScalingException - DOCUMENT ME!

highpass

public double[] highpass(double[] v)
Description copied from interface: Filter
Highpass filters are normalized in order to get L2 orthonormality of the resulting wavelets (when it applies). See the class DiscreteHilbertSpace for an implementation of the L2 integration.

Specified by:
highpass in interface Filter
Parameters:
v - DOCUMENT ME!
Returns:
DOCUMENT ME!

hat

public static LinearSpline hat(int n0,
                               int k)
Parameters:
n0 - DOCUMENT ME!
k - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
IllegalScalingException - DOCUMENT ME!

scaling

public static LinearSpline scaling(int n0,
                                   int k)
Parameters:
n0 - DOCUMENT ME!
k - DOCUMENT ME!
Returns:
DOCUMENT ME!

wavelet

public static LinearSpline wavelet(int n0,
                                   int k)
Parameters:
n0 - DOCUMENT ME!
k - DOCUMENT ME!
Returns:
DOCUMENT ME!
Throws:
java.lang.IllegalArgumentException - DOCUMENT ME!
IllegalScalingException - DOCUMENT ME!