threshold op• 数据种类:image2d → table
• 调用: import 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 的约定相同(原文待确认)(threshold_triangle)。
• 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_isodata · threshold_kittler · threshold_kapur
*Provenance: seggraph.py — SEGMENTATION 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.