adding erode seems to help with kmeans convergence and remove noise