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.