thesis on image retrieval