Mid-tone Contrast Enhancement of Photographic Images

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The visual appearance of an image can often be improved by modifying the contrast in part of the tonal range. This Demonstration lets you change the mid-tone contrast of an image by applying a function to a limited range of intensities.


The tone curve shows the relation between the original and the modified pixel values.

The target range for the contrast change is marked by the shaded zone in the tone curve. You can set this range by choosing its midpoint and width with the sliders. Setting the number of interpolation points and the interpolation order defines the smoothness of the contrast transitions.


Contributed by: Erik Mahieu (January 2013)
Open content licensed under CC BY-NC-SA



Snapshots 1 and 3: subtle adjustments can be used to improve the picture

Snapshot 4: extreme adjustment creates a totally new kind of picture

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.