Invertible¶
-
class
menpo.transform.base.invertible.
Invertible
[source]¶ Bases:
object
Mix-in for invertible transforms. Provides an interface for taking the pseudo or true inverse of a transform.
Has to be implemented in conjunction with
Transform
.-
pseudoinverse
()[source]¶ The pseudoinverse of the transform - that is, the transform that results from swapping source and target, or more formally, negating the transforms parameters. If the transform has a true inverse this is returned instead.
- Type
type(self)
-
property
has_true_inverse
¶ True
if the pseudoinverse is an exact inverse.- Type
bool
-