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.

Inputs🔗

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

Outputs🔗

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

  • cumulativeDistribution: Cumulative distribution of the histogram output.