ttc_from_scale — DRIVE ttc op

• 資料種類:無 → scalar(僅由參數決定的運算子 —— 不接受影像或資料輸入)

• 呼叫: import fullseye as fs; fs.ledger.ttc_from_scale(w0: 'float', w1: 'float', dt: 'float') -> 'float'(要直接呼叫實作,import drivettc; drivettc.ttc_from_scale(w0: 'float', w1: 'float', dt: 'float') -> 'float';從台帳取用則 opsdrive.get("ttc_from_scale"))

用法

> 該運算子的說明尚無譯文,以下照原文給出。

見かけの大きさの変化から τ(秒、最初のコマの時刻で): `τ₀ = Δt · w₁ / (w₁ − w₀)`。

像の幅は奥行きに反比例(`w ∝ 1/Z)なので w₀/w₁ = Z₁/Z₀ → τ₀ = Z₀ Δt / (Z₀ − Z₁) = Δt / (1 − w₀/w₁)`。

Lee の `θ/θ̇ を前進差分にした Δt · w₀ / (w₁ − w₀)` は 2 コマ目の τ で、ちょうど Δt 小さい。

大きくならなければ(`w₁ ≤ w₀)inf。幅は正でなければ ValueError`。

參考(範例資料・文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者・年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• poc_ttc_rss — py -3.11 examples/poc_ttc_rss.py

型別可銜接的下一個運算子(可接受 scalar 作為輸入)

spin_from_marker_sequence · road_eval · long_simulate · stopping_distance_grade · stop_line_plan · hill_hold_brake_min · hill_start_rollback · hill_start_command

同類別(ttc)

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


*Provenance: drivettc.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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