openCV doc
高速輪郭抽出
Gallery
what process?
輪郭抽出する有名なアルゴリズムとしてSobalやCannyなどがあります。 ここで使われているものは、ひとが手動で抽出した輪郭・物体の境界線に近い線が抽出されます。 ※ 輪郭抽出の精度評価に使われるデータセットとして、Berkeley Segmentation Dataset (BSDS500) Benchmark が使われています。 https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/resources.html ** model.yml は下記のリンクからダウンロードして実行時に読み込んでください。 https://github.com/opencv/opencv_extra/blob/master/testdata/cv/ximgproc/model.yml.gzcook code C++
cook code Python
Reference
- https://docs.opencv.org/4.3.0/d0/da5/tutorial_ximgproc_prediction.html
- https://stackoverflow.com/questions/33317152/model-file-for-opencvs-structured-edge-detector
- Thesis : Piotr Dollár and C Lawrence Zitnick. Structured forests for fast edge detection. In Computer Vision (ICCV), 2013 IEEE International Conference on, pages 1841–1848. IEEE, 2013.
- アキラ100%の城本クリニック∞