graph opimage2d → tableimport 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 を消し、各画素を「属性 ≥ 閾値の最も近い祖先」の値にする。
attribute = "area"(画素数、skimage の area_opening と同じ「面積が閾値未満の明るい構造を消す」)か "diameter"
(外接矩形の長い辺、skimage の diameter_opening)。どちらも 2 値の集合の 増加する属性なので、結果は代数的開放 =
冪等・反拡大・増加。成分の中の最大値に依る「高さ」は集合の属性でなく(h-maxima と同じく)冪等にならないので載せない
(実測で 2 回目に値が変わった)。
返す: image(開放の結果)、n_nodes_kept / n_nodes、removed(値が下がった画素の数)。
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 · quasi_flat_zones · alpha_tree · hierarchical_watershed · 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.