fractsplinewavelets
Class BasisFunctions

java.lang.Object
  |
  +--fractsplinewavelets.BasisFunctions

public class BasisFunctions
extends java.lang.Object


Plugin of ImageJ:
Fractional Spline Wavelet

Author:
Daniel Sage daniel.sage@epfl.ch
Swiss Federal Institute of Technology Lausanne, Biomedical Imaging Group, CH-1015 Lausanne, Switzerland, http://bigwww.epfl.ch

Version:
24 January 2002

Copyright
Copyright © 2002, Swiss Federal Institute of Technology, Lausanne, Switzerland, (EPFL)


Purpose of the class:
This class compute the 1D wavelet and scaling function to plot them.


Constructor Summary
BasisFunctions(int n, int nbIterations)
          Constructor.
 
Method Summary
 double[][] computeFunction(int filter, double degree, double shift)
          Compute the scaling basis function by iterating the synthesis part with a dirac as input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasisFunctions

public BasisFunctions(int n,
                      int nbIterations)
Constructor. Set the important parameters as the size of the signal and the number of iterations.
Parameters:
n - Size of the signal (power of 2)
nbIterations - Number of iterations
Method Detail

computeFunction

public double[][] computeFunction(int filter,
                                  double degree,
                                  double shift)
Compute the scaling basis function by iterating the synthesis part with a dirac as input. Note: To have the computation of the scaling function and wavelet function in one shot, we compute the scaling function in the real channel [0][*] and the wavelet function in the imaginary channel [1][*].
Returns:
a 2*1D array containg the scaling [0][*] and the wavelet [1][*] basis function