net.semanticmetadata.lire.imageanalysis
Class AutoColorCorrelogram

java.lang.Object
  extended by net.semanticmetadata.lire.imageanalysis.AutoColorCorrelogram
All Implemented Interfaces:
at.lux.imageanalysis.VisualDescriptor

public class AutoColorCorrelogram
extends java.lang.Object
implements at.lux.imageanalysis.VisualDescriptor

VisualDescriptor for the AutoCorrelogram based on color as described in Huang, J.; Kumar, S. R.; Mitra, M.; Zhu, W. & Zabih, R. (2007) "Image Indexing Using Color Correlograms", IEEE Computer Society

see also DOI 10.1109/CVPR.1997.609412


Nested Class Summary
static class AutoColorCorrelogram.Mode
          Defines the available analysis modes: Superfast uses the approach described in the paper, Quarterneighbourhood investigates the pixels in down and to the right of the respective pixel and FullNeighbourhood investigates the whole lot of pixels within maximumDistance of the respective pixel.
 
Constructor Summary
AutoColorCorrelogram()
           
AutoColorCorrelogram(AutoColorCorrelogram.Mode mode)
           
AutoColorCorrelogram(int maxDistance)
          Creates a new AutoColorCorrelogram, where the distance k is limited to a maximum of maxDistance (see publication mentioned above)
AutoColorCorrelogram(int maxDistance, AutoColorCorrelogram.Mode mode)
          Creates a new AutoColorCorrelogram using a maximum L_inf pixel distance for analysis and given mode
 
Method Summary
 void extract(java.awt.image.BufferedImage bi)
           
 float getDistance(at.lux.imageanalysis.VisualDescriptor vd)
           
 java.lang.String getStringRepresentation()
           
 void setStringRepresentation(java.lang.String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoColorCorrelogram

public AutoColorCorrelogram(int maxDistance)
Creates a new AutoColorCorrelogram, where the distance k is limited to a maximum of maxDistance (see publication mentioned above)

Parameters:
maxDistance - upper limit of k

AutoColorCorrelogram

public AutoColorCorrelogram(int maxDistance,
                            AutoColorCorrelogram.Mode mode)
Creates a new AutoColorCorrelogram using a maximum L_inf pixel distance for analysis and given mode

Parameters:
maxDistance - maximum L_inf pixel distance for analysis
mode - the mode of calculation (determines the speed of extraction)

AutoColorCorrelogram

public AutoColorCorrelogram(AutoColorCorrelogram.Mode mode)

AutoColorCorrelogram

public AutoColorCorrelogram()
Method Detail

extract

public void extract(java.awt.image.BufferedImage bi)

getDistance

public float getDistance(at.lux.imageanalysis.VisualDescriptor vd)
Specified by:
getDistance in interface at.lux.imageanalysis.VisualDescriptor

getStringRepresentation

public java.lang.String getStringRepresentation()
Specified by:
getStringRepresentation in interface at.lux.imageanalysis.VisualDescriptor

setStringRepresentation

public void setStringRepresentation(java.lang.String string)
Specified by:
setStringRepresentation in interface at.lux.imageanalysis.VisualDescriptor