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?".
badabou
Posts: 54 Joined: 2008-06-23T06:12:24-07:00
Post
by badabou » 2013-01-14T15:06:16-07:00
Hello,
There's there an equivalent filter in Photoshop "minimum" (filter > others > minimum) in Imagemagick ?
Here is an preview :
Thanks
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Post
by anthony » 2013-01-14T23:59:53-07:00
In a similar way with more control on the 'neighbourhood' use Morphology Erode.
Or if you want to preserve colors ErodeIntensity whcih compared pixels using the grayscale intensity of the pixel as a whole.
(Eventually I'd like a method that defines what 'intensity' means for a number of operators.
See Morphology, Intensity Variants
http://www.imagemagick.org/Usage/morphology/#intensity
badabou
Posts: 54 Joined: 2008-06-23T06:12:24-07:00
Post
by badabou » 2013-01-15T09:11:28-07:00
Thanks.
But I use this version of imagemagick that does not support this operator, you have there an alternative ?
# convert -version
Version: ImageMagick 6.5.9-3 2012-11-04 Q16
http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features:
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-01-15T10:05:26-07:00
see my response above, though -statistic, may be too new also as I think it was only created at IM 6.6.8-6
Your version of IM is way too old (more than 200 versions). Perhaps you should consider upgrading.
Have you tried
convert image -morphology erode diamond:1 output
Your version may just be enough for that
badabou
Posts: 54 Joined: 2008-06-23T06:12:24-07:00
Post
by badabou » 2013-01-16T03:04:22-07:00
Thanks, this work !
For your information, when I wanted to update imagemagick, imagick extension not working properly with my scripts.
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2013-01-16T11:49:50-07:00
badabou wrote: Thanks, this work !
For your information, when I wanted to update imagemagick, imagick extension not working properly with my scripts.
Try reloading Imagick and use the latest version
http://pecl.php.net/package/imagick/3.1.0RC2