I'm just working on images and I found difficult on cropping the binary images automatically. I'm new to Image processing. Example images are shown below,
Original image:
Needed output(manually edited by GIMP Image editor):
I needed to crop the image by finding the edges of a whit pixels(mask) in image. But its hard to find the approximate edges. Please help me to find out.
thanks in advance..!