Text this: Accurate diagnosis of diseases by a novel AI pipeline based on feature extraction, feature ranking, and feature selection from medical images.