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 symbolic 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  (4)

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]=

Equalize the histogram of a 3D image:

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

Scope  (5)

Applications  (5)

Neat Examples  (1)

See Also

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

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