Package adams.data.lire.features
Class RankAndOpponent
-
- All Implemented Interfaces:
CleanUpHandler
,Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,ShallowCopySupporter<AbstractImageFeatureGenerator>
,SizeOfHandler
,TechnicalInformationHandler
,Serializable
,Comparable
public class RankAndOpponent extends AbstractBufferedImageFeatureGenerator implements TechnicalInformationHandler
Generates features using net.semanticmetadata.lire.imageanalysis.features.global.joint.RankAndOpponent.
For more information, see:
Mathias Lux, Savvas A. Chatzichristofis: LIRE: Lucene Image Retrieval - An Extensible Java CBIR Library. In: 16th ACM International Conference on Multimedia, 1085-1088, 2008.
Lux, Mathias: Content Based Image Retrieval with LIRe. In: 19th ACM International Conference on Multimedia, 735-738, 2011.
Mathias Lux, Oge Marques (2013). . Morgan Claypool.
For more information on the LIRE project, see:
http://www.lire-project.net/
@inproceedings{Lux2008, author = {Mathias Lux and Savvas A. Chatzichristofis}, booktitle = {16th ACM International Conference on Multimedia}, pages = {1085-1088}, publisher = {ACM}, title = {LIRE: Lucene Image Retrieval - An Extensible Java CBIR Library}, year = {2008}, URL = {http://doi.acm.org/10.1145/1459359.1459577} } @inproceedings{Lux2011, author = {Lux, Mathias}, booktitle = {19th ACM International Conference on Multimedia}, pages = {735-738}, publisher = {ACM}, title = {Content Based Image Retrieval with LIRe}, year = {2011}, URL = {http://doi.acm.org/10.1145/2072298.2072432} } @book{Lux2013, author = {Mathias Lux and Oge Marques}, booktitle = {Visual Information Retrieval using Java and LIRE}, publisher = {Morgan Claypool}, year = {2013}, ISBN = {9781608459186} }
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-converter <adams.data.featureconverter.AbstractFeatureConverter> (property: converter) The feature converter to use to produce the output data. default: adams.data.featureconverter.SpreadSheet -data-row-type adams.data.spreadsheet.DenseDataRow -spreadsheet-type adams.data.spreadsheet.DefaultSpreadSheet
-field <adams.data.report.Field> [-field ...] (property: fields) The fields to add to the output. default:
-notes <adams.core.base.BaseString> [-notes ...] (property: notes) The notes to add as attributes to the generated data, eg 'PROCESS INFORMATION' . default:
- Version:
- $Revision: 9196 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.image.AbstractImageFeatureGenerator
m_Converter, m_Fields, m_Notes, m_Prefix
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description RankAndOpponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HeaderDefinition
createHeader(BufferedImageContainer img)
Creates the header from a template image.List<Object>[]
generateRows(BufferedImageContainer img)
Performs the actual feature generation.TechnicalInformation
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.data.image.AbstractImageFeatureGenerator
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
getTechnicalInformation
public TechnicalInformation getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.- Specified by:
getTechnicalInformation
in interfaceTechnicalInformationHandler
- Returns:
- the technical information about this class
-
createHeader
public HeaderDefinition createHeader(BufferedImageContainer img)
Creates the header from a template image.- Specified by:
createHeader
in classAbstractImageFeatureGenerator<BufferedImageContainer>
- Parameters:
img
- the image to act as a template- Returns:
- the generated header
-
generateRows
public List<Object>[] generateRows(BufferedImageContainer img)
Performs the actual feature generation.- Specified by:
generateRows
in classAbstractImageFeatureGenerator<BufferedImageContainer>
- Parameters:
img
- the image to process- Returns:
- the generated features
-
-