Removal of noises at edges (2)

3 views (last 30 days)
Hg
Hg on 11 Jan 2016
Edited: KAE on 7 Aug 2017
How can I get rid of the unwanted pixels circled in red in the image below?

Accepted Answer

Walter Roberson
Walter Roberson on 11 Jan 2016
Edited: Walter Roberson on 11 Jan 2016
Fill holes and then bwareafilt and then "and" the result with the original to get the holes back again.
  6 Comments
Hg
Hg on 11 Jan 2016
Ok, now it works. Thank you!
KAE
KAE on 7 Aug 2017
Edited: KAE on 7 Aug 2017
Hg - Can you post the image after these operations? I am not clear what the final result will look like.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!