Estimating mixture models of images and inferring spatial transformations using the EM algorithm | Synapse