Semantic Indexing, Retrieval and Classification of Medical Images