Page 1 of 1

how to get a silhouette(edges)??

Posted: 2011-04-23T11:45:25-07:00
by sin
friends, please help me how could i get a silhouette i.e edges of an image using imagemagick.????

Re: how to get a silhouette(edges)??

Posted: 2011-04-23T12:13:32-07:00
by fmw42
sin wrote:friends, please help me how could i get a silhouette i.e edges of an image using imagemagick.????
It depends upon the image. perhaps you could post a link to your image.

see -edge http://www.imagemagick.org/script/comma ... s.php#edge and http://www.imagemagick.org/Usage/convolve/#edgedet

convert image -edge 1 result

Alternately, you would need to mask the image and get the edges of the mask. see http://www.imagemagick.org/Usage/masking/