pointmap_to_points — REPRCONV structure op

• 資料種類:pointmap → points

• 呼叫: import fullseye as fs; fs.ledger.pointmap_to_points(pointmap, drop_nonpositive_z=False)(要直接呼叫實作,import reprconv; reprconv.pointmap_to_points(pointmap, drop_nonpositive_z=False);從台帳取用則 opsreprconv.get("pointmap_to_points"))

• GPU:無(僅 CPU 參考實作)

用法

網格排列的 3-D 點 pointmap (H,W,3) → 點雲 points (N,3)。pointmap 型別的出口。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

行優先(row-major)に並べ直し、非有限の行は捨てる(pointmap では NaN が「その画素は無効」の印なので、ここでは拒否せず落とす)。drop_nonpositive_z=True は z <= 0 の行も捨てる —— depth_to_organized_points のカメラ座標の pointmap は無効深度 0 が原点に集まるので、その場合に使う(depth_to_points と同じ規約になり、同じ内部行列なら同じ点が同じ順に出る)。地心座標(dem_geocentric_grid)では z が負になりうるので既定は False。列の意味(x, y, z)は入力のまま変えない。

Args:

pointmap: (H, W, 3)。

drop_nonpositive_z: True で z <= 0 の行も捨てる。

Returns:

(N, 3) float64。

Raises:

ValueError: (H, W, 3) でない / 空 / 有効な点が 1 つも残らない。

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• type_connectivity_tour — py -3.11 examples/type_connectivity_tour.py

型別可銜接的下一個運算子(可接受 points 作為輸入)

points_zyx_to_keypoints_uv · points_to_position · select_points · flow_apply · points_to_gaussians

同類別(structure)

frame_axis · knn_graph_to_conn_graph · match_component


*Provenance: reprconv.py — REPRCONV 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

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