Material image segmentation based on feature similarity and non-spherical clustering