marf.FeatureExtraction.LPC
Class LPC

java.lang.Object
  extended by marf.Storage.StorageManager
      extended by marf.FeatureExtraction.FeatureExtraction
          extended by marf.FeatureExtraction.LPC.LPC
All Implemented Interfaces:
java.io.Serializable, IFeatureExtraction, IStorageManager

public class LPC
extends FeatureExtraction

Class LPC implements Linear Predictive Coding.

$Id: LPC.java,v 1.36 2005/06/16 19:58:45 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.36 $
Author:
Ian Clement, Serguei Mokhov
See Also:
Serialized Form

Field Summary
static int DEFAULT_POLES
          Default number of poles, 20.
static int DEFAULT_WINDOW_LENGTH
          Default window length of 128 elements.
 
Fields inherited from class marf.FeatureExtraction.FeatureExtraction
adFeatures, oPreprocessing
 
Fields inherited from class marf.Storage.StorageManager
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename
 
Fields inherited from interface marf.FeatureExtraction.IFeatureExtraction
MARF_INTERFACE_CODE_REVISION
 
Fields inherited from interface marf.Storage.IStorageManager
DUMP_BINARY, DUMP_CSV_TEXT, DUMP_GZIP_BINARY, DUMP_HTML, DUMP_SQL, DUMP_XML, MARF_INTERFACE_CODE_REVISION, STORAGE_FILE_EXTENSIONS
 
Constructor Summary
LPC(IPreprocessing poPreprocessing)
          LPC Constructor.
 
Method Summary
 boolean extractFeatures()
          LPC Implementation of extractFeatures().
static java.lang.String getMARFSourceCodeRevision()
          Returns source code revision information.
 
Methods inherited from class marf.FeatureExtraction.FeatureExtraction
backSynchronizeObject, getFeaturesArray
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, restore, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_WINDOW_LENGTH

public static final int DEFAULT_WINDOW_LENGTH
Default window length of 128 elements.

Since:
0.3.0
See Also:
Constant Field Values

DEFAULT_POLES

public static final int DEFAULT_POLES
Default number of poles, 20.

Since:
0.3.0
See Also:
Constant Field Values
Constructor Detail

LPC

public LPC(IPreprocessing poPreprocessing)
LPC Constructor.

Parameters:
poPreprocessing - Preprocessing module reference
Method Detail

extractFeatures

public final boolean extractFeatures()
                              throws FeatureExtractionException
LPC Implementation of extractFeatures().

Returns:
true if features were extracted, false otherwise
Throws:
FeatureExtractionException

getMARFSourceCodeRevision

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

Returns:
revision string
Since:
0.3.0