I have an image which can be split by a delineating line. I want to split it and tag each piece on its centroid. I have a good idea about how I\'d tag a contour on its centroid,