procrustes op• 資料種類:points × points → matrix
• 呼叫: import fullseye as fs; fs.ledger.procrustes_fit(source, target, scaling: 'bool' = True, reflection: 'bool' = False)(要直接呼叫實作,import shapestats; shapestats.procrustes_fit(source, target, scaling: 'bool' = True, reflection: 'bool' = False);從台帳取用則 opsshapestat.get("procrustes_fit"))
將 *source* 疊合到 *target* 上的相似變換。→ (4, 4) 的齊次矩陣。
前提是點的排列相互對應(第 i 個點彼此位於相同的解剖學位置)。對無對應關係的點集不會拋出例外,而是回傳無意義的變換 —— 是否有對應關係從本函式是看不出來的。若無對應關係,請使用 ICP 系(registration)。
scaling=True 時也吸收大小的差異。reflection=False(預設)強制 det(R) = +1 —— 若允許反射,左手系的個體會與右手系的平均重合,左右不對稱性這一要量測的東西就會消失。
矩陣為齊次座標,方向為 target ~ source @ M[:3,:3].T + M[:3,3]。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_change_detection_misreg — py -3.11 examples/poc_change_detection_misreg.py
• poc_die_tilt_tsv_overlay — py -3.11 examples/poc_die_tilt_tsv_overlay.py
• shapestat_landmark_tour — py -3.11 examples/shapestat_landmark_tour.py
matrix 作為輸入)—
procrustes)procrustes_align · procrustes_distance · generalized_procrustes · shape_mean
*Provenance: shapestats.py — SHAPESTAT 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.