Hi I want to seperate overlapping polygons. I have convex hulls of different masks on the same image. Some of the polygons are overlapping. I want to minimize those polygons so they now dont overlap at all. My idea is to find an intersection line as shown in the image below. Is this possible? How to do it?
I want to move or reduce them just as much as the intersection line could be each polygon's one sided boundary

