Class ImgHashBase

    • Constructor Detail

      • ImgHashBase

        protected ImgHashBase​(long addr)
    • Method Detail

      • __fromPtr__

        public static ImgHashBase __fromPtr__​(long addr)
      • compute

        public void compute​(Mat inputArr,
                            Mat outputArr)
        Computes hash of the input image
        Parameters:
        inputArr - input image want to compute hash value
        outputArr - hash of the image
      • compare

        public double compare​(Mat hashOne,
                              Mat hashTwo)
        Compare the hash value between inOne and inTwo
        Parameters:
        hashOne - Hash value one
        hashTwo - Hash value two
        Returns:
        value indicate similarity between inOne and inTwo, the meaning of the value vary from algorithms to algorithms