Dissimilarity application for medical imaging classification