Class HSBHistogramQuadraticDistance

    • Constructor Detail

      • HSBHistogramQuadraticDistance

        public HSBHistogramQuadraticDistance​(int quanth,
                                             int quants,
                                             int quantb)
        Constructor.
        Parameters:
        quanth - Hue bins
        quants - Saturation bins
        quantb - Brightness bins
    • Method Detail

      • computeWeightMatrix

        public static double[][] computeWeightMatrix​(int quanth,
                                                     int quants,
                                                     int quantb)
        Compute the weight matrix for HSB similarity.
        Parameters:
        quanth - H bins
        quants - S bins
        quantb - B bins
        Returns:
        Weight matrix