HistogramTransform

HistogramTransform[image]

transforms pixel values of image so that its histogram is nearly flat.

HistogramTransform[image,dist]

modifies pixel values of image so that its histogram matches the probability density function (PDF) of the distribution dist.

HistogramTransform[image,ref]

matches the histogram of image with the histogram of the reference image ref.

HistogramTransform[{x1,x2,},]

transforms values xi.

Details

Examples

open allclose all

Basic Examples  (3)

Equalize the histogram of an image:

In[1]:=
Click for copyable input
Out[1]=

Match histograms of two color images:

In[1]:=
Click for copyable input
Out[1]=

Match the image histogram with a reference image:

In[1]:=
Click for copyable input
Out[1]=

Scope  (6)

Applications  (6)

See Also

Histogram  BinCounts  ImageHistogram  ImageLevels  ColorToneMapping  ImageAdjust  ColorBalance  HistogramTransformInterpolation  Quantile  PDF  UniformDistribution  HistogramDistribution  TransformedDistribution  ImageRestyle

Introduced in 2012
(9.0)
| Updated in 2014
(10.0)