marf.FeatureExtraction
Class FeatureExtractionFactory

java.lang.Object
  extended bymarf.FeatureExtraction.FeatureExtractionFactory

public final class FeatureExtractionFactory
extends java.lang.Object

Provides a factory to instantiate requested feature extraction module(s).

$Id: FeatureExtractionFactory.java,v 1.2 2005/12/28 03:21:11 mokhov Exp $

Since:
0.3.0.5
Version:
$Revision: 1.2 $
Author:
Serguei Mokhov

Method Summary
static IFeatureExtraction create(java.lang.Integer poFeatureExtractionMethod, IPreprocessing poPreprocessing)
          Instantiates a FeatureExtraction module indicated by the first parameter with the 2nd parameter as an argument.
static IFeatureExtraction create(int piFeatureExtractionMethod, IPreprocessing poPreprocessing)
          Instantiates a FeatureExtraction module indicated by the first parameter with the 2nd parameter as an argument.
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static final IFeatureExtraction create(java.lang.Integer poFeatureExtractionMethod,
                                              IPreprocessing poPreprocessing)
                                       throws FeatureExtractionException
Instantiates a FeatureExtraction module indicated by the first parameter with the 2nd parameter as an argument.

Parameters:
poFeatureExtractionMethod - the integer value corresponding to the desired feature extraction module
poPreprocessing - passed as an agrument to the feature extractor per framework requirement
Returns:
a reference to the instance of the created feature extraction module
Throws:
FeatureExtractionException - if the indicated module is uknown or could not be loaded
See Also:
MARF.LPC, MARF.FFT, MARF.F0, MARF.SEGMENTATION, MARF.CEPSTRAL, MARF.RANDOM_FEATURE_EXTRACTION, MARF.MIN_MAX_AMPLITUDES, MARF.FEATURE_EXTRACTION_PLUGIN, MARF.FEATURE_EXTRACTION_AGGREGATOR, LPC, FFT, F0, Segmentation, Cepstral, RandomFeatureExtraction, MinMaxAmplitudes, FeatureExtractionAggregator

create

public static final IFeatureExtraction create(int piFeatureExtractionMethod,
                                              IPreprocessing poPreprocessing)
                                       throws FeatureExtractionException
Instantiates a FeatureExtraction module indicated by the first parameter with the 2nd parameter as an argument.

Parameters:
piFeatureExtractionMethod - the integer value corresponding to the desired feature extraction module
poPreprocessing - passed as an agrument to the feature extractor per framework requirement
Returns:
a reference to the instance of the created feature extraction module
Throws:
FeatureExtractionException - if the indicated module is uknown or could not be loaded
See Also:
MARF.LPC, MARF.FFT, MARF.F0, MARF.SEGMENTATION, MARF.CEPSTRAL, MARF.RANDOM_FEATURE_EXTRACTION, MARF.MIN_MAX_AMPLITUDES, MARF.FEATURE_EXTRACTION_PLUGIN, MARF.FEATURE_EXTRACTION_AGGREGATOR, LPC, FFT, F0, Segmentation, Cepstral, RandomFeatureExtraction, MinMaxAmplitudes, FeatureExtractionAggregator

getMARFSourceCodeRevision

public static java.lang.String getMARFSourceCodeRevision()
Returns source code revision information.

Returns:
revision string


SourceForge Logo