carla opimage2d × image2d × matrix → tableimport fullseye as fs; fs.ledger.lead_from_depth(depth, label, K, cam_height: 'float', *, pitch: 'float' = 0.0, band: 'float' = 0.5, car_label: 'int' = 2) -> 'dict' (実装を直接呼ぶなら import carlabridge; carlabridge.lead_from_depth(depth, label, K, cam_height: 'float', *, pitch: 'float' = 0.0, band: 'float' = 0.5, car_label: 'int' = 2) -> 'dict'、台帳から引くなら opsdrive.get("lead_from_depth"))ルールベースの先行車の距離(両方の世界に同じ式):
depth_median = 画像の中央の帯(幅 band × W)にある車の画素の深度の中央値(後ろ面は像面に平行なので一定)、
row_distance = 車の最下行から平らな路面の式(driveenv.road_row_distance)で出した水平距離、
bbox = (top, bottom, left, right)、n_pixels、found。車の画素が無ければ found = False(距離は inf)。
py -3.11 examples/gallery_drive_carla_bridge.pytable を入力に取れる)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
carla)carla_labels · carla_label_map · carla_label_unmap · carla_depth_decode · carla_depth_encode · carla_intrinsics · intrinsics_to_fullseye · intrinsics_to_carla
Provenance: carlabridge.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.