smfishHmrf.generate.centroid function

Generate cluster centroids, where input is given as a matrix.