GeneralizedProcrustesAnalysis¶
- class menpo.transform.groupalign.procrustes.GeneralizedProcrustesAnalysis(sources, target=None)[source]¶
Bases: MultipleAlignment
Class for aligning multiple source shapes between them.
After construction, the AlignmentSimilarity transforms used to map each source optimally to the target can be found at transforms.
Parameters: sources : list of PointCloud
List of pointclouds to be aligned.
target : PointCloud
The target PointCloud to align each source to. If None, then the mean of the sources is used.
Default: None
Raises: ValueError :
Need at least two sources to align