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 .

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (4)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]=

Make the pixel values follow a normal distribution:

In[1]:=
Click for copyable input
Out[1]=
Out[1]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »