How to remove small circles from edge detected image?

3 次查看(过去 30 天)
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?

回答(1 个)

Johan C
Johan C 2020-11-10
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!

Translated by