GeneralizedProcrustesAnalysis¶
-
class
menpo.transform.
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
, optional) – The targetPointCloud
to align each source to. IfNone
, then the mean of the sources is used.
Raises: ValueError
– Need at least two sources to align-
mean_aligned_shape
()[source]¶ Returns the mean of the aligned shapes.
Type: PointCloud
- sources (list of