We could use contour intersection to get bordering contours? https://stackoverflow.com/questions/55641425/check-if-two-contours-intersect
We could use contour intersection to get bordering contours?
https://stackoverflow.com/questions/55641425/check-if-two-contours-intersect