Efficient trademark retrieval using weighted image features