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

Class SelectiveSearchSegmentation


  • public class SelectiveSearchSegmentation extends Algorithm
    選択的探索(Selective Search)セグメンテーションアルゴリズム。このクラスは CITE: uijlings2013selective に記載されたアルゴリズムを実装する。
    • コンストラクタの詳細

      • SelectiveSearchSegmentation

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

      • setBaseImage

        public void setBaseImage​(Mat img)
        Set a image used by switch* functions to initialize the class
        引数:
        img - 画像
      • switchToSingleStrategy

        public void switchToSingleStrategy​(int k,
                                           float sigma)
        Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.
        引数:
        k - グラフセグメンテーションの k パラメータ
        sigma - グラフセグメンテーションの sigma パラメータ
      • switchToSingleStrategy

        public void switchToSingleStrategy​(int k)
        Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.
        引数:
        k - グラフセグメンテーションの k パラメータ
      • switchToSingleStrategy

        public void switchToSingleStrategy()
        Initialize the class with the 'Single stragegy' parameters describled in CITE: uijlings2013selective.
      • switchToSelectiveSearchFast

        public void switchToSelectiveSearchFast​(int base_k,
                                                int inc_k,
                                                float sigma)
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
        引数:
        base_k - 最初のグラフセグメンテーションの k パラメータ
        inc_k - すべてのグラフセグメンテーションにおける k パラメータの増分
        sigma - グラフセグメンテーションの sigma パラメータ
      • switchToSelectiveSearchFast

        public void switchToSelectiveSearchFast​(int base_k,
                                                int inc_k)
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
        引数:
        base_k - 最初のグラフセグメンテーションの k パラメータ
        inc_k - すべてのグラフセグメンテーションにおける k パラメータの増分
      • switchToSelectiveSearchFast

        public void switchToSelectiveSearchFast​(int base_k)
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
        引数:
        base_k - 最初のグラフセグメンテーションの k パラメータ
      • switchToSelectiveSearchFast

        public void switchToSelectiveSearchFast()
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
      • switchToSelectiveSearchQuality

        public void switchToSelectiveSearchQuality​(int base_k,
                                                   int inc_k,
                                                   float sigma)
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
        引数:
        base_k - 最初のグラフセグメンテーションの k パラメータ
        inc_k - すべてのグラフセグメンテーションにおける k パラメータの増分
        sigma - グラフセグメンテーションの sigma パラメータ
      • switchToSelectiveSearchQuality

        public void switchToSelectiveSearchQuality​(int base_k,
                                                   int inc_k)
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
        引数:
        base_k - 最初のグラフセグメンテーションの k パラメータ
        inc_k - すべてのグラフセグメンテーションにおける k パラメータの増分
      • switchToSelectiveSearchQuality

        public void switchToSelectiveSearchQuality​(int base_k)
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
        引数:
        base_k - 最初のグラフセグメンテーションの k パラメータ
      • switchToSelectiveSearchQuality

        public void switchToSelectiveSearchQuality()
        Initialize the class with the 'Selective search fast' parameters describled in CITE: uijlings2013selective.
      • addImage

        public void addImage​(Mat img)
        Add a new image in the list of images to process.
        引数:
        img - 画像
      • clearImages

        public void clearImages()
        Clear the list of images to process
      • addGraphSegmentation

        public void addGraphSegmentation​(GraphSegmentation g)
        Add a new graph segmentation in the list of graph segementations to process.
        引数:
        g - グラフセグメンテーション
      • clearGraphSegmentations

        public void clearGraphSegmentations()
        Clear the list of graph segmentations to process;
      • clearStrategies

        public void clearStrategies()
        Clear the list of strategy to process;
      • process

        public void process​(MatOfRect rects)
        Based on all images, graph segmentations and stragies, computes all possible rects and return them
        引数:
        rects - 矩形のリスト。先頭のものほど後方のものより関連性が高い。