centroid visualization with black