How to remove small circles from edge detected image?

3 views (last 30 days)
Tawa Yenni
Tawa Yenni on 10 Nov 2020
Answered: Johan C on 10 Nov 2020
I have an image on which I have applied edge detection.
The image, however, has small circles which I would like to remove. I have highlighted some in red below:
How could I do this?

Answers (1)

Johan C
Johan C on 10 Nov 2020
Try imfill
Have not used it my self, but i would start there.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!