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

Class StructuredEdgeDetection


  • public class StructuredEdgeDetection extends Algorithm
    CITE: Dollar2013 のエッジ検出アルゴリズムを実装したクラス :
    • フィールドの要約

    • コンストラクタの要約

      コンストラクタ
      Modifier Constructor Description
      protected StructuredEdgeDetection​(long addr)  
    • メソッドの要約

      すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド
      Modifier and Type Method Description
      static StructuredEdgeDetection __fromPtr__​(long addr)  
      void computeOrientation​(Mat src, Mat dst)
      The function computes orientation from edge image.
      void detectEdges​(Mat src, Mat dst)
      The function detects edges in src and draw them to dst.
      void edgesNms​(Mat edge_image, Mat orientation_image, Mat dst)
      The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
      void edgesNms​(Mat edge_image, Mat orientation_image, Mat dst, int r)
      The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
      void edgesNms​(Mat edge_image, Mat orientation_image, Mat dst, int r, int s)
      The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
      void edgesNms​(Mat edge_image, Mat orientation_image, Mat dst, int r, int s, float m)
      The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
      void edgesNms​(Mat edge_image, Mat orientation_image, Mat dst, int r, int s, float m, boolean isParallel)
      The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
      • クラス java.lang.Object から継承したメソッド

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • コンストラクタの詳細

      • StructuredEdgeDetection

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

      • detectEdges

        public void detectEdges​(Mat src,
                                Mat dst)
        The function detects edges in src and draw them to dst. The algorithm underlies this function is much more robust to texture presence, than common approaches, e.g. Sobel
        引数:
        src - エッジを検出する入力画像(RGB、float、[0;1] の範囲)
        dst - エッジが描画される出力画像(グレースケール、float、[0;1] の範囲)SEE: Sobel, Canny
      • computeOrientation

        public void computeOrientation​(Mat src,
                                       Mat dst)
        The function computes orientation from edge image.
        引数:
        src - エッジ画像。
        dst - 方向画像。
      • edgesNms

        public void edgesNms​(Mat edge_image,
                             Mat orientation_image,
                             Mat dst,
                             int r,
                             int s,
                             float m,
                             boolean isParallel)
        The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
        引数:
        edge_image - detectEdges関数で得られたエッジ画像。
        orientation_image - computeOrientation関数で得られた方向画像。
        dst - 抑制処理後の画像(グレースケール、float、[0;1]の範囲)
        r - NMS抑制に用いる半径。
        s - 境界抑制に用いる半径。
        m - 保守的な抑制に用いる乗数。
        isParallel - 並列計算の有効/無効を切り替える。
      • edgesNms

        public void edgesNms​(Mat edge_image,
                             Mat orientation_image,
                             Mat dst,
                             int r,
                             int s,
                             float m)
        The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
        引数:
        edge_image - detectEdges関数で得られたエッジ画像。
        orientation_image - computeOrientation関数で得られた方向画像。
        dst - 抑制処理後の画像(グレースケール、float、[0;1]の範囲)
        r - NMS抑制に用いる半径。
        s - 境界抑制に用いる半径。
        m - 保守的な抑制に用いる乗数。
      • edgesNms

        public void edgesNms​(Mat edge_image,
                             Mat orientation_image,
                             Mat dst,
                             int r,
                             int s)
        The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
        引数:
        edge_image - detectEdges関数で得られたエッジ画像。
        orientation_image - computeOrientation関数で得られた方向画像。
        dst - 抑制処理後の画像(グレースケール、float、[0;1]の範囲)
        r - NMS抑制に用いる半径。
        s - 境界抑制に用いる半径。
      • edgesNms

        public void edgesNms​(Mat edge_image,
                             Mat orientation_image,
                             Mat dst,
                             int r)
        The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
        引数:
        edge_image - detectEdges関数で得られたエッジ画像。
        orientation_image - computeOrientation関数で得られた方向画像。
        dst - 抑制処理後の画像(グレースケール、float、[0;1]の範囲)
        r - NMS抑制に用いる半径。
      • edgesNms

        public void edgesNms​(Mat edge_image,
                             Mat orientation_image,
                             Mat dst)
        The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.
        引数:
        edge_image - detectEdges関数で得られたエッジ画像。
        orientation_image - computeOrientation関数で得られた方向画像。
        dst - 抑制処理後の画像(グレースケール、float、[0;1]の範囲)