Class RGBHistogramQuadraticDistance

  • All Implemented Interfaces:
    Distance<NumberVector>, Norm<NumberVector>, NumberVectorDistance<NumberVector>, PrimitiveDistance<NumberVector>

    @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 17(7)",
               url="https://doi.org/10.1109/34.391417",
               bibkey="DBLP:journals/pami/HafnerSEFN95")
    public class RGBHistogramQuadraticDistance
    extends MatrixWeightedQuadraticDistance
    Distance function for RGB color histograms based on a quadratic form and color similarity.

    Reference:

    J. Hafner, H. S. Sawhney, W. Equits, M. Flickner, W. Niblack
    Efficient Color Histogram Indexing for Quadratic Form Distance Functions
    IEEE Trans. on Pattern Analysis and Machine Intelligence 17(7)

    Since:
    0.3
    Author:
    Erich Schubert
    • Constructor Detail

      • RGBHistogramQuadraticDistance

        public RGBHistogramQuadraticDistance​(int bpp)
        Constructor.
        Parameters:
        bpp - bins per plane.
    • Method Detail

      • computeWeightMatrix

        public static double[][] computeWeightMatrix​(int bpp)
        Compute weight matrix for a RGB color histogram
        Parameters:
        bpp - bins per plane
        Returns:
        Weight matrix