project_out

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

Returns a version of the whitened warped image where all the basis of the model have been projected out and which has been scaled by the inverse of the appearance model’s noise_variance.

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.