WIPIVERSE All articles

Procrustes transformation

Definition
A Procrustes transformation is a linear mapping applied to a set of points (or a shape) that consists of translation, uniform scaling, and orthogonal rotation (and optionally reflection). It is used to optimally align one configuration of points with another, minimizing the sum of squared distances between corresponding points. The transformation is named after the mythological figure Procrustes, reflecting the idea of “stretching” or “trimming” one shape to fit another.

Mathematical formulation

Given two configurations of $k$ points in $\mathbb{R}^p$:

  • Target matrix $X \in \mathbb{R}^{k \times p}$
  • Source matrix $Y \in \mathbb{R}^{k \times p}$,

the Procrustes problem seeks a translation vector $\mathbf{t} \in \mathbb{R}^p$, a scalar scaling factor $s > 0$, and an orthogonal matrix $R \in \mathbb{R}^{p \times p}$ (with $R^\top R = I$) that minimize

$$ | X - s Y R - \mathbf{1}\mathbf{t}^\top |_F^2, $$

where $|\cdot|_F$ denotes the Frobenius norm and $\mathbf{1}$ is a column vector of ones of length $k$.

The optimal parameters have closed‑form solutions:

  1. Centering (translation removal)
    $$ \tilde{X} = X - \mathbf{1}\bar{x}^\top, \qquad \tilde{Y} = Y - \mathbf{1}\bar{y}^\top, $$ where $\bar{x}$ and $\bar{y}$ are the column means of $X$ and $Y$, respectively.

  2. Rotation (and reflection)
    Compute the singular value decomposition (SVD) of $\tilde{X}^\top \tilde{Y} = U\Sigma V^\top$.
    Then $R = V U^\top$. If the determinant of $R$ is negative and only rotations (no reflection) are desired, replace the smallest singular value in $\Sigma$ by its absolute value before recomposing $R$.

  3. Scaling
    $$ s = \frac{\operatorname{trace}(\Sigma)}{|\tilde{Y}|_F^2}. $$

  4. Translation
    $$ \mathbf{t} = \bar{x} - s , \bar{y} R. $$

The resulting transformed source configuration is

$$ Y^{*} = s Y R + \mathbf{1}\mathbf{t}^\top. $$

Historical background

The concept emerged in multivariate statistical shape analysis. Gower (1975) introduced the term “Procrustes analysis” for the procedure of fitting one shape to another using the above transformations. The name alludes to the Greek myth of Procrustes, who forced travelers to fit his bed by stretching or cutting them, metaphorically describing the forced alignment of shapes.

Variants

  • Ordinary (or classical) Procrustes analysis – uses a single target configuration.
  • Generalized Procrustes analysis (GPA) – simultaneously aligns multiple configurations to a common mean shape, iteratively updating the mean.
  • Partial Procrustes analysis – omits the scaling factor (i.e., sets $s = 1$).
  • Procrustes distance – the minimized residual sum of squares, often expressed as a normalized metric of shape dissimilarity.

Applications

Field Typical Use Example
Morphometrics Comparing anatomical landmarks across specimens Aligning skull landmark sets to study evolutionary variation
Computer vision Shape matching and object recognition Aligning facial feature points for expression analysis
Bioinformatics Structural alignment of macromolecules Superimposing protein 3D coordinates
Geomatics Registering geographic datasets Aligning LiDAR point clouds from different surveys
Psychology Scaling of multidimensional scaling (MDS) solutions Rotating and scaling MDS configurations for interpretability

Software implementations

  • R – stats::procrustes (package vegan), Morpho::procSym.
  • Python – scipy.spatial.procrustes, sklearn (via ProcrustesAnalysis in some extensions).
  • MATLAB – procrustes function in the Statistics and Machine Learning Toolbox.

See also

  • Procrustes analysis
  • Shape analysis
  • Orthogonal Procrustes problem
  • Singular value decomposition (SVD)

References

  1. Gower, J. C. (1975). “Generalized Procrustes Analysis.” Psychometrika, 40(1), 33–51.
  2. Dryden, I. L., & Mardia, K. V. (1998). Statistical Shape Analysis. Wiley.
  3. Bookstein, F. L. (1991). Morphometric Tools for Landmark Data: Geometry and Biology. Cambridge University Press.
  4. Goodall, C. (1991). “Procrustes Methods in the Statistical Analysis of Shape.” Journal of the Royal Statistical Society. Series B (Methodological), 53(2), 285–339.

This entry reflects the current consensus in the statistical and computational literature as of the knowledge cutoff date.

Browse

More topics to explore

    Browse all articles