|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarf.Storage.StorageManager
marf.FeatureExtraction.FeatureExtraction
marf.FeatureExtraction.LPC.LPC
public class LPC
Class LPC implements Linear Predictive Coding.
$Id: LPC.java,v 1.41 2006/08/04 03:31:05 mokhov Exp $
| 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, oFeatureSet, 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(double[] padSampleData)
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, extractFeatures, getFeaturesArray, getPreprocessing, setPreprocessing |
| Methods inherited from class marf.Storage.StorageManager |
|---|
dump, dumpBinary, dumpCSV, dumpGzipBinary, dumpHTML, dumpSQL, dumpXML, enableDumpOnNotFound, equals, getDefaultExtension, getDefaultExtension, getDumpMode, getFilename, getObjectToSerialize, 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 |
|---|
public static final int DEFAULT_WINDOW_LENGTH
public static final int DEFAULT_POLES
| Constructor Detail |
|---|
public LPC(IPreprocessing poPreprocessing)
poPreprocessing - Preprocessing module reference| Method Detail |
|---|
public final boolean extractFeatures(double[] padSampleData)
throws FeatureExtractionException
extractFeatures().
As of 0.3.0.6 the generic pipelined extractFeatures()
refactored out to FeatureExtraction.
padSampleData - the sample to extract features from
true if features were extracted, false otherwise
FeatureExtractionException - on any exception while extracting featuresIFeatureExtraction.extractFeatures(double[])public int getPoles()
public void setPoles(int piPoles)
piPoles - new number of polespublic int getWindowLength()
public void setWindowLength(int piWindowLen)
piWindowLen - the window length to setpublic static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||