Testing a Bayesian Measure of Representativeness Using a Large Image Database