contour op• 資料種類:contour → contour
• 呼叫:fullseye.apply(img, "fit_line_contours", a=0.5, b=0.5)(2-D 的模型是一張圖 + 兩個純量旋鈕 a,b∈[0,1])
• HALCON 對應:fit_line_contour_xld(其含義與參數可參考 HALCON 手冊)
以一條直線近似每條 XLD 輪廓。相當於 HALCON 的 `fit_line_contour_xld`(Approximate XLD contours by line segments.)。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
`a, b` は未使用。輪郭点群の重心を通り、SVD(特異値分解)で求めた第一主成分方向を直線の向きとして採用し(全点との距離二乗和を最小化する直線)、元の点群の射影範囲に等間隔に打ち直した点列に置き換える。HALCON 版は折れ線(複数線分)に分割できるが、この実装は輪郭全体を 1 本の直線にする点が異なる。点が 2 点未満の輪郭はそのまま返す。
• gallery2d_contour_measure 族使用指南
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者・年份)與用途見上面的族使用指南。
• gallery2d_contour_measure — py -3.11 examples/gallery2d_contour_measure.py
contour 作為輸入)identity · select_contours · smooth_contours · contours_to_region · count_contours · total_length · select_contours_xld · smooth_contours_xld
contour)select_contours · smooth_contours · contours_to_region · sk_find_contours · edges_sub_pix · lines_gauss · select_contours_xld · smooth_contours_xld
*Provenance: ops.py — 2D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.