|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object marf.Storage.StorageManager marf.Preprocessing.Preprocessing marf.Preprocessing.Dummy.Dummy marf.Preprocessing.Dummy.Raw
public class Raw
Implements raw preprocessing module for testing purposes that does not do any preprocessing.
$Id: Raw.java,v 1.15 2007/12/16 01:11:05 mokhov Exp $
Field Summary |
---|
Fields inherited from class marf.Preprocessing.Preprocessing |
---|
bRemoveNoise, bRemoveSilence, DEFAULT_SILENCE_THRESHOLD, dSilenceThreshold, 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 | |
---|---|
Raw()
Default constructor for reflective creation of Preprocessing clones. |
|
Raw(IPreprocessing poPreprocessing)
Implementation of the preprocessing pipeline. |
|
Raw(Sample poSample)
Raw Constructor. |
Method Summary | |
---|---|
boolean |
cropAudio(double pdStartingFrequency,
double pdEndFrequency)
Raw implementation of cropAudio() for testing. |
static java.lang.String |
getMARFSourceCodeRevision()
Returns source code revision information. |
boolean |
preprocess()
Raw implementation of preprocess() for testing. |
boolean |
removeNoise()
Raw implementation of removeNoise() for testing. |
boolean |
removeSilence()
Raw implementation of removeSilence() for testing. |
Methods inherited from class marf.Preprocessing.Preprocessing |
---|
backSynchronizeObject, clone, compress, compress, extractParameters, getSample, normalize, normalize, normalize, removeSilence, setSample |
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 |
Constructor Detail |
---|
public Raw()
public Raw(IPreprocessing poPreprocessing) throws PreprocessingException
poPreprocessing
- successor preprocessing module
PreprocessingException
public Raw(Sample poSample) throws PreprocessingException
poSample
- incoming sample
PreprocessingException
Method Detail |
---|
public boolean preprocess() throws PreprocessingException
preprocess()
for testing.
Does not do any preprocessing.
preprocess
in interface IPreprocessing
preprocess
in class Dummy
true
PreprocessingException
- never thrownIPreprocessing.removeNoise()
,
IPreprocessing.removeSilence()
public final boolean removeNoise() throws PreprocessingException
removeNoise()
for testing.
Does not do any noise removal.
removeNoise
in interface IPreprocessing
removeNoise
in class Preprocessing
true
PreprocessingException
- never thrownLowPassFilter
public final boolean removeSilence() throws PreprocessingException
removeSilence()
for testing.
Does not do any silence removal.
removeSilence
in interface IPreprocessing
removeSilence
in class Preprocessing
true
PreprocessingException
- never thrownPreprocessing.removeSilence(double[], double)
,
Preprocessing.dSilenceThreshold
public final boolean cropAudio(double pdStartingFrequency, double pdEndFrequency) throws PreprocessingException
cropAudio()
for testing.
cropAudio
in interface IPreprocessing
cropAudio
in class Preprocessing
pdStartingFrequency
- unusedpdEndFrequency
- unused
true
PreprocessingException
- never thrownpublic static java.lang.String getMARFSourceCodeRevision()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |