Enforce SLIC superpixels connectivity