Java for SpectralCluster for picture