plate_mesh_from_image — DRIVE roadjp op

• Data kinds: rgba → table

• Call: import fullseye as fs; fs.ledger.plate_mesh_from_image(rgba, width: 'float', height: 'float', *, cell: 'int' = 4, thickness: 'float' = 0.004, back_color=(0.55, 0.55, 0.55), label: 'int' = 4) -> 'dict' (to call the implementation directly, import roadjp; roadjp.plate_mesh_from_image(rgba, width: 'float', height: 'float', *, cell: 'int' = 4, thickness: 'float' = 0.004, back_color=(0.55, 0.55, 0.55), label: 'int' = 4) -> 'dict'; from the registry, opsdrive.get("plate_mesh_from_image"))

Usage

Turns an RGBA image into the mesh of a thin plate carrying the face colors.

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

画像を cell × cell 画素の区画に切り、alpha の平均が 0.5 以上の区画だけを面にする(2 三角形)。面の色 = その区画の alpha で重みづけた平均色 Σ(α·rgb) / Σα。表面の法線 = −x(yaw 0 で +x へ進んで来る車に向く)、裏面は同じ形で back_color(法線 +x)。原点 = 板の中心、板は y-z 平面(画像の左 = +y、上 = +z)、厚さ thickness を x の ±半分に振る。使われない頂点は残さない(寸法を頂点から測れるように)。

返り値 {"V", "F", "color", "label", "front_faces": (0, n), "back_faces": (n, 2n), "cells": (rows, cols)}。

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)

• (none yet)

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 (roadjp)

sign_params · sign_image · sign_mesh · add_sign · signal_jp_mesh · add_signal_jp


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