@Alias(value="chisq") @Reference(authors="J. Puzicha, J.M. Buhmann, Y. Rubner, C. Tomasi", title="Empirical evaluation of dissimilarity measures for color and texture", booktitle="Proc. 7th IEEE International Conference on Computer Vision", url="http://dx.doi.org/10.1109/ICCV.1999.790412") public class ChiSquaredDistanceFunction extends AbstractSpatialDoubleDistanceFunction
J. Puzicha, J.M. Buhmann, Y. Rubner, C. Tomasi
Empirical evaluation of dissimilarity measures for color and texture
Proc. 7th IEEE International Conference on Computer Vision
Modifier and Type | Class and Description |
---|---|
static class |
ChiSquaredDistanceFunction.Parameterizer
Parameterization class, using the static instance.
|
Modifier and Type | Field and Description |
---|---|
static ChiSquaredDistanceFunction |
STATIC
Static instance.
|
Constructor and Description |
---|
ChiSquaredDistanceFunction()
Deprecated.
Use static instance!
|
Modifier and Type | Method and Description |
---|---|
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) |
String |
toString() |
instantiate, minDist
dimensionality, dimensionality, dimensionality, dimensionality, distance, getDistanceFactory, getInputTypeRestriction
isMetric, isSymmetric
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
distance, getInputTypeRestriction
getDistanceFactory, isMetric, isSymmetric
public static final ChiSquaredDistanceFunction STATIC
@Deprecated public ChiSquaredDistanceFunction()
public double doubleDistance(NumberVector<?> v1, NumberVector<?> v2)
PrimitiveDoubleDistanceFunction
v1
- first Objectv2
- second Objectpublic double doubleMinDist(SpatialComparable mbr1, SpatialComparable mbr2)
SpatialPrimitiveDoubleDistanceFunction
mbr1
- the first MBR objectmbr2
- the second MBR object