Introduced ImageRetrieval algorithm