Page 1 of 1

exist any way of prevent or remove this error when I use connected components appears a little blob around image?

Posted: 2018-07-20T21:26:04-07:00
by diegomage
when i use connected component appears a rare blobs in the image


Image


this is my code

Code: Select all

convert       image.png -define connected-components:area-threshold=60 -define connected-components:mean-color=true -connected-components 4 image2.jpg
Image

in simple view dont see the blob but when I look more i see a blobs

Image


please help me

Re: exist any way of prevent or remove this error when I use connected components appears a little blob around image?

Posted: 2018-07-20T21:40:24-07:00
by fmw42
I do not understand your question. What blob? Do not save to JPG. It will change colors due to compressions artifacts. With only 16 colors, you should save to GIF.

Try

Code: Select all

convert image.png -define connected-components:area-threshold=60 -define connected-components:mean-color=true -connected-components 4 image2.gif

Re: exist any way of prevent or remove this error when I use connected components appears a little blob around image?

Posted: 2018-07-20T21:48:35-07:00
by diegomage
yes very thankyou I will not do this error