fullseye

contact_patch_radius — DRIVE tacdome op

使い方

接触の像(:func:dome_contact_image の型)から接触半径を読む。被覆率の線形和(面積法)で縁の副画素まで使う。

1) しきい値 (1 % 点 + 99.9 % 点)/2 で粗い円盤 → 重心と半径 r_t。2) 内側 r < r_t − ring_px の中央値を fg、外の輪 r_t + ring_px 〜 r_t + 2·ring_px の中央値を bg。3) 被覆率 (I − bg)/(fg − bg) を r < r_t + ring_px で切らずに足す (切ると雑音が片側に偏る)→ a = pitch·√(Σ/π)、重心は被覆率の重み。返り: a・a_px・a_threshold(しきい値の画素数の円)・ centre(行, 列)・fg・bg・edge_points(しきい値の円盤の境界画素 (行, 列)、measure.fit_circle に渡せる)。 Raises ValueError: 2 次元でない、明るい円盤が無い(コントラスト 0)、円盤が小さすぎる(r_t < 3 px)か窓の縁に触れる。

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

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

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

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

同カテゴリ(tacdome)

powerlaw_linear_contact · largedef_correction · largedef_radius_ratio · largedef_universal_correction · large_deformation_contact · large_deformation_inverse · mdr_spring_bed · neohookean_cylinder_exact


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

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