contact_patch_radius — DRIVE tacdome op

• Data kinds: image2d × scalar → table

• Call: import fullseye as fs; fs.ledger.contact_patch_radius(img, pitch: 'float', ring_px: 'float' = 4.0) -> 'dict' (to call the implementation directly, import tacdome; tacdome.contact_patch_radius(img, pitch: 'float', ring_px: 'float' = 4.0) -> 'dict'; from the registry, opsdrive.get("contact_patch_radius"))

Usage

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

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

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_tacdome_large_deformation — py -3.11 examples/poc_tacdome_large_deformation.py

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

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

Same category (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. 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.