D-12-12 Fast Similarity Retrieval of Images with Indirect Matching