peg_measure_overlay — DRIVE pegsim op

• Data kinds: rgb × matrix × matrix → rgb

• Call: import fullseye as fs; fs.ledger.peg_measure_overlay(rgb, truth_uv, est_uv, edge_uv=None, size: 'int' = 12, zoom: 'int' = 3, crop: 'int' = 40) -> 'np.ndarray' (to call the implementation directly, import pegsim; pegsim.peg_measure_overlay(rgb, truth_uv, est_uv, edge_uv=None, size: 'int' = 12, zoom: 'int' = 3, crop: 'int' = 40) -> 'np.ndarray'; from the registry, opsdrive.get("peg_measure_overlay"))

Usage

Measurement overlay (numpy only): ground truth = large green cross, estimate = small red cross, edge points used for the circle fit = yellow dots (imagedraw). A zoom× magnification of the crop px square around the ground-truth centroid is pasted at the bottom right (to inspect the subpixel agreement by eye).

> The detailed description below is the original text — the summary and the headings are translated.

rgb は (H, W, 3) uint8、truth_uv・est_uv は (N, 2) の (u, v)。返りは同じ大きさの uint8。Raises ValueError: rgb の形が違う、点が無い。

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_pegsim_insertion — py -3.11 examples/poc_pegsim_insertion.py

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

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

Same category (pegsim)

peg_params · whitney_clearance · two_point_depth · wedging_check · jamming_diagram · chamfer_capture · contact_state_predict · circle_fit_known_radius


*Provenance: pegsim.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.