Probabilistic kernel PCA and its application to statistical shape modeling and inference