marf.FeatureExtraction.LPC
Class LPC

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

public class LPC
extends FeatureExtraction

Class LPC implements Linear Predictive Coding.

$Id: LPC.java,v 1.40 2005/12/30 05:54:25 mokhov Exp $

Since:
0.0.1
Version:
$Revision: 1.40 $
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.
 int getPoles()
          Retrieves the number of poles.
 int getWindowLength()
          Retrieves the window length.
 void setPoles(int piPoles)
          Allows setting the number of poles.
 void setWindowLength(int piWindowLen)
          Allows setting the window length.
 
Methods inherited from class marf.FeatureExtraction.FeatureExtraction
backSynchronizeObject, clone, getFeaturesArray, getPreprocessing, setPreprocessing
 
Methods inherited from class marf.Storage.StorageManager
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, hashCode, restore, restoreBinary, restoreCSV, restoreGzipBinary, restoreHTML, restoreSQL, restoreXML, setDumpMode, setFilename, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, 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

getPoles

public int getPoles()
Retrieves the number of poles.

Returns:
the number of poles
Since:
0.3.0.4

setPoles

public void setPoles(int piPoles)
Allows setting the number of poles.

Parameters:
piPoles - new number of poles
Since:
0.3.0.4

getWindowLength

public int getWindowLength()
Retrieves the window length.

Returns:
the window length
Since:
0.3.0.4

setWindowLength

public void setWindowLength(int piWindowLen)
Allows setting the window length.

Parameters:
piWindowLen - the window length to set
Since:
0.3.0.4

getMARFSourceCodeRevision

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

Returns:
revision string
Since:
0.3.0.2


SourceForge Logo