Contrast is a fundamentally simple image adjustment. Increasing contrast pushes color values away from gray, while reducing contrast pushes color values toward gray. This sample project demonstrates a simple lookup-table based approach that produces fast, excellent results.
Download source code and sample app from GitHub