Exploiting distance metrics-based similarity for spatial feature analysis : Application to brain magnetic resonance imaging