Greyscale + gaussian

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?".
Freeloader
Posts: 8
Joined: 2011-07-24T14:10:19-07:00
Authentication code: 8675308

Re: Greyscale + gaussian

Post by Freeloader »

I'll play around with that :)

In any case, thank you for all the great help you've provided!
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Greyscale + gaussian

Post by anthony »

Fred did not mention it but he does have a script that does some basic morphology methods (square kernel only). It is slower but that can be used to do the morphology steps.

As for the shape change, once you have located the 'larger' shape, you can use that to recover just that specific shapes area, and ignore the smaller ones.

Of course with full morphology you have access to non-square kernels, that would allow finding specific shaped areas, as distinct from other shapes. That is a key feature of morphology, though one I have not exampled very well.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Greyscale + gaussian

Post by fmw42 »

my script is limited to 3x3 square kernel shape and one would have to use quite a few iterations to get the size effect one needs. it would have to be a post processing step to the previous commands or piped in to the script from the commands. see my morphology script at the link below. But I would be surprised if it worked on such an old version of IM without some modifications. But you can play with it and let me know what happens (what error messages you get).
Post Reply