Text this: Medical image classification via sparse representations