Can you post your image somewhere, so I can do some tests with it? I am now working on some changes for the next release and that includes adding the method LevelColors (http://www.imagemagick.org/Usage/color_mods/#level-colors). I think this is the method you are looking for.
↧