remove this blobs with connected components?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

remove this blobs with connected components?

Post by diegomage »

Im trying to remove this blobs point of this image but i dont know how I use this command

convert redsult.png -background White -layers Flatten -fill Black +opaque White zzz1fy_x2.png
convert zzz1fy_x2.png -define connected-components:area-threshold=54 -connected-components -4 -auto-level ccredsult.png
convert ccredsult.png -negate ccredsuddlt.png
convert ccredsuddlt.png -background White -layers Flatten -fill Black +opaque White zzz1sssfy_x2.png

Image

Image


please give me a help
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: remove this blobs with connected components?

Post by fmw42 »

see http://magick.imagemagick.org/script/co ... onents.php

try

Code: Select all

convert lJBhv.png -define connected-components:area-threshold=14 -define connected-components:mean-color=true -connected-components 4 result.png
diegomage
Posts: 205
Joined: 2017-03-08T10:12:28-07:00
Authentication code: 1151

Re: remove this blobs with connected components?

Post by diegomage »

works thankyou so much
Post Reply