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' (implementation को सीधे call करना हो तो 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', registry से लेना हो तो opsdrive.get("peg_measure_overlay"))

उपयोग

माप का overlay चित्र (केवल numpy): ground truth = बड़ा हरा cross, अनुमान = छोटा लाल cross, circle fit में उपयोग हुए edge points = पीले बिंदु (imagedraw)। नीचे दाईं ओर ground truth centroid के आसपास crop px के square का zoom गुना बड़ा रूप चिपकाया जाता है (subpixel मेल को आँख से देखने के लिए)।

rgb (H, W, 3) uint8 है, truth_uv और est_uv (N, 2) के (u, v) हैं। रिटर्न उसी आकार का uint8 है। Raises ValueError: rgb का आकार ग़लत, कोई बिंदु नहीं।

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• poc_pegsim_insertion — py -3.11 examples/poc_pegsim_insertion.py

वे अगले ops जिनसे type जुड़ता है (rgb को 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

इसी 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. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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