Quantifying spatial pattern similarity in multivariate analysis using functional anisotropy