Is it possible to enhance image contrast?

BlitzMax Forums/BlitzMax Programming/Is it possible to enhance image contrast?

Canali(Posted 2010) [#1]
Hello.
I would like to be able to enhance the image buffer contrast level before calling the flip() function.
I saw many people managed to obtain good desaturation filters so hoped someone could explain me how to enhance contrast.

Thanks

For instance, I would like something like this:
http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipexcontrast.html

BTW forgive my poor englis but I'm italian :D