tps_warp — 3D deform op

資料種類:deformation × pointspoints

呼叫: import fullseye as fs; fs.ledger.tps_warp(model, points)(要直接呼叫實作,import deform3d; deform3d.tps_warp(model, points);從台帳取用則 ops3d.get("tps_warp"))

用法

用 TPS 模型變形點群。

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

f(x) = [1,x,y,z]·a + Σ_i w_i·U(‖x − p_i‖) を評価する。

引数:

model: `tps_fit` が返した dict。

points: (M,3)(または長さ3の1次元)。変形したい点群。

返り値:

(M,3) 変形後の点群(入力が1次元なら (3,) を返す)。

例外:

ValueError: model の形式不正、または points の形状不正。

參考(範例資料・文獻)

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

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

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

nonrigid_deformpy -3.11 examples_3d/nonrigid_deform.py

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

points_to_voxel · gaussians_to_voxel · estimate_point_normals · to_points · match_points_ncc · match_pca · moment_axes · icp_point2point_3d

同類別(deform)

tps_fit · register_nonrigid · register_cpd_rigid


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

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