de.lmu.ifi.dbs.elki.distance.distancefunction.colorhistogram
Class RGBHistogramQuadraticDistanceFunction
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.WeightedDistanceFunction
de.lmu.ifi.dbs.elki.distance.distancefunction.colorhistogram.RGBHistogramQuadraticDistanceFunction
- All Implemented Interfaces:
- DistanceFunction<NumberVector<?,?>,DoubleDistance>, PrimitiveDistanceFunction<NumberVector<?,?>,DoubleDistance>, PrimitiveDoubleDistanceFunction<NumberVector<?,?>>, InspectionUtilFrequentlyScanned, Parameterizable
@Reference(authors="J. Hafner, H. S.Sawhney, W. Equits, M. Flickner, W. Niblack",
title="Efficient Color Histogram Indexing for Quadratic Form Distance Functions",
booktitle="IEEE Trans. on Pattern Analysis and Machine Intelligence, Vol. 17, No. 7, July 1995",
url="http://dx.doi.org/10.1109/34.391417")
public class RGBHistogramQuadraticDistanceFunction
- extends WeightedDistanceFunction
Distance function for RGB color histograms based on a quadratic form and
color similarity.
This is (unverified) attributed to
James Hafner, Harpreet S.Sawhney, Will Equits, Myron Flickner and Wayne
Niblack
Efficient Color Histogram Indexing for Quadratic Form Distance Functions
IEEE Trans. on Pattern Analysis and Machine Intelligence, Vol. 17, No. 7,
July 1995
Field Summary |
static OptionID |
BPP_ID
Parameter for the kernel dimensionality. |
BPP_ID
public static final OptionID BPP_ID
- Parameter for the kernel dimensionality.
RGBHistogramQuadraticDistanceFunction
public RGBHistogramQuadraticDistanceFunction(int bpp)
- Constructor.
- Parameters:
bpp
- bins per plane.
computeWeightMatrix
public static Matrix computeWeightMatrix(int bpp)
- Compute weight matrix for a RGB color histogram
- Parameters:
bpp
- bins per plane
- Returns:
- Weight matrix
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object