fractsplinewavelets
Class Filters

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

public final class Filters
extends java.lang.Object


Plugin of ImageJ:
Fractional Spline Wavelet

Authors:
Gil Gaillard, 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:
Generate the coefficients of the filter.


Field Summary
static int BSPLINE
           
static int DUAL
           
static int ORTHONORMAL
           
 
Constructor Summary
Filters(int size, int filter, double degree, double shift)
          Prepare the calculation the spectrum of the desired filter with the same number of samples as this of the signal to filter.
 
Method Summary
 void generateAnalysisFilters()
          Generate all the analysis filter.
 void generateSynthesisFilters()
          Generate all the synthesis filter.
 double[] getImaginaryHighpassFilter()
          Return the imaginary parts of the Highpass filter.
 double[] getImaginaryLowpassFilter()
          Return the imaginary parts of the Lowpass filter.
 double[] getRealHighpassFilter()
          Return the real parts of the Highpass filter.
 double[] getRealLowpassFilter()
          Return the real parts of the Lowpass filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORTHONORMAL

public static final int ORTHONORMAL

BSPLINE

public static final int BSPLINE

DUAL

public static final int DUAL
Constructor Detail

Filters

public Filters(int size,
               int filter,
               double degree,
               double shift)
Prepare the calculation the spectrum of the desired filter with the same number of samples as this of the signal to filter. There are spline filters only but new filters can be added. After having executed the methods generateSynthesisFilter() and generateAnalysisFilters() the result is in four arrays : Lowpass filter in H (Hreal[size], Himag[size]) Highpass filter in G (Greal[size], Gimag[size])
Parameters:
size - length of the signal to process
filter - ORTHONORMAL or BSPLINE or DUAL
degree - degree of the splines (fractional degree)
shift - shift, for the symmetrical version of the filter shift = 0.0
Method Detail

generateAnalysisFilters

public void generateAnalysisFilters()
Generate all the analysis filter.

generateSynthesisFilters

public final void generateSynthesisFilters()
Generate all the synthesis filter.

getRealHighpassFilter

public double[] getRealHighpassFilter()
Return the real parts of the Highpass filter.

getImaginaryHighpassFilter

public double[] getImaginaryHighpassFilter()
Return the imaginary parts of the Highpass filter.

getRealLowpassFilter

public double[] getRealLowpassFilter()
Return the real parts of the Lowpass filter.

getImaginaryLowpassFilter

public double[] getImaginaryLowpassFilter()
Return the imaginary parts of the Lowpass filter.