SISTER: A flexible system for image retrieval