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
Method Summary |
boolean |
filter(double[] padSample,
double[] padFiltered)
Applies filtering to the sample array and buffers
the filtered data. |
MARF_INTERFACE_CODE_REVISION
public static final java.lang.String MARF_INTERFACE_CODE_REVISION
- Interface source code revision.
- See Also:
- Constant Field Values
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 alteredpadFiltered
- buffer for filtered data
- Returns:
true if filtering was successful
- Throws:
PreprocessingException
- if any error happened during filtering