Centroid of bounded regions