Learning Bayesian classifiers for a visual grammar | IEEE Conference Publication | IEEE Xplore