Page 1 of 1

Smoothing effect

Posted: 2010-09-27T04:27:54-07:00
by badabou
Hello,

I try to reproduce this effect with imagemagick but I do not find a solution.

Is this possible?

Thank you

Image

Re: Smoothing effect

Posted: 2010-09-27T10:26:35-07:00
by fmw42
try

convert image -median 2 result

Re: Smoothing effect

Posted: 2010-09-27T19:11:46-07:00
by anthony
You may also like to try using a raster to vector and back to raster conversion!

See IM examples...
http://www.imagemagick.org/Usage/transform/#edge_vector
and
http://www.imagemagick.org/Usage/draw/#svg_output

It should work well as you have already eliminated anti-aliasing pixels that will often confuse a tool like "autotrace".

NOTE IM does have the ability to make direct use of autotrace when either reading or writing images like this. See the above link for details.


You may also like to clean up and smooth speckles before using autotrace (or median) by using Morphology Operators to smooth the edges a little.
http://www.imagemagick.org/Usage/morphology/#basic