I have a binary image with 4 blobs. 3 of them has an aspect ratio of more than 1. and 1 has aspect ratio of 1. Now I want to reduce that blobs which aspect ratio more than 1 in binary image. How could i do this. Can some one please provide a code??
Here is a link of the binary image. I want to reduce that 3 blobs which has an aspect ratio more than 1. And only want to keep that triangle shape.