threshold opimage2d → tableimport fullseye as fs; fs.ledger.threshold_triangle(image, *, nbins: 'int' = 256) -> 'Dict[str, object]' (実装を直接呼ぶなら import seggraph; seggraph.threshold_triangle(image, *, nbins: 'int' = 256) -> 'Dict[str, object]'、台帳から引くなら opssegmentation.get("threshold_triangle"))三角法(Zack–Rogers–Latt 1977): 山頂 (b_p, h_p) と、裾の長い側の端のビン (b_e, 0) を結ぶ線から、間のビンの
(b, h_b) までの符号つき垂直距離が最大のビンを閾値にする(線の下側を正)。返す: threshold(そのビンの中心)、
mask = image > threshold、bin、distance(各ビンの距離、範囲外は nan)。端点の高さ 0・裾の側の選び方は
skimage / ImageJ と同じ規約(原典は要確認)。
py -3.11 examples/poc_graph_hierarchy_segmentation.pytable を入力に取れる)class_ndim_norm · fisher_lda_score
threshold)threshold_isodata · threshold_kittler · threshold_kapur
Provenance: seggraph.py — SEGMENTATION operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.