Similarity2dInstanceModel¶
- menpo.model.base.Similarity2dInstanceModel(shape)[source]¶
A MeanInstanceLinearModel that encodes all possible 2D similarity transforms of a 2D shape (of n_points).
Parameters: shape : 2D Shape
Returns: model : menpo.model.linear.MeanInstanceLinearModel
Model with four components, linear combinations of which represent the original shape under a similarity transform. The model is exhaustive (that is, all possible similarity transforms can be expressed in the model).