render oppoints → keypointsimport fullseye as fs; fs.ledger.project_points(points, K, R=None, t=None) (実装を直接呼ぶなら import match3d; match3d.project_points(points, K, R=None, t=None)、台帳から引くなら ops3d.get("project_points"))fullseye.ledger.project_points(...) は宣言 out 型 keypoints の値だけを返す(本体は補助情報も返す)。捨てられた側が要るときは fullseye.ledger.project_points.raw(...)、または match3d.project_points を直接呼ぶ。
(uv (N,2), depth (N,)) → uv3D 点群 (N,3) → 画像座標 (u,v) と深度。ピンホール(depth_to_points の順方向)。
K=カメラ内部行列 [[fx,0,cx],[0,fy,cy],[0,0,1]]。R,t で外部姿勢。世界モデルの観測写像。
P_cam = R @ P + t(R (3,3)、t (3,)。None は恒等・零)を u = fx·X/Z + cx、
v = fy·Y/Z + cy で投影する。返り値 (uv (N,2), depth (N,)): uv[:,0] = u(列)、
uv[:,1] = v(行)、depth はカメラ座標の Z(clip 前の生値で、負もそのまま)。
K は K[0,0] 等で添字するので numpy 配列(nested list は不可)。
Z は 1e-6 以上に clip してから割るので、カメラ後方の点も捨てず巨大な u,v になる
(depth > 0 で呼び手が除く)。画像外の点も返す(render_point_depth が範囲で切る)。
depth_to_points の逆で、depth_to_points(render_point_depth(...)) が往復になる。
py -3.11 examples_3d/pnp_pose_outliers.pypy -3.11 examples_3d/pose_estimation.pykeypoints を入力に取れる)fuse_to_voxel · dlt_pose · pnp_ransac · reprojection_error
render)render_point_depth · render_volume_projection · render_shaded · ambient_occlusion · cast_shadow · phong_shade · matcap_shade · supersample_mesh
Provenance: match3d.py — 3D operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.