Yet another implementation of K-means for color clustering in images