Content-based Image Retrieval in Medicine: Retrospective Assessment, State of the Art, and Future Directions