procrustes_fit — SHAPESTAT procrustes op

Data kinds: points × pointsmatrix

Call: import shapestats; shapestats.procrustes_fit(source, target, scaling: 'bool' = True, reflection: 'bool' = False) (or opsshapestat.get("procrustes_fit"))

Usage

> This operator's description has not been translated yet. The original text follows as it is.

*source* を *target* へ重ねる相似変換。→ `(4, 4)` の同次行列。

点の並びが対応していることが前提(i 番目どうしが同じ解剖学的位置)。

対応が無い点群では例外は出ず、意味の無い変換が返る —— 対応の有無は

この関数からは見えない。対応が無いなら ICP 系(`registration`)を使う。

`scaling=True なら大きさの違いも吸収する。reflection=False`(既定)は

`det(R) = +1` を強制する —— 許すと左手系の個体が右手系の平均に重なり、

左右非対称性という測りたいものが消える。

行列は同次座標で `target ~ source @ M[:3,:3].T + M[:3,3]` の向き。

Detailed usage guide

shape_statistics family guide

References (sample data, literature)

• Sample-data catalog (download URLs / licences) — 2-D uses skimage.data (BSD/public domain) plus synthetic images; 3-D lists download URLs for real data sources (Stanford, PDS, …).

• Operator provenance and references — the sources of the research/methods this op family came from.

• The canonical algorithm (author, year) and its uses are named in the family usage guide above.

Runnable examples (verified samples that actually call this op)

• (none yet)

Ops the type connects to (they accept matrix as input)

Same category (procrustes)

procrustes_align · procrustes_distance · generalized_procrustes · shape_mean


*Provenance: shapestats.py — SHAPESTAT operator registry. This per-op note is generated by tools/opdocs.py md (do not hand-edit).*

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