fullseye

ttc_from_flow — DRIVE ttc op

使い方

光学流から τ(秒): {"tau_map", "tau", "n", "foe"}。

:func:sceneflow.time_to_contact(画素ごと、コマ単位、FoE からの半径² / 半径方向の流れ)を秒に直す。 2 コマの差分の流れが返すのは 2 コマ目の時刻の τ(Z₁ / (Z₀ − Z₁) コマ)なので、at_first_frame=True (既定)は 1 コマ足して最初のコマの τ にする(等速なら厳密、:func:ttc_truth と同じ時刻)。 foe を省くと流れから推定する(:func:sceneflow.focus_of_expansion)。真の FoE は :func:foe_from_motion。 tau は mask(省略時は全画素)の中で有限・正の τ の中央値(無ければ inf)、n はその画素数。

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(table を入力に取れる)

course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same

同カテゴリ(ttc)

relative_motion · foe_from_motion · flow_from_depth_motion · ttc_truth · ttc_from_scale · ttc_from_range · label_extent · foe_from_flow


Provenance: drivettc.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

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