Class Fingerprint
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.audiofeaturegenerator.AbstractAudioFeatureGenerator<WaveContainer>
-
- adams.data.audiofeaturegenerator.wave.AbstractWaveFeatureGenerator
-
- adams.data.audiofeaturegenerator.wave.Fingerprint
-
- All Implemented Interfaces:
adams.core.CleanUpHandler
,adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.ShallowCopySupporter<AbstractAudioFeatureGenerator>
,adams.core.SizeOfHandler
,Serializable
,Comparable
public class Fingerprint extends AbstractWaveFeatureGenerator
Generates a fingerprint from the Wave data.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.audiofeaturegenerator.AbstractAudioFeatureGenerator
m_Converter, m_Fields, m_Notes, m_Prefix
-
-
Constructor Summary
Constructors Constructor Description Fingerprint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description adams.data.featureconverter.HeaderDefinition
createHeader(WaveContainer cont)
Creates the header from a template container.List<Object>[]
generateRows(WaveContainer cont)
Performs the actual feature generation.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.data.audiofeaturegenerator.AbstractAudioFeatureGenerator
checkData, cleanUp, compareTo, converterTipText, defineOptions, destroy, equals, fieldsTipText, generate, getConverter, getDatasetFormat, getFields, getNotes, getPrefix, getRowFormat, notesTipText, postProcessHeader, postProcessRow, postProcessRows, prefixTipText, reset, setConverter, setFields, setNotes, setPrefix, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
createHeader
public adams.data.featureconverter.HeaderDefinition createHeader(WaveContainer cont)
Creates the header from a template container.- Specified by:
createHeader
in classAbstractAudioFeatureGenerator<WaveContainer>
- Parameters:
cont
- the container to act as a template- Returns:
- the generated header
-
generateRows
public List<Object>[] generateRows(WaveContainer cont)
Performs the actual feature generation.- Specified by:
generateRows
in classAbstractAudioFeatureGenerator<WaveContainer>
- Parameters:
cont
- the container to process- Returns:
- the generated features
-
-