Segmenting an image with similar background color.
I have an image with similar background color and foregorund color. I want to segment the footprint part and leave out background.
It would be very helpful if someone provided me with a code to achieve this.