graph op• 資料種類:image2d → table
• 呼叫: import fullseye as fs; fs.ledger.area_opening_attr(image, threshold: 'float' = 16.0, *, attribute: 'str' = 'area', connectivity: 'int' = 4) -> 'Dict[str, object]'(要直接呼叫實作,import seggraph; seggraph.area_opening_attr(image, threshold: 'float' = 16.0, *, attribute: 'str' = 'area', connectivity: 'int' = 4) -> 'Dict[str, object]';從台帳取用則 opssegmentation.get("area_opening_attr"))
屬性斷開(Salembier 等 1998):刪除成分樹中屬性 < threshold 的節點,並使每個像素取「屬性 ≥ 閾值的最近祖先」的值(area_opening_attr)。
attribute = "area"(像素數,與 skimage 的 area_opening 相同的「消除面積小於閾值的明亮結構」)或 "diameter" (外接矩形的長邊,skimage 的 diameter_opening)。兩者都是 2 值集合的 遞增屬性,所以結果是代數斷開 = 冪等、反擴張、遞增。依賴成分中最大值的「高度」不是集合的屬性(與 h-maxima 一樣)不具冪等性,因此不收錄(實測第 2 次時值發生了變化)。
回傳: image(斷開的結果)、n_nodes_kept / n_nodes、removed(值下降的像素數)。
• graph_hierarchy_and_thresholds — 用圖、階層與閾值定理做分割 —— 什麼是嚴格的,分割在哪裡失效
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_graph_hierarchy_segmentation — py -3.11 examples/poc_graph_hierarchy_segmentation.py
table 作為輸入)graph)graph_cut_binary · alpha_expansion · statistical_region_merging · max_tree · quasi_flat_zones · alpha_tree · hierarchical_watershed · ultrametric_contour_map
*Provenance: seggraph.py — SEGMENTATION 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.