threshold opimage2d → tableimport fullseye as fs; fs.ledger.threshold_isodata(image, *, nbins: 'int' = 256, max_iter: 'int' = 1000) -> 'Dict[str, object]' (実装を直接呼ぶなら import seggraph; seggraph.threshold_isodata(image, *, nbins: 'int' = 256, max_iter: 'int' = 1000) -> 'Dict[str, object]'、台帳から引くなら opssegmentation.get("threshold_isodata"))isodata(Ridler–Calvard 1978): t ← (μ_≤t + μ_>t)/2 を 画素の値の上で 分割が変わらなくなるまで反復(初期値 = 平均)。
分割が止まれば t は μ を計算し直しても動かない = 不動点 t = (μ_low + μ_high)/2 が厳密に成り立つ(residual = 0)。
ヒストグラムの上の不動点(skimage と同じ「ビンの中心 c で 0 ≤ (μ_≤c + μ_>c)/2 − c < ビン幅」)も fixed_points で返す。
返す: threshold、mask = image > t、mu_low / mu_high、residual、n_iter、fixed_points。
py -3.11 examples/poc_graph_hierarchy_segmentation.pytable を入力に取れる)class_ndim_norm · fisher_lda_score
threshold)threshold_triangle · 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.