org.jscience.mathematics.wavelet.cdf3_5
Class MultiSpline3_5

java.lang.Object
  extended by org.jscience.mathematics.wavelet.cdf3_5.MultiSpline3_5
All Implemented Interfaces:
Filter

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

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


Constructor Summary
MultiSpline3_5()
          Creates a new MultiSpline3_5 object.
 
Method Summary
 double[] highpass(double[] v)
          This is the implementation of the highpass Filter.
 double[] highpass(double[] v, double[] param)
          This is the implementation of the highpass Filter.
 double[] lowpass(double[] gete)
          This is the implementation of the lowpass Filter.
 double[] lowpass(double[] v, double[] param)
          This is the implementation of the 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 QuadraticSpline scaling(int n0, int k)
           
static QuadraticSpline 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

MultiSpline3_5

public MultiSpline3_5()
Creates a new MultiSpline3_5 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)
This is the implementation of the lowpass Filter. It is used by the interface "Filter". Lowpass filters are normalized so that they preserve constants away from the boundaries.

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

highpass

public double[] highpass(double[] v,
                         double[] param)
This is the implementation of the highpass Filter. It is used by the 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[] gete)
This is the implementation of the lowpass Filter. It is used by the interface "Filter". Lowpass filters are normalized so that they preserve constants away from the boundaries.

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

highpass

public double[] highpass(double[] v)
This is the implementation of the highpass Filter. It is used by the 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!

scaling

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

wavelet

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