threshold op• 数据种类:image2d → table
• 调用: import 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,直到划分不再变化(初值 = 平均值)(threshold_isodata)。
分割一旦不再变化,即使重新计算 μ,t 也不动 = 不动点 t = (μ_low + μ_high)/2 严格成立(residual = 0)。直方图上的不动点(与 skimage 相同的"在 bin 中心 c 处 0 ≤ (μ_≤c + μ_>c)/2 − c < bin 宽")也通过 fixed_points 返回。
返回: threshold、mask = image > t、mu_low / mu_high、residual、n_iter、fixed_points。
• graph_hierarchy_and_thresholds — 用图、层次与阈值定理做分割 —— 什么是严格的,分割在哪里失效
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• poc_graph_hierarchy_segmentation — py -3.11 examples/poc_graph_hierarchy_segmentation.py
table 作为输入)threshold)threshold_triangle · threshold_kittler · threshold_kapur
*Provenance: seggraph.py — SEGMENTATION 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.