I need to be able to do very specific stuff like :

-inside the selection, select pixels that have a color saturation above a treshold X, 
-then replace those pixels with the average pixel that have a color saturation below threshold X in a radius of Y

Basically this removes colors on a gray background. Do you know if it's possible to program such a filter in photoshop ? Or maybe there is an existing filter that does that ?

  • Yes its possible.
    – joojaa
    Apr 26 '16 at 11:25

Here's a list of free plugin about color correction, maybe you will find what you want :


I know it's easier using the GIMP beceause of the scripting console, but it requires programmation skills. Also check this website later* if you are interested in creating your own script :


*it seems the website is down for the moment


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.