Clustering by mode-seeking
[LAB,J] = MODESEEK(D,K)
A K-NN modeseeking method is used to assign each object to its nearest mode.
1. Cheng, Y. "Mean shift, mode Seeking, and clustering", IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 17, no. 8, pp. 790-799, 1995.