sphere_probing_error — ACCEPTANCE evaluate op

• 数据种类:points → table

• 调用: import fullseye as fs; fs.ledger.sphere_probing_error(points, calibrated_diameter, exclude_fraction=0.003)(要直接调用实现,import acceptance3d; acceptance3d.sphere_probing_error(points, calibrated_diameter, exclude_fraction=0.003);从台账取用则 opsacceptance.get("sphere_probing_error"))

• GPU:无(仅 CPU 参考实现)

用法

由球的点云计算探测误差的形状 PF 与尺寸 PS(table)。

> 以下的详细说明为原文 —— 摘要与标题已翻译。

Probing error of form (PF) and of size (PS) from the point cloud of one calibrated sphere.

ガウスの最小二乗で半径自由の球を当て(代数解を初期値に Gauss-Newton)、半径方向の偏差が最大の点を floor(exclude_fraction · N) 個まで除いて当て直す。pf = R_max − R_min(除外後の点の、当てた中心からの距離の範囲)、ps = 2R − calibrated_diameter(符号つき: 大きく測れば正)。A free-radius least-squares sphere is fitted, at most floor(exclude_fraction*N) points with the largest radial deviation are dropped and the sphere refitted; pf is the range of radial distances, ps the signed diameter error. Definitions as described in Carfagni et al. 2019 (doi:10.3390/s19030489) for VDI/VDE 2634 Part 2 — the normative text is not reproduced; this is not a conformance claim.

返す dict: pf、ps、diameter、radius、center (3,)、residual_rms、n_points、n_used、n_excluded、exclude_fraction、calibrated_diameter。単位は入力の点の単位のまま。

限界: 球冠しか見えない点群(片側から撮った球)では半径と中心が相関し、PS は雑音に敏感になる(見えている角度が小さいほど)。residual_rms が雑音の目安。

Raises ValueError: 点が (N, 3) でない・10 点未満・非有限、同一平面上(球が定まらない)、calibrated_diameter が正でない、exclude_fraction が [0, 0.05] の外。

详细使用指南

• optical_3d_acceptance 族使用指南

参考(示例数据、文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

• 算法的正典(作者、年份)与用途见上面的族使用指南。

可运行的示例(实际调用该算子并已验证的样例)

• (暂无)

类型可衔接的下一个算子(可接受 table 作为输入)

acceptance_verdict · acceptance_scan · virtual_acceptance_test · acceptance_error_budget

同类别(evaluate)

sphere_spacing_error · plane_flatness_error · acceptance_verdict


*Provenance: acceptance3d.py — ACCEPTANCE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.