class menpo.transform.homogeneous.affine.DiscreteAffine[source]

Bases: object

A discrete Affine transform operation (such as a Scale(), Translation or Rotation()). Has to be invertable. Make sure you inherit from DiscreteAffine first, for optimal decompose() behavior.


A DiscreteAffine is already maximally decomposed - return a copy of self in a list.

Returns:transform (DiscreteAffine) – Deep copy of self.