Pattern inference theory : A probabilistic approach to human vision ∗