Equalize histogram🔗

Equalizes a histogram by making the gray level distribution as uniform as possible. An image can be equalized by connecting the image and cumulativeDistribution output of this tool to map gray levels.


  • histogram: Histogram vector of size 1-by-N or N-by-1.


  • histogram: Equalized histogram. The sum of all entries equals the sum of entries of the input histogram.

  • cumulativeDistribution: Cumulative distribution of the histogram output.