Spectral clustering for image segmentation