contact_patch_radius — DRIVE tacdome op

• 数据种类:image2d × scalar → table

• 调用: import fullseye as fs; fs.ledger.contact_patch_radius(img, pitch: 'float', ring_px: 'float' = 4.0) -> 'dict'(要直接调用实现,import tacdome; tacdome.contact_patch_radius(img, pitch: 'float', ring_px: 'float' = 4.0) -> 'dict';从台账取用则 opsdrive.get("contact_patch_radius"))

用法

> 该算子的说明尚无译文,以下照原文给出。

接触の像(: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)か窓の縁に触れる。

参考(示例数据・文献)

• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。

• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。

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

可运行的示例(实际调用该算子并已验证的样例)

• poc_tacdome_large_deformation — py -3.11 examples/poc_tacdome_large_deformation.py

类型可衔接的下一个算子(可接受 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 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*

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