Extract each of the existing contours in the image separately,