|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmarf.Storage.StorageManager
marf.FeatureExtraction.FeatureExtraction
public abstract class FeatureExtraction
Generic Feature Extraction Module.
Every feature extraction module must extend this class; if it cannot
then they must implement the IFeatureExtraction interface.
IFeatureExtraction,
Serialized Form| Field Summary | |
|---|---|
protected double[] |
adFeatures
An array of features extracted (coefficiencies and/or amplitude values). |
protected FeatureSet |
oFeatureSet
A collection of feature vectors or sets for a subject. |
protected IPreprocessing |
oPreprocessing
Internal reference to the Preprocessing module. |
| 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 | |
|---|---|
protected |
FeatureExtraction(IPreprocessing poPreprocessing)
Main FeatureExtraction constructor. |
| Method Summary | |
|---|---|
void |
backSynchronizeObject()
Implementation of back-synchronization of loaded object. |
java.lang.Object |
clone()
Implements Cloneable interface for the FeatureExtraction object. |
boolean |
extractFeatures()
Provides default implementation of the API by using the sample data provided by the IPreprocessing module. |
double[] |
getFeaturesArray()
Allows retrieval of the internal feature vector. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
IPreprocessing |
getPreprocessing()
Retrieves inner preprocessing reference. |
void |
setPreprocessing(IPreprocessing poPreprocessing)
Allows setting the source preprocessing module. |
| 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 |
| Methods inherited from interface marf.FeatureExtraction.IFeatureExtraction |
|---|
extractFeatures |
| Field Detail |
|---|
protected IPreprocessing oPreprocessing
protected double[] adFeatures
protected FeatureSet oFeatureSet
| Constructor Detail |
|---|
protected FeatureExtraction(IPreprocessing poPreprocessing)
poPreprocessing - preprocessing object ref.| Method Detail |
|---|
public boolean extractFeatures()
throws FeatureExtractionException
extractFeatures in interface IFeatureExtractionFeatureExtractionException - if there was an error while extracting featuresIFeatureExtraction.extractFeatures()public final double[] getFeaturesArray()
getFeaturesArray in interface IFeatureExtractiondouble values)public IPreprocessing getPreprocessing()
getPreprocessing in interface IFeatureExtractionpublic void setPreprocessing(IPreprocessing poPreprocessing)
setPreprocessing in interface IFeatureExtractionpoPreprocessing - the preprocessing object to setpublic void backSynchronizeObject()
backSynchronizeObject in class StorageManagerStorageManager.backSynchronizeObject()public java.lang.Object clone()
clone in class StorageManagerObject.clone()public static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||