polygon_coverage_image — DRIVE pegsym op

• Data kinds: matrix → image2d

• Call: import fullseye as fs; fs.ledger.polygon_coverage_image(vertices_px, size: 'int' = 160, ss: 'int' = 8, width: 'int | None' = None) -> 'np.ndarray' (to call the implementation directly, import pegsym; pegsym.polygon_coverage_image(vertices_px, size: 'int' = 160, ss: 'int' = 8, width: 'int | None' = None) -> 'np.ndarray'; from the registry, opsdrive.get("polygon_coverage_image"))

Usage

Coverage image 0..1 ((size, width); anti-aliasing with ss × ss subsamples) of a convex polygon (vertex list in pixel coordinates (col, row)). A building block for synthesis with ground truth. Raises ValueError: not convex, size < 8, ss < 1.

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_peg_symmetry_search — py -3.11 examples/poc_peg_symmetry_search.py

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

flow_from_depth_motion · ttc_truth · ttc_from_flow · foe_from_flow · perlin2 · fbm_height · fbm_gradient · radial_periodogram

Same category (pegsym)

polygon_peg · polygon_offset · polygon_fit_check · rotation_window · polygon_two_point_depth · plane_topview · polygon_yaw_read · relative_yaw_from_images


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