What is GIMP’s equivalent of Photoshop’s Median filter?

In my attempts to wean myself off as many commercial applications as possible, I decided to give The GIMP another try. I grabbed the Win32 installer for GIMP 2.2.17, which made installation a breeze. It certainly starts up much faster than Photoshop CS2, which is another big plus. It is amazing how featureful it is for a free software application.

But … there’s still a functionality gap between it and Photoshop and that’ll make it hard to switch completely. Specifically, where is GIMP’s equivalent of Photoshop’s “Median” filter? Not sure what I’m talking about? I’m referring to this:

Photoshop's Noise-Median filter

It’s a really useful filter and I can’t seem to find the equivalent in GIMP. It’s good for smoothing sharp edges into curves, like this:

Jagged area After applying median filter
(Before and after)

Getting this effect is as easy as this in Photoshop:

Apply median filter

But, how do you do it in GIMP? I’ve searched and the best I’ve found is people suggesting that GIMP’s “Filters > Enhance > Despeckle” has a “Median” filter, but it’s not even close to the same effect.

So, if there’s a GIMP wizard out there who knows GIMP inside and out, what’s the magic incantation to reproduce this effect that’s easily done in Photoshop, in GIMP?

Update: I found

Comments

  1. Personally, I like the way the GIMP preserved the straightness of the lines as the approach the edge. But is that little dot in the GIMP image a scaling artifact or a result of the Despeckle filter?

  2. Yes, GIMP doesn’t seem to antialias the curve as much as Photoshop does. It would be nice to add an “antialias” setting in GIMP so it could be controlled.

    Regarding the speck on the left side, I’m not sure if it’s an scaling artefact or the Despeckle filter, or something else. If I get a chance, I’ll try to reproduce it and see.

    Thanks for commenting!

  3. man, median filter application is mainly to remove the salt-pepper noise, not to make wavy edges… I like the way you think :D

  4. Stuart Halliday says

    Of course the main difference between PS and Gimp is that you don’t have to puzzle over cryptic filters and lack of documentation in PS.
    Gimp developers need to write a few words on what does what!

    It’s my biggest gripe about open source programs.

  5. Stuart: You’re right, the lack of documentation in many open source projects – not all, mind you, some have excellent documentation, better than some commercial applications – is a real hurdle. However, it is an open source project: you are generally encouraged to contribute whatever you can, even documentation, to it.

    Look at it this way: Assume for a moment that Photoshop CS4 and Gimp were functionally equivalent (I know they are not, just pretend for a moment, please). Would you consider paying the $699 for Photoshop CS4 for its documentation alone?

    I don’t value the documentation that highly, so I gladly use Gimp without documentation but also without the extra cost. Other folks like yourself clearly feel differently, and open source may not be the best solution in some cases.

  6. Thanks, Dossy. I was looking for that filter equivalent and you helped greatly :).

    “However, it is an open source project: you are generally encouraged to contribute whatever you can, even documentation, to it.”

    I’m not a programmer but you have given me an idea how to contribute back to the Open Source movement. Once again, thanks!

  7. Thanks, that helped me a lot :)

    Also nice use for a median filter!

  8. All the complaints about commercial software having more features than open source.

    But in this case it GIMP appeared to lack a feature because it had more options!

  9. I found this site while in search of a function in Photoshop called ‘median/filter’ that would remove the differences in a set of sequential tri-pod photos allowing a monument to be seen without the people crawling all over it. Does anyone know if this very exact feature exists in my Gimp?

  10. The Despeckle filter does exactly the same as the median filter, assuming that you disable “adaptive” and “recursive” and set the black level to -1 and the white level to 256.

Trackbacks

  1. […] The original posting is from Dossy’s Blog: What is GIMP’s equivalent of Photoshop’s Median filter? […]

Speak Your Mind

*