
This is a binary image. I want to remove the portion in the red region, and keep the one in the green region.
The red region has the property of double parallel edges, whereas green does not. If someone could suggest an algorithm it would be helpful.