Basic pixel removal in black and white picture
Posted: 2013-06-09T04:59:52-07:00
Hello everyone,
it's my first topic on this website.
I play with imagemagick from times to times but now I'm stuck with a very simple task.
I have an image in black and white. (gif converted with -monochrome)
I want to remove isolated black pixels, so : remove black pixels surrounded by 8 white pixels.
I tried a lot of things with -median, -morphology...
If you have any idea, let me know. :p
Thanks !!
it's my first topic on this website.
I play with imagemagick from times to times but now I'm stuck with a very simple task.
I have an image in black and white. (gif converted with -monochrome)
I want to remove isolated black pixels, so : remove black pixels surrounded by 8 white pixels.
I tried a lot of things with -median, -morphology...
If you have any idea, let me know. :p
Thanks !!