Computational Methods for Bayesian Object Recognition: Theory and Application