ball op• 数据种类:无 → table(仅由参数决定的算子 —— 不接受图像或数据输入)
• 调用: import fullseye as fs; fs.ledger.time_stretch_from_gravity(g_fit: 'float', g_ref: 'float' = 9.81) -> 'dict'(要直接调用实现,import ballistics; ballistics.time_stretch_from_gravity(g_fit: 'float', g_ref: 'float' = 9.81) -> 'dict';从台账取用则 opsdrive.get("time_stretch_from_gravity"))
• GPU:无(仅 CPU 参考实现)
由拟合得到的重力加速度闭式反算影像的时间拉伸倍率。把时间轴拉伸 k 倍(慢动作或改写帧率)的影像里,轨迹形状不变而 g 看起来是 g/k²,于是 k = √(g_ref / g_fit)。返回 {"k", "g_fit", "g_ref", "log_k"}(log_k = ln k 在未篡改时为 0,符号表示变快/变慢;交给 imgforensics.evidence_quantile 时用 |log_k| 作为"越大越强"的证据)。g_fit ≤ 0、非有限值、g_ref ≤ 0 会引发 ValueError(重力向上或不存在的轨迹无法定义倍率)。
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• poc_video_physics_consistency — py -3.11 examples/poc_video_physics_consistency.py
table 作为输入)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
ball)ball_params · impact_params · flight_vacuum · flight_ode · flight_simulate · flight_state_at · magnus_lift_coefficient · drag_coefficient_sphere
*Provenance: ballistics.py — DRIVE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.