How to remove holes from a colored image

1 view (last 30 days)
Antonis
Antonis on 9 Nov 2013
Commented: Image Analyst on 12 Nov 2013
I have a colored image and i am trying to remove some little holes from the main body. How am i going to do that?
Thank you.
  3 Comments
Antonis
Antonis on 10 Nov 2013
Here is the sample and the small black holes i want to remove.Any ideas?

Sign in to comment.

Answers (2)

Image Analyst
Image Analyst on 10 Nov 2013
How big are the holes? Are they small holes, like salt and pepper noise? Attached below is my salt and pepper removal demo.

Antonis
Antonis on 10 Nov 2013
The small black holes in the grains are those i want to remove. Is the code you sent me appropriate for doing that?
Thank you.
  2 Comments
Image Analyst
Image Analyst on 10 Nov 2013
I don't know since you're not posting images. By the way, don't post something like this as an Answer since it's not an answer to your original question. It's a comment to me or Walter so you should use the "Comment on this Answer" link, not the "Answer this question" link.
Image Analyst
Image Analyst on 12 Nov 2013
Antonis, Are you still interested in solving this?

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!