threshold op• データ種: image2d → table
• 呼び出し: import fullseye as fs; fs.ledger.threshold_kapur(image, *, nbins: 'int' = 256) -> 'Dict[str, object]' (実装を直接呼ぶなら import seggraph; seggraph.threshold_kapur(image, *, nbins: 'int' = 256) -> 'Dict[str, object]'、台帳から引くなら opssegmentation.get("threshold_kapur"))
最大エントロピー閾値(Kapur–Sahoo–Wong 1985): H(t) = −Σ_(i ≤ t) (p_i/P1) ln(p_i/P1) − Σ_(i > t) (p_i/P2) ln(p_i/P2)
を最大にするビン t(両側とも確率が正のビンだけ)。返す: `threshold = そのビンの上端、mask`(ビンの番号 > t)、
`bin、entropy`(H、除いたビンは nan)。
• halcon_segmentation ファミリ ガイド
• graph_hierarchy_and_thresholds — グラフ・階層・閾値の定理でつくる分割 — 何が厳密で、どこで割れ方が倒れるか
• サンプルデータ カタログ(DL URL / ライセンス) — 2-D は skimage.data(BSD/public)+ 合成、3-D は実データ源(Stanford/PDS 等)の DL URL。
• 演算子の来歴・参考文献 — この op 族の元になった研究/手法の出典。
• アルゴリズムの正典(著者・年)と用途は上記ファミリ使い方ガイドに記載。
• poc_graph_hierarchy_segmentation — py -3.11 examples/poc_graph_hierarchy_segmentation.py
table を入力に取れる)threshold)threshold_triangle · threshold_isodata · threshold_kittler
*Provenance: seggraph.py — SEGMENTATION operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.