weights

menpo.fit.regression.parametricfeatures.weights(appearance_model, warped_image)[source]

Returns the resulting weights after projecting the warped image to the appearance PCA model.

Parameters:

appearance_model: :class:`menpo.model.pca` :

The appearance model based on which the parametric features will be computed.

warped_image: :class:`menpo.image.masked` :

The warped image.