Adjust contrast while ignoring background

Ahmed Abu Lawi <[email protected]> Wed, 5 Sep 2018 11:48:39 -0400
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
Hello,

I have some images that I’m trying to process using graphicsmagick. It’s going well so far but I’m running into a problem with the effects, at least I think I am feel free to correct me.

I have “sparse images” meaning they have a white background and a few figures on them. When I try using something like histogram equalization, or image increasing the contrast I feel like the output is being heavily skewed by the many many white pixels in the background.

Is there a way around this problem? I’ve tried making the background transparent then running these methods to no avail.

Thanks for any help!
Ahmed
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help