marf.Preprocessing
Interface IFilter

All Known Implementing Classes:
FFTFilter

public interface IFilter

An interface all filters must comply with.

Since:
0.3.0.4
Author:
Serguei Mokhov

Field Summary
static java.lang.String MARF_INTERFACE_CODE_REVISION
          Interface source code revision.
 
Method Summary
 boolean filter(double[] padSample, double[] padFiltered)
          Applies filtering to the sample array and buffers the filtered data.
 

Field Detail

MARF_INTERFACE_CODE_REVISION

public static final java.lang.String MARF_INTERFACE_CODE_REVISION
Interface source code revision.

See Also:
Constant Field Values
Method Detail

filter

public boolean filter(double[] padSample,
                      double[] padFiltered)
               throws PreprocessingException
Applies filtering to the sample array and buffers the filtered data.

Parameters:
padSample - original sample to apply filtering to; should not be altered
padFiltered - buffer for filtered data
Returns:
true if filtering was successful
Throws:
PreprocessingException - if any error happened during filtering