|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmarf.Storage.StorageManager
marf.Preprocessing.Preprocessing
marf.Preprocessing.Endpoint.Endpoint
Implements endpoint preprocessing in MARF.
Endpoints are considered to be the local minimum and maximum values of an amplitude. A few variations apply.
$Id: Endpoint.java,v 1.26 2005/12/31 23:17:37 mokhov Exp $
| Field Summary | |
protected boolean |
bCompress
Indicates whether to compress or not the sample before extracting edpoints. |
protected boolean |
bConsiderEdges
Indicates whether to consider or or not the egde points (at the beginning and the end of the sample) as edpoints. |
| Fields inherited from class marf.Preprocessing.Preprocessing |
oSample |
| Fields inherited from class marf.Storage.StorageManager |
bDumpOnNotFound, iCurrentDumpMode, oObjectToSerialize, strFilename |
| Fields inherited from interface marf.Preprocessing.IPreprocessing |
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 | |
Endpoint()
Default constructor for reflective creation of Preprocessing clones. |
|
Endpoint(IPreprocessing poPreprocessing)
Preprocessing pipeline constructor. |
|
Endpoint(Sample poSample)
Endpoint Constructor. |
|
| Method Summary | |
boolean |
enableCompression(boolean pbEnable)
Enables or disables sample compression prior endpoints extraction. |
boolean |
enableEdgeEndpoints(boolean pbEnable)
Enables or disables consideration of the sample edges as endpoints. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
boolean |
preprocess()
Filters out sample points that are not endpoints. |
protected void |
processModuleParams()
A common local routine for extraction endpointing parameters via the ModuleParams machinery. |
| Methods inherited from class marf.Preprocessing.Preprocessing |
backSynchronizeObject, clone, compress, compress, cropAudio, getSample, normalize, normalize, normalize, removeNoise, removeSilence, setSample |
| 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 |
protected boolean bCompress
false.
protected boolean bConsiderEdges
true.
| Constructor Detail |
public Endpoint()
public Endpoint(IPreprocessing poPreprocessing)
throws PreprocessingException
poPreprocessing - followup preprocessing module
PreprocessingException
public Endpoint(Sample poSample)
throws PreprocessingException
poSample - incoming sample
PreprocessingException| Method Detail |
public boolean preprocess()
throws PreprocessingException
true if the preprocessing was successful.
PreprocessingException - if the resulting endpoints array contains no databCompress,
bConsiderEdgespublic boolean enableCompression(boolean pbEnable)
pbEnable - true if the compression is desired
public boolean enableEdgeEndpoints(boolean pbEnable)
pbEnable - true if the consideration is desired
protected void processModuleParams()
public static java.lang.String getMARFSourceCodeRevision()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||