Aligns a given object configuration to a target object configuration using a Procrustes transformation.
Usage
procrustes(X, Y)
Value
The transformed version of Y aligned to X.
Arguments
X
The target configuration.
Y
The configuration to be aligned to X.
Details
This function performs a Procrustes transformation to align a given configuration, Y, to the target configuration, X, using a combination of translation and rotation. The transformation aims to minimize the sum of squared differences between the two configurations.
X and Y should be numeric matrices of the same dimension.