Automatic Image Annotation and Categorization