🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。

クラス ImgHashBase

    • コンストラクタの詳細

      • ImgHashBase

        protected ImgHashBase​(long addr)
    • メソッドの詳細

      • __fromPtr__

        public static ImgHashBase __fromPtr__​(long addr)
      • compute

        public void compute​(Mat inputArr,
                            Mat outputArr)
        Computes hash of the input image
        引数:
        inputArr - ハッシュ値を計算したい入力画像
        outputArr - 画像のハッシュ
      • compare

        public double compare​(Mat hashOne,
                              Mat hashTwo)
        Compare the hash value between inOne and inTwo
        引数:
        hashOne - ハッシュ値その1
        hashTwo - ハッシュ値その2
        戻り値:
        inOneとinTwoの類似度を示す値。値の意味はアルゴリズムによって異なる