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

クラス Feature2D

    • コンストラクタの詳細

      • Feature2D

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

      • __fromPtr__

        public static Feature2D __fromPtr__​(long addr)
      • detect

        public void detect​(Mat image,
                           MatOfKeyPoint keypoints,
                           Mat mask)
        Detects keypoints in an image (first variant) or image set (second variant).
        引数:
        image - 画像。
        keypoints - 検出されたキーポイント。本メソッドの2番目のバリアントでは、keypoints[i] は images[i] で検出されたキーポイントの集合である。
        mask - キーポイントを探す範囲を指定するマスク(省略可能)。関心領域内で非ゼロ値を持つ8ビット整数行列でなければならない。
      • detect

        public void detect​(Mat image,
                           MatOfKeyPoint keypoints)
        Detects keypoints in an image (first variant) or image set (second variant).
        引数:
        image - 画像。
        keypoints - 検出されたキーポイント。本メソッドの2番目のバリアントでは、keypoints[i] は images[i] で検出されたキーポイントの集合である。関心領域内で非ゼロ値を持つ行列。
      • detect

        public void detect​(java.util.List<Mat> images,
                           java.util.List<MatOfKeyPoint> keypoints,
                           java.util.List<Mat> masks)
        引数:
        images - 画像の集合。
        keypoints - 検出されたキーポイント。本メソッドの2番目のバリアントでは、keypoints[i] は images[i] で検出されたキーポイントの集合である。
        masks - 各入力画像についてキーポイントを探す範囲を指定するマスク(省略可能)。masks[i] は images[i] に対するマスクである。
      • detect

        public void detect​(java.util.List<Mat> images,
                           java.util.List<MatOfKeyPoint> keypoints)
        引数:
        images - 画像の集合。
        keypoints - 検出されたキーポイント。本メソッドの2番目のバリアントでは、keypoints[i] は images[i] で検出されたキーポイントの集合である。masks[i] は images[i] に対するマスクである。
      • compute

        public void compute​(Mat image,
                            MatOfKeyPoint keypoints,
                            Mat descriptors)
        Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant).
        引数:
        image - 画像。
        keypoints - 入力されるキーポイントの集合。記述子を計算できないキーポイントは除去される。場合によっては新たなキーポイントが追加されることもある。例: SIFT は複数の主要な方向を持つキーポイントを(各方向ごとに)複製する。
        descriptors - 計算された記述子。本メソッドの2番目のバリアントでは、descriptors[i] は keypoints[i] に対して計算された記述子である。行 j(keypoints または keypoints[i] の)は j 番目のキーポイントに対する記述子である。
      • compute

        public void compute​(java.util.List<Mat> images,
                            java.util.List<MatOfKeyPoint> keypoints,
                            java.util.List<Mat> descriptors)
        引数:
        images - 画像の集合。
        keypoints - 入力されるキーポイントの集合。記述子を計算できないキーポイントは除去される。場合によっては新たなキーポイントが追加されることもある。例: SIFT は複数の主要な方向を持つキーポイントを(各方向ごとに)複製する。
        descriptors - 計算された記述子。本メソッドの2番目のバリアントでは、descriptors[i] は keypoints[i] に対して計算された記述子である。行 j(keypoints または keypoints[i] の)は j 番目のキーポイントに対する記述子である。
      • detectAndCompute

        public void detectAndCompute​(Mat image,
                                     Mat mask,
                                     MatOfKeyPoint keypoints,
                                     Mat descriptors,
                                     boolean useProvidedKeypoints)
        Detects keypoints and computes the descriptors
        引数:
        image - 自動生成
        mask - 自動生成
        keypoints - 自動生成
        descriptors - 自動生成
        useProvidedKeypoints - 自動生成
      • detectAndCompute

        public void detectAndCompute​(Mat image,
                                     Mat mask,
                                     MatOfKeyPoint keypoints,
                                     Mat descriptors)
        Detects keypoints and computes the descriptors
        引数:
        image - 自動生成
        mask - 自動生成
        keypoints - 自動生成
        descriptors - 自動生成
      • descriptorSize

        public int descriptorSize()
      • descriptorType

        public int descriptorType()
      • defaultNorm

        public int defaultNorm()
      • write

        public void write​(java.lang.String fileName)
      • read

        public void read​(java.lang.String fileName)
      • empty

        public boolean empty()
        Description copied from class: Algorithm
        Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
        オーバーライド:
        クラス Algorithm 内の empty
        戻り値:
        自動生成
      • getDefaultName

        public java.lang.String getDefaultName()
        Description copied from class: Algorithm
        Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
        オーバーライド:
        クラス Algorithm の getDefaultName
        戻り値:
        自動生成