cv4_find_contours

輪郭の検出

cv4_find_contours cid, src_id, mode, method

cid : contour set のハンドル ID
src_id : 2 値画像 (1ch)
mode : CV4_RETR_EXTERNAL / LIST / CCOMP / TREE
method : CV4_CHAIN_APPROX_NONE / SIMPLE / TC89_L1 / TC89_KCOS

(プラグイン / モジュール : hspcv4)

解説

cv::findContours で輪郭集合を検出し、cid に格納します。
検出後は cv4_contours_count と各種アクセッサで個々の輪郭を
参照できます。

関連項目

cv4_contours_count,cv4_draw_contours,cv4_bounding_rect

情報

プラグイン / モジュールhspcv4
バージョン0.1
作成日2026/04/12
著作者HNWorks / IronHSP
URLhttps://github.com/
備考hspcv4.as をインクルードすること。
OpenCV 4.12.0 を静的リンクした 32bit / 64bit DLL です。
タイプ拡張命令
グループhspcv4 輪郭解析
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\hspcv4.hs