A new and effective image retrieval method based on representative regions