how to get a silhouette(edges)??

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
sin
Posts: 46
Joined: 2011-04-23T11:06:13-07:00
Authentication code: 8675308

how to get a silhouette(edges)??

Post by sin »

friends, please help me how could i get a silhouette i.e edges of an image using imagemagick.????
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

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

Post 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/
Post Reply