An SVM confidence-based approach to medical image annotation