graph opimage2d → tableimport 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 の saliency を付け、
saliency ≤ threshold の辺で結んだ成分を返す(n_regions を与えたら、その数になる最小の閾値を使う)。
mask を与えるとその中だけで(外は 0)。返す: labels(1..k)、n_regions、basins(閾値 0 の分割 = 分水嶺の
盆地)、n_basins、dynamics(盆地ごと、各連結成分で最も深い盆地は inf)、levels(盆地が消える高さの昇順)、
threshold(実際に使った値)。盆地の数 = dynamics > 閾値 の盆地の数(この関数が数えて返す n_expected)。
py -3.11 examples/poc_graph_hierarchy_segmentation.pytable を入力に取れる)class_ndim_norm · fisher_lda_score
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 operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.