transform op• 資料種類:depth → points
• 呼叫: import fullseye as fs; fs.ledger.depth_to_points(depth, fx, fy, cx, cy, stride=1)(要直接呼叫實作,import match3d; match3d.depth_to_points(depth, fx, fy, cx, cy, stride=1);從台帳取用則 ops3d.get("depth_to_points"))
深度圖(2.5D)→ 點雲(針孔反投影)。把 depth 列接到所有方法。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
画素 (行 v, 列 u) の深度 z から `X = (u − cx)·z/fx、Y = (v − cy)·z/fy、Z = z` を作る。
返り値は `(N,3)` float64、列は (X, Y, Z) のカメラ座標(深度と同じ単位)。z が 0 以下の
画素は捨てるので N は画素数以下(無効深度は 0 で表す規約)。
• `fx, fy, cx, cy: 画素単位の焦点距離と主点。project_points` の K と同じ規約。
• `stride: 行・列とも stride 画素おきに間引く。u, v は間引き後の index に stride`
を掛けた 元画像の画素座標で計算するので、間引いても幾何は変わらない。
• 入力検証は無い(2-D でなければ添字で失敗)。NaN 深度は `z > 0` が偽で捨てられる。
• 点は行優先の順に並ぶが、行・列の情報は残らない。格子構造を保ちたいなら
`depth_to_organized_points`。
後段: `points_to_voxel / estimate_point_normals / icp_point2plane`。
逆写像は `project_points、TSDF 化は tsdf_from_depth`。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• structured_light_scan — py -3.11 examples_3d/structured_light_scan.py
• transforms_repr — py -3.11 examples_3d/transforms_repr.py
points 作為輸入)points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d
transform)points_to_voxel · gaussians_to_voxel · mesh_to_voxel · mesh_to_points · voxel_to_mips · voxel_to_mesh · tsdf_from_depth · signed_distance_field
*Provenance: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.