Analysis of a heterogeneous set of brain MR images by morphology-based clustering