@Reference(authors="M. J. Swain, D. H. Ballard", title="Color Indexing", booktitle="International Journal of Computer Vision, 7(1), 32, 1991", url="https://doi.org/10.1007/BF00130487", bibkey="DBLP:journals/ijcv/SwainB91") public class HistogramIntersectionDistanceFunction extends AbstractNumberVectorDistanceFunction implements SpatialPrimitiveDistanceFunction<NumberVector>
Distance function for color histograms that emphasizes 'strong' bins.
Reference:
M. J. Swain, D. H. Ballard
Color indexing
International Journal of Computer Vision, 7(1), 32, 1991
Modifier and Type | Class and Description |
---|---|
static class |
HistogramIntersectionDistanceFunction.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
static HistogramIntersectionDistanceFunction |
STATIC
Static instance
|
Constructor and Description |
---|
HistogramIntersectionDistanceFunction()
Deprecated.
Use static instance
|
Modifier and Type | Method and Description |
---|---|
double |
distance(NumberVector v1,
NumberVector v2)
Computes the distance between two given DatabaseObjects according to this
distance function.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
double |
minDist(SpatialComparable mbr1,
SpatialComparable mbr2)
Computes the distance between the two given MBRs according to this distance
function.
|
java.lang.String |
toString() |
dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, dimensionality, getInputTypeRestriction
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
instantiate
getInputTypeRestriction
isMetric, isSquared, isSymmetric
public static final HistogramIntersectionDistanceFunction STATIC
@Deprecated public HistogramIntersectionDistanceFunction()
public double distance(NumberVector v1, NumberVector v2)
PrimitiveDistanceFunction
distance
in interface NumberVectorDistanceFunction<NumberVector>
distance
in interface PrimitiveDistanceFunction<NumberVector>
v1
- first DatabaseObjectv2
- second DatabaseObjectpublic double minDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDistanceFunction
minDist
in interface SpatialPrimitiveDistanceFunction<NumberVector>
mbr1
- the first MBR objectmbr2
- the second MBR objectpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2019 ELKI Development Team. License information.