graph op• 資料種類:image2d → table
• 呼叫: import fullseye as fs; fs.ledger.hierarchical_watershed(image, *, threshold: 'float' = 0.0, n_regions: 'Optional[int]' = None, mask=None, connectivity: 'int' = 4) -> 'Dict[str, object]'(要直接呼叫實作,import seggraph; seggraph.hierarchical_watershed(image, *, threshold: 'float' = 0.0, n_regions: 'Optional[int]' = None, mask=None, connectivity: 'int' = 4) -> 'Dict[str, object]';從台帳取用則 opssegmentation.get("hierarchical_watershed"))
基於 dynamics 的階層分水嶺:為地形 image(低處為盆地)的最小生成森林的邊賦予 dynamics 顯著度,回傳由顯著度 ≤ threshold 的邊連接的成分(給定 n_regions 時,使用得到該區域數的最小閾值)(hierarchical_watershed)。
給出 mask 時只在其內部進行(外部為 0)。回傳: labels(1..k)、n_regions、basins(閾值 0 的分割 = 分水嶺的盆地)、n_basins、dynamics(每個盆地,各連通元件中最深的盆地為 inf)、levels(盆地消失的高度的升冪)、threshold(實際使用的值)。盆地數 = dynamics > 閾值 的盆地數(本函式計數並回傳的 n_expected)。
• 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 · area_opening_attr · quasi_flat_zones · alpha_tree · ultrametric_contour_map
*Provenance: seggraph.py — SEGMENTATION 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.