MultipleAlignment

class menpo.transform.groupalign.base.MultipleAlignment(sources, target=None)[source]

Bases: object

Abstract base class for aligning multiple source shapes to a target shape.

Parameters:
  • sources (list of PointCloud) – List of pointclouds to be aligned.
  • target (PointCloud, optional) – The target PointCloud to align each source to. If None, then the mean of the sources is used.
Raises:

ValueError – Need at least two sources to align