Remove small elements from color image

Hi, I want to remove small elements from color image e.g. the pink and white colored particles from attached image. How can I do this?

2 Comments

I have removed the duplicate question.
%Try following one
g=localthresh(gray1,ones(3),10,1.3,'global');
or try bwmorph function;

Sign in to comment.

Answers (0)

Categories

Asked:

on 12 Dec 2017

Edited:

on 12 Dec 2017

Community Treasure Hunt

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

Start Hunting!