adjusts the levels in image, rescaling them to cover the range 0 to 1.


adjusts the image according to the correction specification corr.


first rescales so that the range of input values inmin to inmax is mapped to 0 to 1.


rescales so that the range of input values inmin to inmax is mapped to outmin to outmax.


  • ImageAdjust can be used for adjusting pixel values so that more of the image content is in the visible range or to correct for bad illumination or contrast.
  • ImageAdjust works with arbitrary 2D and 3D images.
  • Correction corr for contrast, brightness and gamma correction can take any of the following settings:
  • cadjusts the image contrast by c
    {c,b}also adjusts the image brightness by b
    {c,b,γ}also performs a gamma correction by raising the values to the power of γ
  • Zero adjustment corresponds to contrast adjustment , brightness adjustment , gamma correction .
  • 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.
  • Range parameters can be set to Automatic to indicate the minimum or maximum of the values that occur in the image.
  • When applied to color images, ImageAdjust always returns an RGB image.


open all close all

Basic Examples  (2)

Auto adjust values of a color image:

Click for copyable input

Perform a gamma correction

Click for copyable input

Scope  (4)

Applications  (4)

Properties & Relations  (4)

Possible Issues  (2)

Introduced in 2008
Updated in 2012