How to filter a shape from a binary image
Hi, I would like to try the following task. I have a binary image like as:
And the desired output would be the following:
I have tried using Hough circle detection, but it is not accurate, because of the shape. It is possible to use a custom morphological operation? I tried with ellipse and rectangular kernel shape, but without success. Any ideas?
Thanks!