Bayesian Modeling of Perceiving