match_localize op• 資料種類:points × points → position
• 呼叫: import fullseye as fs; fs.ledger.match_points_ncc(pts_scene, pts_model, size, bounds, device='cpu', smooth=0.8)(要直接呼叫實作,import match3d; match3d.match_points_ncc(pts_scene, pts_model, size, bounds, device='cpu', smooth=0.8);從台帳取用則 ops3d.get("match_points_ncc"))
• 經台帳呼叫的回傳值: fullseye.ledger.match_points_ncc(...) 只回傳**宣告的 out 型別 position 的值**(底層函式還會回傳輔助資訊)。需要被捨棄的部分時,請用 fullseye.ledger.match_points_ncc.raw(...),或直接呼叫 match3d.match_points_ncc。
• GPU:該運算子有 GPU 路徑(device="cuda")
點群間匹配(結構=point cloud × 方法=NCC、變換=splat)。在 scene 中定位 model。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
手順: `pts_scene と pts_model を **同じ** bounds=(lo,hi) と size` で
`points_to_voxel(σ=smooth voxel の平滑つき)に通し、model 側は > 5%·max` の bbox を
切り出してテンプレにし、`accel_match.ncc_locate_3d` で NCC 定位する。
返り値 `[NCC, z, y, x]` float64(NCC ∈ [−1,1]、位置は voxel index、±2 近傍重心で
サブボクセル)。
• 位置は 切り出した bbox テンプレの中心が scene voxel のどこに載るか。world 座標に戻すには
`lo + idx/(size−1)·(hi−lo)(points_to_voxel` の格子)。
• `bounds は必須(_lo_hi` で検証、不正は ValueError)。両雲を含む範囲にしないと範囲外の
点が端 voxel に clip される。
• model の voxel が全 0 なら `[0,0,0,0]`。
• 並進のみ。回転・スケールは `match_pca / match_logpolar_z` で先に合わせる。
後段: `icp_point2point_3d の init_t、refine_translation_lk`。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• matching_localize — py -3.11 examples_3d/matching_localize.py
position 作為輸入)refine_peak_newton · refine_translation_lk · refine_lm · fuse_to_voxel
match_localize)match_shape_3d · match_chamfer_3d · match_curvature_3d · match_hough_3d · match_mip_2d
*Provenance: match3d.py — 3D 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.