marf.FeatureExtraction
Interface IFeatureExtraction

All Known Implementing Classes:
FeatureExtraction

public interface IFeatureExtraction

Feature Extraction Interface.

$Id: IFeatureExtraction.java,v 1.4 2005/08/05 22:19:54 mokhov Exp $

Since:
0.3.0.3
Version:
$Revision: 1.4 $
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.
 double[] getFeaturesArray()
          Allows retrieval of the features.
 marf.Preprocessing.IPreprocessing getPreprocessing()
          Retrieves inner preprocessing reference.
 void setPreprocessing(marf.Preprocessing.IPreprocessing poPreprocessing)
          Allows setting the source preprocessing module.
 

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

extractFeatures

public boolean extractFeatures()
                        throws FeatureExtractionException
Abstract feature extraction routine.

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

getFeaturesArray

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

Returns:
array of features (double values)

getPreprocessing

public marf.Preprocessing.IPreprocessing getPreprocessing()
Retrieves inner preprocessing reference.

Returns:
the preprocessing reference
Since:
0.3.0.4

setPreprocessing

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

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