marf.FeatureExtraction
Interface IFeatureExtraction

All Known Implementing Classes:
Cepstral, F0, FeatureExtraction, FeatureExtractionAggregator, FFT, LPC, MinMaxAmplitudes, RandomFeatureExtraction, RawFeatureExtraction, Segmentation

public interface IFeatureExtraction

Feature Extraction Interface.

$Id: IFeatureExtraction.java,v 1.5 2006/08/04 03:31:04 mokhov Exp $

Since:
0.3.0.3
Version:
$Revision: 1.5 $
Author:
Serguei Mokhov

Field Summary
static java.lang.String MARF_INTERFACE_CODE_REVISION
          Interface source code revision.
 
Method Summary
 boolean extractFeatures()
          Abstract feature extraction routine.
 boolean extractFeatures(double[] padSampleData)
          Abstract feature extraction routine.
 double[] getFeaturesArray()
          Allows retrieval of the features.
 IPreprocessing getPreprocessing()
          Retrieves inner preprocessing reference.
 void setPreprocessing(IPreprocessing poPreprocessing)
          Allows setting the source preprocessing module.
 

Field Detail

MARF_INTERFACE_CODE_REVISION

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

See Also:
Constant Field Values
Method Detail

extractFeatures

boolean extractFeatures()
                        throws FeatureExtractionException
Abstract feature extraction routine. Requires an IPreprocessing to provide the sample data.

Returns:
boolean true if there were features extracted, false otherwise
Throws:
FeatureExtractionException - if there was an error while extracting features

extractFeatures

boolean extractFeatures(double[] padSampleData)
                        throws FeatureExtractionException
Abstract feature extraction routine.

Parameters:
padSampleData - the sample to extract features from
Returns:
boolean true if there were features extracted, false otherwise
Throws:
FeatureExtractionException - if there was an error while extracting features
Since:
0.3.0.6

getFeaturesArray

double[] getFeaturesArray()
Allows retrieval of the features.

Returns:
array of features (double values)

getPreprocessing

IPreprocessing getPreprocessing()
Retrieves inner preprocessing reference.

Returns:
the preprocessing reference
Since:
0.3.0.4

setPreprocessing

void setPreprocessing(IPreprocessing poPreprocessing)
Allows setting the source preprocessing module.

Parameters:
poPreprocessing - the preprocessing object to set
Since:
0.3.0.4


SourceForge Logo