🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ximgproc
Class StructuredEdgeDetection
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.ximgproc.StructuredEdgeDetection
public class StructuredEdgeDetection extends Algorithm
CITE: Dollar2013 のエッジ検出アルゴリズムを実装したクラス :
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedStructuredEdgeDetection​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static StructuredEdgeDetection__fromPtr__​(long addr)voidcomputeOrientation​(Mat src, Mat dst)The function computes orientation from edge image.voiddetectEdges​(Mat src, Mat dst)The function detects edges in src and draw them to dst.voidedgesNms​(Mat edge_image, Mat orientation_image, Mat dst)The function edgenms in edge image and suppress edges where edge is stronger in orthogonal direction.voidedgesNms​(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.voidedgesNms​(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.voidedgesNms​(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.voidedgesNms​(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.-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, empty, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static StructuredEdgeDetection __fromPtr__​(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]の範囲)
-
-