|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance> de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractVectorDoubleDistanceFunction de.lmu.ifi.dbs.elki.distance.distancefunction.colorhistogram.HistogramIntersectionDistanceFunction
@Title(value="Color histogram intersection distance") @Description(value="Distance function for color histograms that emphasizes \'strong\' bins.") @Reference(authors="M. J. Swain, D. H. Ballard", title="Color Indexing", booktitle="International Journal of Computer Vision, 7(1), 32, 1991") public class HistogramIntersectionDistanceFunction
Intersection distance for color histograms.
According to: M. J. Swain, D. H. Ballard:
Color indexing
International Journal of Computer Vision, 7(1), 32, 1991
Nested Class Summary | |
---|---|
static class |
HistogramIntersectionDistanceFunction.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
static HistogramIntersectionDistanceFunction |
STATIC
Static instance |
Constructor Summary | |
---|---|
HistogramIntersectionDistanceFunction()
Deprecated. Use static instance |
Method Summary | ||
---|---|---|
DoubleDistance |
centerDistance(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the centroids of the two given MBRs according to this distance function. |
|
double |
doubleCenterDistance(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the centroids of the two given MBRs according to this distance function. |
|
double |
doubleDistance(NumberVector<?,?> v1,
NumberVector<?,?> v2)
Computes the distance between two given Objects according to this distance function. |
|
double |
doubleMinDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance function. |
|
boolean |
equals(Object obj)
|
|
|
instantiate(Relation<T> relation)
Instantiate with a database to get the actual distance query. |
|
DoubleDistance |
minDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance function. |
|
String |
toString()
|
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractVectorDoubleDistanceFunction |
---|
distance, getDistanceFactory, getInputTypeRestriction |
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractPrimitiveDistanceFunction |
---|
isMetric, isSymmetric |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.PrimitiveDistanceFunction |
---|
distance, getInputTypeRestriction |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction |
---|
getDistanceFactory, isMetric, isSymmetric |
Field Detail |
---|
public static final HistogramIntersectionDistanceFunction STATIC
Constructor Detail |
---|
@Deprecated public HistogramIntersectionDistanceFunction()
Method Detail |
---|
public DoubleDistance minDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDistanceFunction
minDist
in interface SpatialPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
mbr1
- the first MBR objectmbr2
- the second MBR object
public DoubleDistance centerDistance(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDistanceFunction
centerDistance
in interface SpatialPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
mbr1
- the first MBR objectmbr2
- the second MBR object
public double doubleDistance(NumberVector<?,?> v1, NumberVector<?,?> v2)
PrimitiveDoubleDistanceFunction
doubleDistance
in interface PrimitiveDoubleDistanceFunction<NumberVector<?,?>>
v1
- first Objectv2
- second Object
public double doubleMinDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDoubleDistanceFunction
doubleMinDist
in interface SpatialPrimitiveDoubleDistanceFunction<NumberVector<?,?>>
mbr1
- the first MBR objectmbr2
- the second MBR object
public double doubleCenterDistance(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDoubleDistanceFunction
doubleCenterDistance
in interface SpatialPrimitiveDoubleDistanceFunction<NumberVector<?,?>>
mbr1
- the first MBR objectmbr2
- the second MBR object
public <T extends NumberVector<?,?>> SpatialDistanceQuery<T,DoubleDistance> instantiate(Relation<T> relation)
AbstractPrimitiveDistanceFunction
instantiate
in interface DistanceFunction<NumberVector<?,?>,DoubleDistance>
instantiate
in interface SpatialPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
instantiate
in class AbstractPrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>
relation
- Representation
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |