Rotation Invariant Retrieval and Annotation of Image Databases