GeneralizedProcrustesAnalysis(sources, target=None, allow_mirror=False)¶
Class for aligning multiple source shapes between them.
After construction, the
AlignmentSimilaritytransforms used to map each source optimally to the target can be found at transforms.
sources (list of
PointCloud) – List of pointclouds to be aligned.
allow_mirror (bool, optional) – If
True, the Kabsch algorithm check is not performed, and mirroring of the Rotation matrix is permitted.
ValueError – Need at least two sources to align
Returns the average error of the recursive procrustes alignment.