recluster function

Recluster color centers based on color similarity