FeatureExtractor.Filter.Wavelets
Class Wavelet

java.lang.Object
  extended by FeatureExtractor.Filter.Wavelets.Wavelet
Direct Known Subclasses:
SimpleHaar

public abstract class Wavelet
extends java.lang.Object

Abstract class implementing the wavelet computation.


Constructor Summary
Wavelet()
           
 
Method Summary
abstract  double[] compute(double[] values)
          Abstract method for applying the wavelet filter to a single array of values (row or column).
 double[][] compute(double[][] values, int level)
          Performs the wavelet filter computation.
abstract  java.lang.String toString()
          Returns a string representation of this wavelet filter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Wavelet

public Wavelet()
Method Detail

compute

public double[][] compute(double[][] values,
                          int level)
Performs the wavelet filter computation.

Parameters:
values - The matrix to be filtered.
level - Wavelet level.
Returns:
Matrix obtained by applying the wavelet filter.

compute

public abstract double[] compute(double[] values)
Abstract method for applying the wavelet filter to a single array of values (row or column).

Parameters:
values - The array to be filtered.
Returns:
Array of values obtained by applying the wavelet filter.

toString

public abstract java.lang.String toString()
Returns a string representation of this wavelet filter.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this wavelet filter.