OpenCV KAKUUCHI
高速輪郭抽出
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.gz
cook code C++
cook code Python
Reference
- OpenCVdoc - Structured forests for fast edge detection
- stackoverflow - Model file for OpenCV's 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%の城本クリニック∞" target="_blank"> アキラ100%の城本クリニック∞