This is documentation for Mathematica 7, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ImageAdjust

ImageAdjust[image]
adjusts the levels in image, rescaling them to cover the range 0 to 1.
ImageAdjust[image, c]
adjusts the contrast of image by an amount c.
ImageAdjust[image, {c, b}]
adjusts the contrast by an amount c and the brightness by an amount b.
ImageAdjust[image, {c, b, Gamma}]
also performs a gamma correction by raising values to the power Gamma.
ImageAdjust[image, corr, {inmin, inmax}]
first rescales so that the range of input values inmin to inmax is mapped to 0 to 1.
ImageAdjust[image, corr, {inmin, inmax}, {outmin, outmax}]
rescales so that the range of input values inmin to inmax is mapped to outmin to outmax.
  • ImageAdjust works with images involving any number of channels.
  • Zero adjustment corresponds to contrast adjustment 0, brightness adjustment 0, and gamma correction 1.
  • When rescaled values lie outside the range outmin to outmax, they are clipped.
  • All correction and range parameters can be given as lists to specify different treatment for different channels in the image.
Increase the contrast and reduce the brightness of an image:
Perform a gamma correction:
Adjust the input range:
Increase the contrast and reduce the brightness of an image:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
 
Perform a gamma correction:
In[1]:=
Click for copyable input
Out[1]=
 
Adjust the input range:
In[1]:=
Click for copyable input
Out[1]=
Interactively adjust the contrast, brightness and gamma of a photo:
New in 7