Bayesian relevance feedback for content-based image retrieval