ttc_from_scale — DRIVE ttc op

• Data kinds: none → scalar (an op determined by its arguments alone — it takes no image or data input)

• Call: import fullseye as fs; fs.ledger.ttc_from_scale(w0: 'float', w1: 'float', dt: 'float') -> 'float' (to call the implementation directly, import drivettc; drivettc.ttc_from_scale(w0: 'float', w1: 'float', dt: 'float') -> 'float'; from the registry, opsdrive.get("ttc_from_scale"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

見かけの大きさの変化から τ(秒、最初のコマの時刻で): `τ₀ = Δ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`。

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• poc_ttc_rss — py -3.11 examples/poc_ttc_rss.py

Ops the type connects to (they accept scalar as input)

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

Same category (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 operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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